stz.ss 1.33 KB

module = stz
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/adder32b.v
read -f verilog ../src/stzoffseti.v
read -f verilog ../src/stz.v

current_design = stz

set_dont_touch stzoffseti

link 

check_design > stz.lint

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

set_load 0.30 all_outputs()
set_output_delay 13.0 -clock gclk all_outputs()

compile -map_effort high -ungroup_all

report -reference
report_constraint -all_violators

include "stz.tmg"
include "report.dc"

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

quit