From 8f35f191eb57e0cdd4a88e9797d17c2b844254c3 Mon Sep 17 00:00:00 2001 From: tangxifan Date: Sat, 21 Mar 2020 11:42:00 -0600 Subject: [PATCH] use the formalized function in FPGA-SDC to identify direct connection --- openfpga/src/fpga_sdc/pnr_sdc_routing_writer.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/openfpga/src/fpga_sdc/pnr_sdc_routing_writer.cpp b/openfpga/src/fpga_sdc/pnr_sdc_routing_writer.cpp index 43572244c..dd0914d14 100644 --- a/openfpga/src/fpga_sdc/pnr_sdc_routing_writer.cpp +++ b/openfpga/src/fpga_sdc/pnr_sdc_routing_writer.cpp @@ -244,8 +244,7 @@ void print_pnr_sdc_constrain_cb_mux_timing(std::fstream& fp, * Note: this MUST BE reconsidered if we do have OPIN connected to IPINs * through a programmable multiplexer!!! */ - if ( (1 == input_rr_nodes.size()) - && (OPIN == rr_graph.node_type(input_rr_nodes[0])) ) { + if (true == is_ipin_direct_connected_opin(rr_graph, output_rr_node)) { return; }