diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2023-03-10 15:29:59 +0100 |
---|---|---|
committer | myrtle <gatecat@ds0.me> | 2023-03-16 13:37:23 +0100 |
commit | 6eb5f2a77e23a89d0876dd041ebe5871ff6b65ce (patch) | |
tree | 5ee6a66944735872dea3569158aae12e7133cb00 /gui | |
parent | 1f115ddd320dc5e2f9c69e32ee2e40b758285f6e (diff) | |
download | nextpnr-6eb5f2a77e23a89d0876dd041ebe5871ff6b65ce.tar.gz nextpnr-6eb5f2a77e23a89d0876dd041ebe5871ff6b65ce.tar.bz2 nextpnr-6eb5f2a77e23a89d0876dd041ebe5871ff6b65ce.zip |
Enable wires and add dummy wire type for now
Diffstat (limited to 'gui')
-rw-r--r-- | gui/designwidget.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gui/designwidget.cc b/gui/designwidget.cc index bd2578de..57591bbf 100644 --- a/gui/designwidget.cc +++ b/gui/designwidget.cc @@ -318,6 +318,11 @@ void DesignWidget::newContext(Context *ctx) wireMap[std::pair<int, int>(wire.location.x, wire.location.y)].push_back(wire);
}
#endif
+#ifdef ARCH_MACHXO2
+ for (const auto &wire : ctx->getWires()) {
+ wireMap[std::pair<int, int>(wire.location.x, wire.location.y)].push_back(wire);
+ }
+#endif
#ifdef ARCH_GOWIN
for (const auto &wire : ctx->getWires()) {
WireInfo wi = ctx->wire_info(wire);
|