mirror of
https://github.com/myhdl/myhdl.git
synced 2024-12-14 07:44:38 +08:00
14 lines
559 B
Plaintext
14 lines
559 B
Plaintext
|
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'
|
||
|
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 module
|
||
|
path.
|
||
|
|
||
|
For cosimulation with MyHDL, 'vvp' should be run with the 'myhdl.vpi'
|
||
|
PLI module, and the Verilog code should contain the appropriate task
|
||
|
calls '$to_myhdl' and 'from_myhdl'.
|
||
|
|
||
|
The 'myhdl.vpi' module was developed and verified with Icarus 0.7.
|