File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -131,11 +131,19 @@ proc write_ioi_ppips_db {filename tile} {
131
131
132
132
foreach pip [get_pips -of_objects $tile ] {
133
133
set dst_wire [get_wires -downhill -of_objects $pip ]
134
+ set nodes [get_nodes -of_objects $dst_wire ]
135
+ set uphill_pips [get_pips -uphill -of_objects $nodes ]
136
+
134
137
if [string match " *DATAOUT*" $dst_wire ] {
135
138
continue
136
- } elseif {[get_pips -uphill -of_objects [get_nodes -of_objects $dst_wire ]] == $pip } {
139
+ } elseif {$uphill_pips == $pip } {
140
+ # if there is only one uphill pip, then output always
137
141
set src_wire [get_wires -uphill -of_objects $pip ]
138
142
puts $fp " ${tile_type} .[ regsub {.*/} $dst_wire ""] .[ regsub {.*/} $src_wire ""] always"
143
+ } elseif {[lsearch -exact $uphill_pips $pip ]} {
144
+ # if there are multiple uphill pips, output a hint
145
+ set src_wire [get_wires -uphill -of_objects $pip ]
146
+ puts $fp " ${tile_type} .[ regsub {.*/} $dst_wire ""] .[ regsub {.*/} $src_wire ""] hint"
139
147
}
140
148
}
141
149
You can’t perform that action at this time.
0 commit comments