aboutsummaryrefslogtreecommitdiffstats
path: root/fpga_interchange/fpga_interchange.cpp
diff options
context:
space:
mode:
authorgatecat <gatecat@ds0.me>2021-04-20 11:33:51 +0100
committerGitHub <noreply@github.com>2021-04-20 11:33:51 +0100
commit95698827b876c5afa368ed8746d155d68a8b6bbf (patch)
tree2af311119f6ff54222020691248d0509ccd9ad69 /fpga_interchange/fpga_interchange.cpp
parent6fbefb8f1388dbb2bfe059624f7cb76ee9a81c5e (diff)
parent0e6955a08dabf744cb57e6c440ff3ab62fd2a507 (diff)
downloadnextpnr-95698827b876c5afa368ed8746d155d68a8b6bbf.tar.gz
nextpnr-95698827b876c5afa368ed8746d155d68a8b6bbf.tar.bz2
nextpnr-95698827b876c5afa368ed8746d155d68a8b6bbf.zip
Merge pull request #682 from YosysHQ/gatecat/default-cellpins
interchange: Handle missing/disconnected cell pins
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);
}
}