1
0
mirror of https://github.com/myhdl/myhdl.git synced 2025-01-24 21:52:56 +08:00
myhdl/cosimulation/cver/README.txt

24 lines
1.0 KiB
Plaintext
Raw Normal View History

2005-12-27 14:45:38 +00:00
MyHDL co-simulation relies on Unix-style interprocess communication.
To run co-simulation on Windows, compile and use all tools involved
(including Python itself) on a Unix-like environment for Windows, such
as cygwin.
2008-07-21 23:21:18 +02:00
For co-simulation with cver, the following is required:
* a working cver installation
* a 'myhdl_vpi.so' file, generated from 'myhdl_vpi.c'
2004-03-02 11:11:31 +00:00
2008-07-21 23:21:18 +02:00
For Linux, a makefile 'makefile.lnx' is provided to generate 'myhdl_vpi.so'.
However, you will have to edit the makefile to point to the correct
pli include files for cver. See the makefile for instructions.
2004-03-02 11:11:31 +00:00
To test whether it works, go to the 'test' subdirectory and run the
tests with 'python test_all.py'.
2004-03-19 12:15:36 +00:00
For co-simulation with MyHDL, 'cver' should be run with the 'myhdl_vpi.so'
2004-03-02 11:11:31 +00:00
PLI module, using the '+loadvpi' option, and with the 'vpi_compat_bootstrap'
routine as the bootstrap routine. The Verilog code should contain the
appropriate calls to the '$to_myhdl' and 'from_myhdl' tasks.
2004-03-19 12:15:36 +00:00
The 'myhdl_vpi.c' module was developed and verified with cver version
2004-03-02 11:11:31 +00:00
GPLCVER_1.10f on Linux.