aboutsummaryrefslogtreecommitdiffstats
path: root/fpga_interchange/fpga_interchange.cpp
diff options
context:
space:
mode:
authorgatecat <gatecat@ds0.me>2021-04-19 10:46:35 +0100
committergatecat <gatecat@ds0.me>2021-04-19 10:46:35 +0100
commit18459a9e4c3f24122f815a898ecc2a8754072434 (patch)
treef1fc9109db23d7da94bc428c7d0b2cd5c10f5deb /fpga_interchange/fpga_interchange.cpp
parent872b3aa63d80798b55359d8671a46872814b24dd (diff)
downloadnextpnr-18459a9e4c3f24122f815a898ecc2a8754072434.tar.gz
nextpnr-18459a9e4c3f24122f815a898ecc2a8754072434.tar.bz2
nextpnr-18459a9e4c3f24122f815a898ecc2a8754072434.zip
interchange: Handle disconnected/missing cell pins
Signed-off-by: gatecat <gatecat@ds0.me>
Diffstat (limited to 'fpga_interchange/fpga_interchange.cpp')
-rw-r--r--fpga_interchange/fpga_interchange.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/fpga_interchange/fpga_interchange.cpp b/fpga_interchange/fpga_interchange.cpp
index 52d49fa2..60331382 100644
--- a/fpga_interchange/fpga_interchange.cpp
+++ b/fpga_interchange/fpga_interchange.cpp
@@ -1065,12 +1065,6 @@ ModuleReader::ModuleReader(const LogicalNetlistImpl *root,
if(iter == net_indicies.end()) {
PortKey port_key = port_connections.first;
auto port = ports[port_key.port_idx];
- if(port_key.inst_idx != -1 && port.getDir() != LogicalNetlist::Netlist::Direction::OUTPUT) {
- log_error("Cell instance %s port %s is disconnected!\n",
- root->strings.at(root->root.getInstList()[port_key.inst_idx].getName()).c_str(),
- root->strings.at(ports[port_key.port_idx].getName()).c_str()
- );
- }
disconnected_nets[net_idx] = stringf("%s.%d", root->strings.at(port.getName()).c_str(), i);
}
}