ls.ss
1.13 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
/* 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 clk -period 15.0 -waveform {0 7.5}; \
set_input_delay 4.0 -clock clk all_inputs(); \
set_output_delay 2.0 -clock clk all_outputs(); \
set_input_delay 7 clk ; \
set_clock_skew -uncertainty 1 clk; \
fix_hold clk; \
dont_touch_network clk; \
set_drive 0 {clk}; \
set_load 1 all_outputs();"
/* setup the search path for includes */
search_path = search_path + "../../inc"
/* read the verilog sources */
read -f verilog ../src/ls.v
read -f edif lsctl.edf
read -f edif lsdp.edf
current_design = ls
set_default_operating_conditions
set_default_timing_constraints
set_max_transition 1.00 current_design;
set_max_fanout 10 current_design;
include ls.con
link
check_design > ls.lint
ungroup -flatten lsctl
ungroup -flatten lsdp
/*
compile -map_effort high
*/
report -reference
report_constraint -all_violators
report_timing -path full -delay max -max_paths 50;
write -f edif -o ls.edf -hier ls
write -f verilog -o ls.vsyn -hier ls
quit