Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Simulating Netlist in Modelsim

Status
Not open for further replies.

javierh.santiago

Junior Member level 2
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.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top