aboutsummaryrefslogtreecommitdiffstats
path: root/nexus
diff options
context:
space:
mode:
authorgatecat <gatecat@ds0.me>2022-02-03 21:40:30 +0000
committerGitHub <noreply@github.com>2022-02-03 21:40:30 +0000
commit5007cd3603d71f10924bb97acfe42d50d2ebcbd4 (patch)
tree743ac255e8472509434667c4df108d7c5a9d5d96 /nexus
parent84399caebe3c3eb0eba5275b7e2d5479404ba1a7 (diff)
parentd446a299871e7cf30631721f20818f7cce9ea3c0 (diff)
downloadnextpnr-5007cd3603d71f10924bb97acfe42d50d2ebcbd4.tar.gz
nextpnr-5007cd3603d71f10924bb97acfe42d50d2ebcbd4.tar.bz2
nextpnr-5007cd3603d71f10924bb97acfe42d50d2ebcbd4.zip
Merge pull request #905 from YosysHQ/gatecat/nexus-disable-dcsroute
nexus: Hotfix to disable unimplemented DCS routethru
Diffstat (limited to 'nexus')
-rw-r--r--nexus/arch.cc7
1 files changed, 6 insertions, 1 deletions
diff --git a/nexus/arch.cc b/nexus/arch.cc
index 06a901cd..d553200f 100644
--- a/nexus/arch.cc
+++ b/nexus/arch.cc
@@ -185,7 +185,12 @@ Arch::Arch(ArchArgs args) : args(args)
for (auto pip : getPipsUphill(w))
disabled_pips.insert(pip);
}
- NPNR_ASSERT(disabled_pips.size() == 4);
+ // TODO: find a better solution to disable these
+ WireId dcs_out = getWireByName(
+ IdStringList(std::array<IdString, 3>{x_ids.at(37), y_ids.at(10), id("JDCSOUT_DCS_DCSIP")}));
+ for (auto dcs_pip : getPipsUphill(dcs_out))
+ disabled_pips.insert(dcs_pip);
+ NPNR_ASSERT(disabled_pips.size() == 6);
}
}