From e0539f0ed77b0dd9400f3947fcd2dbf1b5b78ae0 Mon Sep 17 00:00:00 2001 From: YRabbit Date: Thu, 25 Aug 2022 11:52:29 +1000 Subject: gowin: BUGFIX. Really memorize the chip When it really needed to distinguish between the chips, this unforgivable error was discovered :) Signed-off-by: YRabbit --- gowin/arch.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gowin') 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); -- cgit v1.2.3