synopsys.scr
2.19 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
62
63
64
65
66
67
68
69
70
71
/*----------------------------------------------------------------------
--
-- Copyright (c) 2002 CAST, inc.
--
-- Please review the terms of the license agreement before using this
-- file. If you are not an authorized user, please destroy this source
-- code file and notify CAST immediately that you inadvertently received
-- an unauthorized copy.
------------------------------------------------------------------------
--
-- Project : KEXP
--
-- Description : Key Expander
--
-- File : synopsys.scr
--
-- Purpose : Sample Synopsys synthesis script
--
-- Designer : NS
--
-- QA Engineer : JH
--
-- Creation Date : 24-July-2002
--
-- Last Update : 24-July-2002
--
-- Version : 1.0
--
------------------------------------------------------------------------*/
read -format verilog ../src/ctrl.v
read -format verilog ../src/sbox.v
read -format verilog ../src/keysched.v
read -format verilog ../src/mem8.v
read -format verilog ../src/mixcol.v
read -format verilog ../src/kexp.v
read -format verilog ../src/kexp_d.v
create_clock -name "clk" -period 20 -waveform {"0" "10"} {"clk"}
set_dont_touch_network find(clock, "clk")
set_dont_touch_network find(port, "rstn")
set_input_delay -clock clk -max -rise 1.5 all_inputs() - find(port, "clk") - find(port, "rstn")
set_input_delay -clock clk -max -fall 1.5 all_inputs() - find(port, "clk") - find(port, "rstn")
set_input_delay -clock clk -min -rise 1.5 all_inputs() - find(port, "clk") - find(port, "rstn")
set_input_delay -clock clk -min -fall 1.5 all_inputs() - find(port, "clk") - find(port, "rstn")
set_output_delay -clock clk -max -rise 2 all_outputs()
set_output_delay -clock clk -max -fall 2 all_outputs()
set_output_delay -clock clk -min -rise 2 all_outputs()
set_output_delay -clock clk -min -fall 2 all_outputs()
set_max_area 0
uniquify
compile -map_effort medium
report_area
report_timing -path full -delay max -max_paths 1 -nworst 1
write -format db -hierarchy -output kexp_d.db
compile -map_effort medium
report_timing -path full -delay max -max_paths 1 -nworst 1 > report.rep
report_area >> report.rep
report_cell >> report.rep
write -format db -hierarchy -output kexp_d.db
write -format edif -output kexp_d.edf