From 2e270cf28cdca16a99dd2491c2ba8e00fcf7812d Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Thu, 9 Apr 2020 23:08:59 +0200 Subject: [PATCH] platforms/versa_ecp5: remove Lattice Programmer (no longer used since we can now use OpenOCD). --- litex/boards/platforms/versa_ecp5.py | 55 ---------------------------- 1 file changed, 55 deletions(-) diff --git a/litex/boards/platforms/versa_ecp5.py b/litex/boards/platforms/versa_ecp5.py index 1725c196..e3b40b41 100644 --- a/litex/boards/platforms/versa_ecp5.py +++ b/litex/boards/platforms/versa_ecp5.py @@ -233,58 +233,3 @@ class Platform(LatticePlatform): self.add_period_constraint(self.lookup_request("eth_clocks", 1).rx, 1e9/125e6) except ConstraintError: pass - - def create_programmer(self, with_ispclock=True): - _xcf_ispclock = """ - - - 2 - Lattice - ispCLOCK - ispPAC-CLK5406D - 0x00191043 - Erase,Program,Verify - - 8 - 11111111 - 1 - 0 - - -""" - - _xcf_template = """ - - - - - - JTAG - - - 1 - Lattice - ECP5UM5G - LFE5UM5G-45F - 0x81112043 - {{bitstream_file}} - Fast Program - {ispclock} - - - SEQUENTIAL - ENTIRED CHAIN - No Override - TLR - TLR - - - - USB2 - FTUSB-0 - LATTICE ECP5_5G VERSA BOARD A Location 0000 Serial Lattice ECP5_5G VERSA Board A - - -""".format(ispclock=_xcf_ispclock if with_ispclock else "") - - return LatticeProgrammer(_xcf_template) -- 2.30.2