Simulating Netlist in Modelsim

Status
Not open for further replies.

javierh.santiago

Junior Member level 2
Joined
Dec 4, 2017
Messages
24
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
225
Greetings,

I generated a netlist using design Compiler and now I would like to test it in Modelsim by means of a TB. However, when I am running the netlist, the tool can not find the gates (AND, OR, FFs, etc), how can I specify them in order to see the waveforms in modelsim?

I am working with Verilog.


Regards,
Francisco
 
Last edited:

on the vsim command line add the simulation libraries with the -L <library_name> option.
If you don't already have a compiled simulation library then you'll need to compile the vendors simulation library code into the library using vlog (if library is in Verilog).
 

Expanding on what #2 said, you can do the following.

vsim -f ${path_2_vsim_args.txt} module2simulate

the vsim_arg file can be
-L library1 \
-L library2 \


Therefore you should be able to pull in the library components/models in your simulation.
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…