Skip to content

Commit 718d378

Browse files
authored
Merge pull request #2164 from Pinata-Consulting/synth-check-nice-name
mock-alu: add a check in .sdc that output register can be found
2 parents d555e36 + 576ca7e commit 718d378

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

flow/designs/asap7/mock-alu/constraints.sdc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,9 @@ set non_clock_inputs [lsearch -inline -all -not -exact [all_inputs] $clk_port]
1111

1212
set_input_delay [expr $clk_period * 0.7] -clock $clk_name $non_clock_inputs
1313
set_output_delay [expr $clk_period * $clk_io_pct] -clock $clk_name [all_outputs]
14+
15+
set output_regs [get_cells *io_out_REG*]
16+
if {[llength $output_regs] == 0} {
17+
puts "ERROR: Could not find *io_out_REG*"
18+
exit 1
19+
}

0 commit comments

Comments
 (0)