diff options
author | gatecat <gatecat@ds0.me> | 2022-02-03 14:59:25 +0000 |
---|---|---|
committer | gatecat <gatecat@ds0.me> | 2022-02-03 14:59:25 +0000 |
commit | d446a299871e7cf30631721f20818f7cce9ea3c0 (patch) | |
tree | 141902a56d3d2ec1312f0902c7bc24377cbd047d /nexus | |
parent | 6fceac95c02b16a208dd17123dba46bc3618c1fb (diff) | |
download | nextpnr-d446a299871e7cf30631721f20818f7cce9ea3c0.tar.gz nextpnr-d446a299871e7cf30631721f20818f7cce9ea3c0.tar.bz2 nextpnr-d446a299871e7cf30631721f20818f7cce9ea3c0.zip |
nexus: Hotfix to disable unimplemented DCS routethru
Signed-off-by: gatecat <gatecat@ds0.me>
Diffstat (limited to 'nexus')
-rw-r--r-- | nexus/arch.cc | 7 |
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); } } |