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.

[SOLVED] How to simulate the same verilog for different sdf files in modelSim

Status
Not open for further replies.

shivu90

Newbie level 6
Joined
Oct 6, 2010
Messages
12
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,342
Hey,

I am trying to dump vcd's for simulations of a verilog testbench with 100 SDF files. The problem is invoking the tool again and again and reading the design is redundant.
The restart command in modelsim only resets the simulation time; i want to compile a different SDF but the rtl is same. Can anybody please help me with this.

Thanks in advance
 

well script your simulation to used the 100 sdf, like:
foreach sdf_file $list_100_sdf {
setenv SDF_FILE $sdf_fil; # to used the sdf file name for differentiate the vcd, in the dump_vcd.do script
# do your simulation
vsim -sdfmax $sdf... -do dump_vcd.do;
}
 
Hey rca,

thanks for your reply.

But I am unable to generate multiple vcd files. the code that i am using is this:-

foreach sdf_file $list_sdf {
vsim -sdftyp dut=./sdf/$sdf_file.sdf boothmult_tb
vcd file $sdf_file.vcd
}
run 5000ns

and my testbench has
$dumpvars(0, boothmult_tb);

it generates empty vcd files

Can u please help me with this. Thanks in advance
 

you could used the "-do " with a script which contain the run and vcd creation.
 

Thanks. i was able to get through.

there was a $finish in my test-bench
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top