From 57915db746d08cd31a282ab92f090c437571bd07 Mon Sep 17 00:00:00 2001 From: Jan Kowalewski Date: Wed, 3 Feb 2021 14:36:41 +0100 Subject: [PATCH] build/xilinx: add xc7a200t-sbg484-1 to symbiflow toolchain Signed-off-by: Jan Kowalewski --- litex/build/xilinx/symbiflow.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/litex/build/xilinx/symbiflow.py b/litex/build/xilinx/symbiflow.py index 75d7c9d48..0a3cef279 100644 --- a/litex/build/xilinx/symbiflow.py +++ b/litex/build/xilinx/symbiflow.py @@ -110,20 +110,24 @@ class SymbiflowToolchain: # FIXME: fine for now since only a few devices are supported, do more clever device re-mapping. "xc7a35ticsg324-1L" : "xc7a50t_test", "xc7a100tcsg324-1" : "xc7a100t_test", + "xc7a200t-sbg484-1" : "xc7a200t_test", }[platform.device] except KeyError: raise ValueError(f"symbiflow_device is not specified") if not self.bitstream_device: try: + arch = re.match('xc7a[0-9]*t', platform.device).group(0) self.bitstream_device = { - "xc7a": "artix7" - }[platform.device[:4]] + "xc7a35t": "artix7", + "xc7a200t": "artix7_200t" + }[arch] except KeyError: raise ValueError(f"Unsupported device: {platform.device}") # FIXME: prjxray-db doesn't have xc7a35ticsg324-1L - use closest replacement self._partname = { "xc7a35ticsg324-1L" : "xc7a35tcsg324-1", "xc7a100tcsg324-1" : "xc7a100tcsg324-1", + "xc7a200t-sbg484-1" : "xc7a200tsbg484-1", }.get(platform.device, platform.device) def _generate_makefile(self, platform, build_name):