Home

Awesome

MyHDL Tools

This package provides some helpful code generators for using the MyHDL python package for Verilog Cosimulation. It is based on the Verilog HDL Support vscode package (repository link.)

Features

Testbench Instantiation

Given a verilog module, this will create a snippet for verilog testbench which can be used to bind the module to MyHDL. All nets are initialized as reg types which must be corrected based on the given module. The path of the source file may have to be changed as well.

Bind Initialization

Given a verilog module, this will create a snippet for that same module in MyHDL format which can be referred to in a MyHDL testbench.

Requirements

This package relies on Ctags for parsing. The recommended version to install is Universal Ctags

Installation of Universal Ctags

Release Notes

0.0.1

Initial release

1.0.0

Added Unittest instantiation and updated testbench and bind instantiation.

1.1.0

Added user setting to modify default iverilog myhdl.vpi path.

1.1.1

Added user setting to modify default sources path.

2.0.0

Added functionality for differentiating between input and output ports.

2.1.0

Added file creation functionality.