File tree Expand file tree Collapse file tree 2 files changed +20
-0
lines changed
Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,14 @@ export DESIGN_NICKNAME = ibex
44export DESIGN_NAME = ibex_core
55
66export VERILOG_FILES = $(sort $(wildcard $(DESIGN_HOME ) /src/$(DESIGN_NICKNAME ) /* .v) )
7+
8+ # if FLOW_VARIANT == pos_slack, use an SDC file that has a larger clock
9+ # resulting in positive slack
10+ ifeq ($(FLOW_VARIANT ) ,pos_slack)
11+ export SDC_FILE = $(DESIGN_HOME ) /$(PLATFORM ) /$(DESIGN_NICKNAME ) /constraint_pos_slack.sdc
12+ else
713export SDC_FILE = $(DESIGN_HOME ) /$(PLATFORM ) /$(DESIGN_NICKNAME ) /constraint.sdc
14+ endif
815
916export CORE_UTILIZATION = 40
1017export CORE_ASPECT_RATIO = 1
Original file line number Diff line number Diff line change 1+ set clk_name core_clock
2+ set clk_port_name clk_i
3+ set clk_period 1468
4+ set clk_io_pct 0.2
5+
6+ set clk_port [get_ports $clk_port_name ]
7+
8+ create_clock -name $clk_name -period $clk_period $clk_port
9+
10+ set non_clock_inputs [lsearch -inline -all -not -exact [all_inputs] $clk_port ]
11+
12+ set_input_delay [expr $clk_period * $clk_io_pct ] -clock $clk_name $non_clock_inputs
13+ 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