From 4400fbb9668f28a38ccaa676bf60193720e31d71 Mon Sep 17 00:00:00 2001 From: Pepijn de Vos Date: Thu, 22 Aug 2024 16:02:41 +0200 Subject: [PATCH] Apicula: add GWINR-18 aliases --- litex/build/gowin/apicula.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/litex/build/gowin/apicula.py b/litex/build/gowin/apicula.py index 9a9f393c5..7b631ba52 100644 --- a/litex/build/gowin/apicula.py +++ b/litex/build/gowin/apicula.py @@ -35,6 +35,10 @@ class GowinApiculaToolchain(YosysNextPNRToolchain): devicename = "GW1NS-4" elif devicename == "GW1NR-4C" or devicename == "GW1NR-4": devicename = "GW1N-4" + elif devicename == "GW2AR-18C": + devicename = "GW2A-18C" + elif devicename == "GW2AR-18": + devicename = "GW2A-18" pnr_opts = "--write {top}_routed.json --top {top} --device {device}" + \ " --vopt family={devicename} --vopt cst={top}.cst"