aboutsummaryrefslogtreecommitdiffstats
path: root/backends/simplec/test00.sh
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2017-05-12 14:13:33 +0200
committerClifford Wolf <clifford@clifford.at>2017-05-12 14:13:33 +0200
commitbd4ed19887dbf373ccb03815457b883a7289418a (patch)
tree682f98c32f3ea8160b59511195e2639887e383b5 /backends/simplec/test00.sh
parent241dc7dfb4084134ed1e8d5d995cce60764b3dfc (diff)
downloadyosys-bd4ed19887dbf373ccb03815457b883a7289418a.tar.gz
yosys-bd4ed19887dbf373ccb03815457b883a7289418a.tar.bz2
yosys-bd4ed19887dbf373ccb03815457b883a7289418a.zip
Add first draft of simple C back-end
Diffstat (limited to 'backends/simplec/test00.sh')
-rw-r--r--backends/simplec/test00.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/backends/simplec/test00.sh b/backends/simplec/test00.sh
new file mode 100644
index 000000000..6a7560da0
--- /dev/null
+++ b/backends/simplec/test00.sh
@@ -0,0 +1,5 @@
+#!/bin/bash
+set -ex
+../../yosys -p 'synth -top test; write_simplec -i8 test00_uut.c' test00_uut.v
+clang -o test00_tb test00_tb.c
+./test00_tb