aboutsummaryrefslogtreecommitdiffstats
path: root/tests/openmsp430/run-synth.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/openmsp430/run-synth.sh')
-rw-r--r--tests/openmsp430/run-synth.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/openmsp430/run-synth.sh b/tests/openmsp430/run-synth.sh
new file mode 100644
index 000000000..e4d6bc720
--- /dev/null
+++ b/tests/openmsp430/run-synth.sh
@@ -0,0 +1,3 @@
+#!/bin/bash
+time ../../yosys -b "verilog -noexpr" -o synth.v -tl synth.log -s run-synth.ys \
+ rtl/omsp_*.v rtl/openMSP430.v 2>&1 | egrep '^\[[0-9.]+\] (ERROR|-- |[0-9]+\.)'