Skip to content

Commit 8b5ee4b

Browse files
committed
sdc: fix invalid start point for path
Signed-off-by: Øyvind Harboe <[email protected]>
1 parent f99cbd6 commit 8b5ee4b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

flow/platforms/asap7/constraints.sdc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,15 +70,14 @@ set clk_port [get_ports $clk_port_name]
7070
create_clock -period $clk_period -waveform [list 0 [expr $clk_period / 2]] -name $clk_name $clk_port
7171

7272
set non_clk_inputs [all_inputs -no_clocks]
73-
set all_register_outputs [get_pins -of_objects [all_registers] -filter {direction == output}]
7473

7574
# Optimization targets: overconstrain by default and
7675
# leave refinements to a more design specific constraints.sdc file.
7776
#
7877
# Minimum time for io-io, io-reg, reg-io paths in macro is on
7978
# the order of 80ps for a small macro on ASAP7.
8079
set_max_delay [expr { [info exists in2reg_max] ? $in2reg_max : 80 }] -from $non_clk_inputs -to [all_registers]
81-
set_max_delay [expr { [info exists reg2out_max] ? $reg2out_max : 80 }] -from $all_register_outputs -to [all_outputs]
80+
set_max_delay [expr { [info exists reg2out_max] ? $reg2out_max : 80 }] -from [all_registers] -to [all_outputs]
8281
set_max_delay [expr { [info exists in2out_max] ? $in2out_max : 80 }] -from $non_clk_inputs -to [all_outputs]
8382

8483
# This allows us to view the different groups

0 commit comments

Comments
 (0)