From 827081b3b52c04b7c2cd7b556d4d307e3800924a Mon Sep 17 00:00:00 2001 From: Alessandro Comodi Date: Mon, 4 Nov 2019 11:02:52 +0100 Subject: [PATCH] hlck-ioi: fix empty list bug in generate.tcl Signed-off-by: Alessandro Comodi --- fuzzers/047a-hclk-idelayctrl-pips/generate.tcl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/fuzzers/047a-hclk-idelayctrl-pips/generate.tcl b/fuzzers/047a-hclk-idelayctrl-pips/generate.tcl index cc758a2f..edf1494f 100644 --- a/fuzzers/047a-hclk-idelayctrl-pips/generate.tcl +++ b/fuzzers/047a-hclk-idelayctrl-pips/generate.tcl @@ -164,6 +164,11 @@ proc route_todo {} { lappend todos $src_wire } + set todos_length [llength $todos] + if {$todos_length == 0} { + continue + } + puts "All todos for $tile_type / $wire" foreach src_wire $todos { puts " - $src_wire"