st.ss
1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
/* 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