boards/targets/versaecp55g_prjtrellis: simple.py example working, specific target...
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Mon, 29 Oct 2018 15:02:25 +0000 (16:02 +0100)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Mon, 29 Oct 2018 15:02:25 +0000 (16:02 +0100)
simple.py configuration tested:
python3 simple.py --cpu-type=lm32 --gateware-toolchain=prjtrellis litex.boards.platforms.versaecp55g
python3 simple.py --cpu-type=vexriscv --gateware-toolchain=prjtrellis litex.boards.platforms.versaecp55g

litex/boards/targets/versaecp55g_prjtrellis.py [deleted file]

diff --git a/litex/boards/targets/versaecp55g_prjtrellis.py b/litex/boards/targets/versaecp55g_prjtrellis.py
deleted file mode 100755 (executable)
index 47c2a58..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/usr/bin/env python3
-
-from migen import *
-
-from litex.boards.platforms import versaecp55g
-
-from litex.soc.integration.builder import *
-
-
-class BaseSoC(Module):
-    def __init__(self, platform):
-        self.clock_domains.cd_sys = ClockDomain()
-
-        # crg
-        self.comb += self.cd_sys.clk.eq(platform.request("clk100"))
-
-        # led0 (blink)
-        counter = Signal(32)
-        self.sync += counter.eq(counter + 1)
-        self.comb += platform.request("user_led", 0).eq(counter[26])
-
-        # led1 (btn)
-        self.comb += platform.request("user_led", 1).eq(platform.request("user_dip_btn", 0))
-
-def main():
-    platform = versaecp55g.Platform(toolchain="prjtrellis")
-    soc = BaseSoC(platform)
-    platform.build(soc, toolchain_path="/home/florent/dev/symbiflow/prjtrellis") # FIXME
-
-
-if __name__ == "__main__":
-    main()