diff options
author | YRabbit <rabbit@yrabbit.cyou> | 2022-08-25 11:52:29 +1000 |
---|---|---|
committer | YRabbit <rabbit@yrabbit.cyou> | 2022-08-25 11:52:29 +1000 |
commit | e0539f0ed77b0dd9400f3947fcd2dbf1b5b78ae0 (patch) | |
tree | 5e05477917dc0359b04c3935f539b68b26949a08 /gowin | |
parent | 0f4166fedbdba037256f25d0fa692f0487aa43f1 (diff) | |
download | nextpnr-e0539f0ed77b0dd9400f3947fcd2dbf1b5b78ae0.tar.gz nextpnr-e0539f0ed77b0dd9400f3947fcd2dbf1b5b78ae0.tar.bz2 nextpnr-e0539f0ed77b0dd9400f3947fcd2dbf1b5b78ae0.zip |
gowin: BUGFIX. Really memorize the chip
When it really needed to distinguish between the chips, this
unforgivable error was discovered :)
Signed-off-by: YRabbit <rabbit@yrabbit.cyou>
Diffstat (limited to 'gowin')
-rw-r--r-- | gowin/arch.cc | 2 |
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); |