From da6a3862337978aaf8eb1b927c81192b98611f0a Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Tue, 14 Nov 2017 05:30:00 +0100 Subject: [PATCH] Improve 013-intpips fuzzer Signed-off-by: Clifford Wolf Signed-off-by: Tim 'mithro' Ansell --- fuzzers/013-intpips/generate.tcl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/fuzzers/013-intpips/generate.tcl b/fuzzers/013-intpips/generate.tcl index 8607831b..b49e8875 100644 --- a/fuzzers/013-intpips/generate.tcl +++ b/fuzzers/013-intpips/generate.tcl @@ -32,11 +32,13 @@ proc write_txtdata {filename} { set fp [open $filename w] foreach tile [get_tiles [regsub -all {CLBL[LM]} [get_tiles -of_objects [get_sites -of_objects [get_pblocks roi]]] INT]] { puts "Dumping pips from tile $tile" - foreach pip [get_pips -of_objects $tile] { + foreach pip [get_pips -filter {IS_DIRECTIONAL} -of_objects $tile] { if {[get_nets -quiet -of_objects $pip] != {}} { set src_wire [get_wires -uphill -of_objects $pip] set dst_wire [get_wires -downhill -of_objects $pip] - puts $fp "$tile $pip $src_wire $dst_wire" + if {[llength [get_nodes -uphill -of_objects [get_nodes -of_objects $dst_wire]]] != 1} { + puts $fp "$tile $pip $src_wire $dst_wire" + } } } }