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>
This commit is contained in:
YRabbit 2022-08-25 11:52:29 +10:00
parent 0f4166fedb
commit e0539f0ed7

View File

@ -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), 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)); package_name.c_str(this), speed_id.c_str(this));
device = device_id.str(this);
// setup db // setup db
// add global VCC and GND bels // add global VCC and GND bels
addBel(id_GND, id_GND, Loc(0, 0, BelZ::gnd_0_z), true); addBel(id_GND, id_GND, Loc(0, 0, BelZ::gnd_0_z), true);