add Makefile for creating ls180.il
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 27 Sep 2020 09:31:13 +0000 (10:31 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 27 Sep 2020 09:31:13 +0000 (10:31 +0100)
src/soc/litex/florent/Makefile [new file with mode: 0644]

diff --git a/src/soc/litex/florent/Makefile b/src/soc/litex/florent/Makefile
new file mode 100644 (file)
index 0000000..48937c3
--- /dev/null
@@ -0,0 +1,9 @@
+ls180:
+       ./ls180soc.py --build --platform=ls180
+       cp build/ls180/gateware/ls180.v .
+       cp build/ls180/gateware/mem.init .
+       cp libresoc/libresoc.v .
+       yosys -p 'read_verilog ls180.v; read_verilog libresoc.v; write_ilang ls180.il'
+       yosys -p 'read_verilog ls180.v' \
+          -p 'read_verilog libresoc.v' \
+          -p 'write_ilang ls180.il'