File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -211,7 +211,6 @@ void FasmWriterVisitor::check_features(t_metadata_dict *meta) const {
211
211
void FasmWriterVisitor::visit_all_impl (const t_pb_routes &pb_route, const t_pb* pb,
212
212
const t_pb_graph_node* pb_graph_node) {
213
213
clb_prefix_ = build_clb_prefix (pb, pb_graph_node);
214
- std::cerr << " CLB prefix: " << clb_prefix_ << std::endl;
215
214
216
215
if (pb_graph_node && pb) {
217
216
t_pb_type *pb_type = pb_graph_node->pb_type ;
@@ -245,6 +244,19 @@ void FasmWriterVisitor::visit_all_impl(const t_pb_routes &pb_route, const t_pb*
245
244
}
246
245
port_index += 1 ;
247
246
}
247
+
248
+ port_index = 0 ;
249
+ for (int i = 0 ; i < pb_type->num_ports ; i++) {
250
+ if (!pb_type->ports [i].is_clock || pb_type->ports [i].type != IN_PORT) {
251
+ continue ;
252
+ }
253
+ for (int j = 0 ; j < pb_type->ports [i].num_pins ; j++) {
254
+ int inode = pb->pb_graph_node ->clock_pins [port_index][j].pin_count_in_cluster ;
255
+ check_interconnect (pb_route, inode);
256
+ }
257
+ port_index += 1 ;
258
+ }
259
+
248
260
port_index = 0 ;
249
261
for (int i = 0 ; i < pb_type->num_ports ; i++) {
250
262
if (pb_type->ports [i].type != OUT_PORT) {
You can’t perform that action at this time.
0 commit comments