User Tools

Site Tools


doing_a_timing-driven_simulation_--_works_on_mint.eecg_6_april_2014

Works for Cyclone II, LegUp 3.0, running on mint.eecg

Say in the chstone/mips directory:

make
make v
make p
make f
quartus_eda –format=verilog –glitch_filtering=on –read_settings_files=on –write_settings_files=on –simulation=on –tool=modelsim top
cd simulation/modelsim
cp /janders/a/a0/web/nazanin/tb.v .
vlib work
vlog ~choijon5/altera/10.1/quartus/eda/sim_lib/cycloneii_atoms.v note that this directory will need to be adjust if using Virtual Box
vlog top.vo tb.v
vsim +transport_int_delays +transport_path_delays work.main_tb -voptargs=“+acc” -c
Then, at the ModelSim command line type: run 7000000000000000ns

Alternatively, if you don't want to use the ModelSim command line, at the last vsim, you can add in: -do “run 7000000000000000ns; exit;”

For the mips CHStone benchmark, timing-driven simulation takes: ~76 seconds on mint.eecg and RTL simulation takes: < 1 second.

For the motion CHStone benchmark, timing-driven simulation takes: ~118 seconds on mint.eecg and RTL simulation takes: 1 second.

doing_a_timing-driven_simulation_--_works_on_mint.eecg_6_april_2014.txt · Last modified: 2014/04/10 19:44 by janders