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