-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Øyvind Harboe <[email protected]>
- Loading branch information
Showing
10 changed files
with
6 additions
and
213 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,24 +1,10 @@ | ||
set sdc_version 2.0 | ||
|
||
set clk_period 6500 | ||
|
||
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 1700 [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_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] | ||
|
||
# Ignore synchronous reset for now. | ||
set_false_path -from [get_ports reset] | ||
|
||
source $env(PLATFORM_DIR)/constraints.sdc |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,8 @@ | ||
set sdc_version 2.0 | ||
|
||
set clk_period 1500 | ||
|
||
set clk_period 6500 | ||
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 400 [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] | ||
source $env(PLATFORM_DIR)/constraints.sdc | ||
|
||
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] |