-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: avoid future problems in global routing when ORFS is upgraded
Signed-off-by: Øyvind Harboe <[email protected]>
- Loading branch information
Showing
2 changed files
with
4 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,5 @@ | ||
set sdc_version 2.0 | ||
|
||
set clk_period 8500 | ||
|
||
set clk_name clock | ||
set clk_name clock | ||
set clk_port_name clock | ||
set clk_in_pct 0.20 | ||
set clk_out_pct 0.2 | ||
|
||
create_clock -name $clk_name -period $clk_period -waveform [list 0 [expr $clk_period/2]] [get_ports $clk_port_name] | ||
set_clock_uncertainty 10 [get_clocks $clk_name] | ||
|
||
create_clock -name ${clk_name}_vir -period $clk_period -waveform [list 0 [expr $clk_period/2]] | ||
set_clock_uncertainty 10 [get_clocks ${clk_name}_vir] | ||
set_clock_latency 3300 [get_clocks ${clk_name}_vir] ;# Matching real clock latency | ||
|
||
set clk_port [get_ports $clk_port_name] | ||
set non_clock_inputs [lsearch -inline -all -not -exact [all_inputs] $clk_port] | ||
set clk_period 2000 | ||
|
||
set_input_delay [expr $clk_period * $clk_in_pct] -clock ${clk_name}_vir $non_clock_inputs | ||
set_output_delay [expr $clk_period * $clk_out_pct] -clock ${clk_name}_vir [all_outputs] | ||
source $env(PLATFORM_DIR)/constraints.sdc |