add ghdl yosys scripts for compiling ls180
[soc-cxxrtl-sim.git] / small_jtag_test / ls180_ghdl.ys
diff --git a/small_jtag_test/ls180_ghdl.ys b/small_jtag_test/ls180_ghdl.ys
new file mode 100644 (file)
index 0000000..f216e75
--- /dev/null
@@ -0,0 +1,6 @@
+plugin -i ghdl
+script nsxlib/ghdl.ys
+script niolib/ghdl.ys
+ghdl --std=08 ls180
+write_cxxrtl ls180_ghdl.cpp
+write_verilog ls180_ghdl.v