Re: [myhdl-list] VHDL cosimulation
Brought to you by:
jandecaluwe
From: Christopher F. <chr...@gm...> - 2012-09-27 12:20:51
|
>> This task will be involved. After a little digging it doesn't look like >> Modelsim (mti) supports VHPI. VHPI is the VHDL equivalent to Verilog's >> VPI. VHPI would be the easiest to develop VHDL cosimulation support. >> Modelsim has, what they call, FLI [1]. It should be possible to create >> a FLI dynamic library which can be the glue between MyHDL and the mti >> VHDL simulator. > > [1] > http://homepages.cae.wisc.edu/~ece554/new_website/ToolDoc/Modelsim_docs/docs/pdf/fli.pdf > > Is that where you want me to start ?? > > David > Yes, this would be the place to start. The current cosimulation setup is only supported on a "posix" system. BOMK, how it works is that the Python process opens a pipe to the simulator (mti) process. Following this same architecture a similar mti FLI interface can be generated. Looking at one of the current VPI examples (myhdl/cosimulation/modelsim/myhdl_vpi.c) is a good place to start and try to see if it can be mapped to the ModelSim VHDL FLI interface. 1. Review an existing VPI example 2. Review Modelsim FLI 3. Determine if FLI can be implemented similar to existing VPI Regards, Chris |