1
0
mirror of https://github.com/YosysHQ/nextpnr.git synced 2026-04-17 16:44:36 +00:00

allow LFD2NX devices to be specified with --device (#1353)

This commit is contained in:
Christian Fibich
2024-08-21 12:36:23 +02:00
committed by GitHub
parent 32e2d9223c
commit 2dc712130c

View File

@@ -48,7 +48,7 @@ void IdString::initialize_arch(const BaseCtx *ctx)
Arch::Arch(ArchArgs args) : args(args)
{
// Parse device string
if (boost::starts_with(args.device, "LIFCL")) {
if (boost::starts_with(args.device, "LIFCL") || boost::starts_with(args.device, "LFD2NX")) {
family = "LIFCL";
} else {
log_error("Unknown device string '%s' (expected device name like 'LIFCL-40-8SG72C')\n", args.device.c_str());