Skip to content

Commit 8e39819

Browse files
committed
test/orfs/ram_8x7: nits
Signed-off-by: Øyvind Harboe <[email protected]>
1 parent 4b8099c commit 8e39819

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

test/orfs/ram_8x7/constraint.sdc

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,15 @@ foreach input [all_inputs] {
2626
}
2727
}
2828

29-
set_max_delay [expr { [info exists in2out_max] ? $in2out_max : 80 }] -from $non_clk_inputs -to [all_outputs]
29+
set in2out_max [expr { [info exists in2out_max] ? $in2out_max : 80 }]
30+
set_max_delay $in2out_max -from $non_clk_inputs -to [all_outputs]
3031
group_path -name in2out -from $non_clk_inputs -to [all_outputs]
3132

3233
if { [llength [all_registers]] > 0 } {
33-
set_max_delay [expr { [info exists in2reg_max] ? $in2reg_max : 80 }] -from $non_clk_inputs -to [all_registers]
34-
set_max_delay [expr { [info exists reg2out_max] ? $reg2out_max : 80 }] -from [all_registers] -to [all_outputs]
34+
set in2reg_max [expr { [info exists in2reg_max] ? $in2reg_max : 80 }]
35+
set reg2out_max [expr { [info exists reg2out_max] ? $reg2out_max : 80 }]
36+
set_max_delay $in2reg_max -from $non_clk_inputs -to [all_registers]
37+
set_max_delay $reg2out_max -from [all_registers] -to [all_outputs]
3538

3639
group_path -name in2reg -from $non_clk_inputs -to [all_registers]
3740
group_path -name reg2out -from [all_registers] -to [all_outputs]

0 commit comments

Comments
 (0)