st.ss 1.01 KB

/* setup aliases */

alias set_default_operating_conditions "set_operating_conditions NOM -library rcp.db; \
				        set_wire_load 128000 -mode top;"
alias set_default_timing_constraints "create_clock gclk -period 16.0 -waveform {8.0 16.0}; \
				      set_input_delay 2.0 -clock gclk all_inputs(); \
				      set_output_delay 2.0 -clock gclk all_outputs(); \
				      set_max_delay 2.0 -to all_outputs(); \
				      set_max_transition 1.5 current_design; \
				      set_load 0.08 all_outputs();"

/* read the verilog sources */

read -f edif strgba.edf
read -f edif ststwl.edf
read -f edif stz.edf
read -f verilog ../src/st.v

set_dont_touch strgba
set_dont_touch ststwl
set_dont_touch stz

current_design = st

set_default_operating_conditions
set_default_timing_constraints

link 

check_design > st.lint


current_design = st
compile -map_effort low -ungroup_all -incremental_mapping

change_names -rules compass_rules -hierarchy

report -reference
report_constraint -all_violators

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

quit