Apicula: add GWINR-18 aliases

This commit is contained in:
Pepijn de Vos 2024-08-22 16:02:41 +02:00
parent c5416f1680
commit 4400fbb966
1 changed files with 4 additions and 0 deletions

View File

@ -35,6 +35,10 @@ class GowinApiculaToolchain(YosysNextPNRToolchain):
devicename = "GW1NS-4" devicename = "GW1NS-4"
elif devicename == "GW1NR-4C" or devicename == "GW1NR-4": elif devicename == "GW1NR-4C" or devicename == "GW1NR-4":
devicename = "GW1N-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}" + \ pnr_opts = "--write {top}_routed.json --top {top} --device {device}" + \
" --vopt family={devicename} --vopt cst={top}.cst" " --vopt family={devicename} --vopt cst={top}.cst"