ewaddr.ss
1.76 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
/* 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 15.0 -waveform {7.0 15.0}; \
set_input_delay 4.0 -clock gclk all_inputs(); \
set_output_delay 2.0 -clock gclk all_outputs(); \
set_max_delay 3.0 -to all_outputs(); \
set_load 0.2 all_outputs();"
/* read the verilog sources */
read -f verilog ../src/ewaddr.v
current_design = ewaddr
link
check_design > ewaddr.lint
set_default_operating_conditions
create_clock gclk -period 15.0 -waveform {7.0 15.0}
set_max_transition 1.5 current_design
set_drive 0 {gclk, reset_l}
set_dont_touch_network {gclk}
set_clock_skew -uncertainty 1 gclk
fix_hold gclk
/* inputs */
set_input_delay 2.0 -clock gclk {width_cimage[*], width_timage[*]}
set_input_delay 2.0 -clock gclk {load_cmd_image}
set_input_delay 4.0 -clock gclk {x_sc_major[*], x_minor[*]}
set_input_delay 2.0 -clock gclk {yh[*]}
set_input_delay 4.0 -clock gclk {start_mult}
set_input_delay 4.0 -clock gclk {addr_newspan}
/* driving cells */
set_driving_cell -cell dfntnb {width_cimage[*], width_timage[*]}
set_driving_cell -cell dfntnb {load_cmd_image}
set_driving_cell -cell dfntnb {x_sc_major[*], x_minor[*]}
set_driving_cell -cell dfntnb {yh[*]}
set_driving_cell -cell nr05d1 {start_mult}
set_driving_cell -cell nr04d1 {addr_newspan}
/* outputs */
set_output_delay 13.0 -clock gclk {ew_ms_addr[*]}
set_load 0.08 all_outputs()
set_load 0.90 {ew_ms_addr[*]}
set_dont_use find(cell, "ne35hd130d/*1h")
compile -map_effort high -ungroup_all
report -reference
report_constraint -all_violators
change_names -rules compass_rules -hierarchy
write -f edif -o ewaddr.edf -hier ewaddr
quit