2003-05-14 10:43:02 +00:00
|
|
|
A working Icarus installation is required, so that the commands
|
|
|
|
'iverilog' and 'vvp' are available.
|
|
|
|
|
|
|
|
Run the Makefile by typing 'make'. This should generate a 'myhdl.vpi'
|
2003-05-14 11:38:42 +00:00
|
|
|
PLI module. Install it in an appropriate location, where 'vvp' can
|
|
|
|
find it. Note that you can use the '-m' flag to vvp to specify the PLI
|
|
|
|
module path.
|
2003-05-14 10:43:02 +00:00
|
|
|
|
|
|
|
For cosimulation with MyHDL, 'vvp' should be run with the 'myhdl.vpi'
|
2003-05-14 11:38:42 +00:00
|
|
|
PLI module, and the Verilog code should contain the appropriate calls
|
|
|
|
to the '$to_myhdl' and 'from_myhdl' tasks.
|
2003-05-14 10:43:02 +00:00
|
|
|
|
|
|
|
The 'myhdl.vpi' module was developed and verified with Icarus 0.7.
|