From df447ddc871c9944e718c2a172e8653bc815f2de Mon Sep 17 00:00:00 2001 From: Hans Baier Date: Sat, 8 May 2021 08:48:39 +0700 Subject: [PATCH 1/2] QMTech XC7A35T: fix argument parser description --- litex_boards/targets/qmtech_xc7a35t.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litex_boards/targets/qmtech_xc7a35t.py b/litex_boards/targets/qmtech_xc7a35t.py index 804305e..c57e5e5 100755 --- a/litex_boards/targets/qmtech_xc7a35t.py +++ b/litex_boards/targets/qmtech_xc7a35t.py @@ -143,7 +143,7 @@ class BaseSoC(SoCCore): # Build -------------------------------------------------------------------------------------------- def main(): - parser = argparse.ArgumentParser(description="LiteX SoC on Arty A7") + parser = argparse.ArgumentParser(description="LiteX SoC on QMTech XC7A35T") parser.add_argument("--toolchain", default="vivado", help="Toolchain use to build (default: vivado)") parser.add_argument("--build", action="store_true", help="Build bitstream") parser.add_argument("--load", action="store_true", help="Load bitstream") From ddaab5317e98aeab81f352e583f7cdb5116e0e9b Mon Sep 17 00:00:00 2001 From: Hans Baier Date: Sat, 8 May 2021 18:01:01 +0700 Subject: [PATCH 2/2] qmtech_xc7a35 set symbiflow_device, needed when using symbiflow --- litex_boards/platforms/qmtech_xc7a35t.py | 1 + 1 file changed, 1 insertion(+) diff --git a/litex_boards/platforms/qmtech_xc7a35t.py b/litex_boards/platforms/qmtech_xc7a35t.py index 7fb34c5..3d3e5d4 100644 --- a/litex_boards/platforms/qmtech_xc7a35t.py +++ b/litex_boards/platforms/qmtech_xc7a35t.py @@ -167,6 +167,7 @@ class Platform(XilinxPlatform): self.add_platform_command("set_property INTERNAL_VREF 0.675 [get_iobanks 15]") self.add_platform_command("set_property CFGBVS VCCO [current_design]") self.add_platform_command("set_property CONFIG_VOLTAGE 3.3 [current_design]") + self.toolchain.symbiflow_device = device def create_programmer(self): bscan_spi = "bscan_spi_xc7a35t.bit"