Skip to content

Commit 47d4b4c

Browse files
committed
asap7: add path groups to constraints.sdc
platforms/asap7/constraints.sdc, read the comments in that file for the full story, is a shared constraints file for designs, such as mock-array, that is building a hierarchy of macros. Add path groups to this design so that the slack histogram can filter on path group. Constraints must be met for each macro in the reg2reg path group, but violations at the macro level for paths outside of the reg2reg path group may or may not be a problem higher up when the macro is used. Signed-off-by: Øyvind Harboe <[email protected]>
1 parent 476dbce commit 47d4b4c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

flow/platforms/asap7/constraints.sdc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,3 +81,11 @@ set max_delay 80
8181
set_max_delay $max_delay -from $non_clk_inputs -to [all_registers]
8282
set_max_delay $max_delay -from $all_register_outputs -to [all_outputs]
8383
set_max_delay $max_delay -from $non_clk_inputs -to [all_outputs]
84+
85+
# This allows us to view the different groups
86+
# in the histogram in the GUI and also includes these
87+
# groups in the report
88+
group_path -name in2reg -from $non_clk_inputs -to [all_registers]
89+
group_path -name reg2out -from [all_registers] -to [all_outputs]
90+
group_path -name reg2reg -from [all_registers] -to [all_registers]
91+
group_path -name in2out -from $non_clk_inputs -to [all_outputs]

0 commit comments

Comments
 (0)