User Tools

Site Tools


notes_on_doing_power_analysis_post-routing

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
notes_on_doing_power_analysis_post-routing [2012/05/21 17:42]
janders
notes_on_doing_power_analysis_post-routing [2012/05/21 17:44] (current)
janders
Line 17: Line 17:
 Here's how to generate the simulation netlist -- telling Quartus what kind of VCD file (activity file) you want: Here's how to generate the simulation netlist -- telling Quartus what kind of VCD file (activity file) you want:
  
-quartus_eda --format=verilog --glitch_filtering=on --read_settings_files=on --write_settings_files=on --simulation=on --tool=modelsim --vcd_type=all --vcd_tb_design_instance_name=/​main_tb/​top_inst top+''​quartus_eda --format=verilog --glitch_filtering=on --read_settings_files=on --write_settings_files=on --simulation=on --tool=modelsim --vcd_type=all --vcd_tb_design_instance_name=/​main_tb/​top_inst top''​
  
 Here's how to run vsim.  Note that the "​+acc"​ setting causes vsim to keep the SAME names as in the Verilog. ​ This is needed otherwise Altera'​s PowerPlay cannot match up the names from the simulation and the netlist. Here's how to run vsim.  Note that the "​+acc"​ setting causes vsim to keep the SAME names as in the Verilog. ​ This is needed otherwise Altera'​s PowerPlay cannot match up the names from the simulation and the netlist.
  
-vsim -L work -L altera_ver -L stratixiv_ver +transport_int_delays +transport_path_delays work.main_tb -voptargs="​+acc"​ -c+''​vsim -L work -L altera_ver -L stratixiv_ver +transport_int_delays +transport_path_delays work.main_tb -voptargs="​+acc"​ -c 
 +''​ 
 +Note that once vsim starts, you'll need to do something like this: 
 +''​source top_dump_all_vcd_nodes.tcl''​
  
-Here's how to run PowerPlay.+The above .tcl file is produced by quartus_eda and it tells vsim what signals you want to track in the simulation (for switching activity data).
  
-quartus_pow top --input_vcd=simulation/​modelsim/​top.vcd --read_settings_files=on --vcd_filter_glitches=on 
  
 +Here's how to run PowerPlay.
 +
 +''​quartus_pow top --input_vcd=simulation/​modelsim/​top.vcd --read_settings_files=on --vcd_filter_glitches=on
 +''​
notes_on_doing_power_analysis_post-routing.txt · Last modified: 2012/05/21 17:44 by janders