aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormyrtle <gatecat@ds0.me>2022-08-25 11:14:50 +0200
committerGitHub <noreply@github.com>2022-08-25 11:14:50 +0200
commitf1349e114f3a16ccd002e8513339e18f5be4d31b (patch)
tree5e05477917dc0359b04c3935f539b68b26949a08
parent0f4166fedbdba037256f25d0fa692f0487aa43f1 (diff)
parente0539f0ed77b0dd9400f3947fcd2dbf1b5b78ae0 (diff)
downloadnextpnr-f1349e114f3a16ccd002e8513339e18f5be4d31b.tar.gz
nextpnr-f1349e114f3a16ccd002e8513339e18f5be4d31b.tar.bz2
nextpnr-f1349e114f3a16ccd002e8513339e18f5be4d31b.zip
Merge pull request #1018 from yrabbit/bf-0
gowin: BUGFIX. Really memorize the chip
-rw-r--r--gowin/arch.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/gowin/arch.cc b/gowin/arch.cc
index b37d444c..e33a904a 100644
--- a/gowin/arch.cc
+++ b/gowin/arch.cc
@@ -1168,6 +1168,8 @@ Arch::Arch(ArchArgs args) : args(args)
log_info("Series:%s Device:%s Package:%s Speed:%s\n", family.c_str(), device_id.c_str(this),
package_name.c_str(this), speed_id.c_str(this));
+ device = device_id.str(this);
+
// setup db
// add global VCC and GND bels
addBel(id_GND, id_GND, Loc(0, 0, BelZ::gnd_0_z), true);