negreponte
Member level 4
prime power px script
I am using design analyzer to execute my synthesys script.
The execution give me two files:
the sdf file and the verilog file.
I make a random simulation in modelsim to produce the vcd file.
Then I execute via prime power an other script which reads the verilog file and vcd
file
START OF FILE
#--------------------------------------------------------------------------
#The following is a template PrimePower TCL file for the VCD/Verilog flow.
# 1. Comments are denoted with "#".
# 2. Tool default values are provided. They can be modified.
# 3. Users must replace the term "fillin" with appropriate options/values.
# 4. Refer to the man pages for detailed command information.
#--------------------------------------------------------------------------
# Set Search Path / Library : (Can be placed in .pp_synopsys.setup)
#--------------------------------------------------------------------------
# set search_path /usr/eda/libraries/tsmc013/synopsys
set target_library /usr/eda/libraries/tsmc013/synopsys/typical.db
set link_library /usr/eda/libraries/tsmc013/synopsys/typical.db
#--------------------------------------------------------------------------
# Load Design and Activity Files
#--------------------------------------------------------------------------
read_verilog -hdl_compiler /home/xxxxxx/Desktop/Synopsys_scripts/sbox1.v
#read_verilog -hdl_compiler /root/our_core/tb.v
current_design sbox
#current_design tb
link
#read_vcd -strip_path tb/mux1inst /root/our_core/mux1.vcd
#read_vcd -strip_path /root/our_core/tb.v /root/our_core/mux1.vcd
read_vcd /home/*******/Desktop/Synopsys_scripts/sbox1.vcd
#--------------------------------------------------------------------------
# Apply Default Parameters
#--------------------------------------------------------------------------
set hierarchy_separator /
set_input_transition .1 [all_inputs]
#--------------------------------------------------------------------------
# Backannotation : Uncomment the commands which apply
#--------------------------------------------------------------------------
# set_wire_load_model -name fillin
# read_parasitics wire.spef
# current_instance fillin
# source fillin
#--------------------------------------------------------------------------
# Power Analysis and Waveform Generation
#--------------------------------------------------------------------------
#set_operating_conditions fillin
set_waveform_options -interval 1 -file vcd -format fsdb
calculate_power -waveform
report_power -file vcd -threshold 0 -sortby power
#--------------------------------------------------------------------------
# report capacitance
#--------------------------------------------------------------------------
#report_wire fillin
END OF FILE
When I execute the script via primepower I Have the following warnings
The netXXX cannot be covered by vcd file(.SIM-220)
about 300 warnings
I tried to change simulation senario but I had the some problems.
When I see the cells tha they contribute in dynamic power. only the cells that they are connected in the output of the circuit give dynamic power.
Any suggestions???
I am using design analyzer to execute my synthesys script.
The execution give me two files:
the sdf file and the verilog file.
I make a random simulation in modelsim to produce the vcd file.
Then I execute via prime power an other script which reads the verilog file and vcd
file
START OF FILE
#--------------------------------------------------------------------------
#The following is a template PrimePower TCL file for the VCD/Verilog flow.
# 1. Comments are denoted with "#".
# 2. Tool default values are provided. They can be modified.
# 3. Users must replace the term "fillin" with appropriate options/values.
# 4. Refer to the man pages for detailed command information.
#--------------------------------------------------------------------------
# Set Search Path / Library : (Can be placed in .pp_synopsys.setup)
#--------------------------------------------------------------------------
# set search_path /usr/eda/libraries/tsmc013/synopsys
set target_library /usr/eda/libraries/tsmc013/synopsys/typical.db
set link_library /usr/eda/libraries/tsmc013/synopsys/typical.db
#--------------------------------------------------------------------------
# Load Design and Activity Files
#--------------------------------------------------------------------------
read_verilog -hdl_compiler /home/xxxxxx/Desktop/Synopsys_scripts/sbox1.v
#read_verilog -hdl_compiler /root/our_core/tb.v
current_design sbox
#current_design tb
link
#read_vcd -strip_path tb/mux1inst /root/our_core/mux1.vcd
#read_vcd -strip_path /root/our_core/tb.v /root/our_core/mux1.vcd
read_vcd /home/*******/Desktop/Synopsys_scripts/sbox1.vcd
#--------------------------------------------------------------------------
# Apply Default Parameters
#--------------------------------------------------------------------------
set hierarchy_separator /
set_input_transition .1 [all_inputs]
#--------------------------------------------------------------------------
# Backannotation : Uncomment the commands which apply
#--------------------------------------------------------------------------
# set_wire_load_model -name fillin
# read_parasitics wire.spef
# current_instance fillin
# source fillin
#--------------------------------------------------------------------------
# Power Analysis and Waveform Generation
#--------------------------------------------------------------------------
#set_operating_conditions fillin
set_waveform_options -interval 1 -file vcd -format fsdb
calculate_power -waveform
report_power -file vcd -threshold 0 -sortby power
#--------------------------------------------------------------------------
# report capacitance
#--------------------------------------------------------------------------
#report_wire fillin
END OF FILE
When I execute the script via primepower I Have the following warnings
The netXXX cannot be covered by vcd file(.SIM-220)
about 300 warnings
I tried to change simulation senario but I had the some problems.
When I see the cells tha they contribute in dynamic power. only the cells that they are connected in the output of the circuit give dynamic power.
Any suggestions???