ststwl.ss 1.28 KB

module = ststwl
search_path = search_path + "../src" + "../../inc" + \
   "../../../lib/verilog/user" + "../../syn"

/* setup aliases */

alias set_default_operating_conditions "set_operating_conditions NOM -library rcp.db; \
				        set_wire_load 256000 -mode top;"
alias set_default_timing_constraints "create_clock gclk -period 15.0 -waveform {0 8.0}; \
				      set_input_delay 2.0 -clock gclk all_inputs(); \
				      set_output_delay 12.0 -clock gclk all_outputs(); \
				      set_max_transition 1.0 current_design; \
				      set_load 0.06 all_outputs();"

/* read the verilog sources */

read -f verilog ../src/adder27b.v
read -f verilog ../src/ststwl.v

current_design = ststwl

link 

check_design > ststwl.lint

set_default_operating_conditions
set_default_timing_constraints
set_driving_cell -cell dfntnb {att_data_in[*]}
set_driving_cell -cell dfntnb {dx[*]}
set_driving_cell -cell dfntnb {dy[*]}
set_driving_cell -cell dfntnb {left_major}
set_driving_cell -cell dfntnb {load, ncyc}

set_load 0.30 all_outputs()
set_output_delay 13.0 -clock gclk all_outputs()
set_output_delay 11.5 -clock gclk {att_data_out}

compile -map_effort high -ungroup_all

report -reference
report_constraint -all_violators

include "ststwl.tmg"
include "report.dc"

write -f edif -o ststwl.edf -hier ststwl

quit