From d446a299871e7cf30631721f20818f7cce9ea3c0 Mon Sep 17 00:00:00 2001 From: gatecat Date: Thu, 3 Feb 2022 14:59:25 +0000 Subject: [PATCH] nexus: Hotfix to disable unimplemented DCS routethru Signed-off-by: gatecat --- nexus/arch.cc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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{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); } }