File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ export DESIGN_NICKNAME = aes
2+ export DESIGN_NAME = aes_cipher_top
3+ export PLATFORM = gt2n
4+
5+ export VERILOG_FILES = $(sort $(wildcard $(DESIGN_HOME ) /src/$(DESIGN_NICKNAME ) /* .v) )
6+ export SDC_FILE = $(DESIGN_HOME ) /$(PLATFORM ) /$(DESIGN_NICKNAME ) /constraint.sdc
7+
8+ # AES is bigger than gcd; give the floorplan more room.
9+ export CORE_UTILIZATION = 30
10+ export CORE_ASPECT_RATIO = 1
11+ export CORE_MARGIN = 2
12+ export PLACE_DENSITY_LB_ADDON = 0.20
13+
14+ export TNS_END_PERCENT = 100
15+ # workaround for high congestion in post-grt repair (matches nangate45/aes)
16+ export SKIP_INCREMENTAL_REPAIR = 1
17+
18+ export SWAP_ARITH_OPERATORS = 1
19+ export OPENROAD_HIERARCHICAL = 1
Original file line number Diff line number Diff line change 1+ current_design aes_cipher_top
2+
3+ set clk_name clk
4+ set clk_port_name clk
5+ # GT2N lib uses time_unit = 1 ps. 500 ps -> 2 GHz target; first-pass
6+ # loose, can tighten once routing is clean.
7+ set clk_period 500
8+ set clk_io_pct 0.2
9+
10+ set clk_port [get_ports $clk_port_name ]
11+
12+ create_clock -name $clk_name -period $clk_period $clk_port
13+
14+ set non_clock_inputs [all_inputs -no_clocks]
15+
16+ set_input_delay [expr $clk_period * $clk_io_pct ] -clock $clk_name $non_clock_inputs
17+ set_output_delay [expr $clk_period * $clk_io_pct ] -clock $clk_name [all_outputs]
You can’t perform that action at this time.
0 commit comments