aboutsummaryrefslogtreecommitdiffstats
path: root/tests/various/smtlib2_module.sh
diff options
context:
space:
mode:
authorJannis Harder <me@jix.one>2022-06-07 16:47:10 +0200
committerGitHub <noreply@github.com>2022-06-07 16:47:10 +0200
commit5f9a97d2342f1d3956f07c88c619bc88b43c8a1f (patch)
treee649a6909a65496e9cd67838aafcfbb83cc8f1de /tests/various/smtlib2_module.sh
parentfe048a48b3e9507b119def1a88a952c94ad600c7 (diff)
parent0b0123e00378fefb9efb0c586f6b8a1d33ca0063 (diff)
downloadyosys-5f9a97d2342f1d3956f07c88c619bc88b43c8a1f.tar.gz
yosys-5f9a97d2342f1d3956f07c88c619bc88b43c8a1f.tar.bz2
yosys-5f9a97d2342f1d3956f07c88c619bc88b43c8a1f.zip
Merge pull request #3319 from programmerjake/smtlib2-expr-support
add smtlib2_comb_expr
Diffstat (limited to 'tests/various/smtlib2_module.sh')
-rwxr-xr-xtests/various/smtlib2_module.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/various/smtlib2_module.sh b/tests/various/smtlib2_module.sh
new file mode 100755
index 000000000..9b2f24f9f
--- /dev/null
+++ b/tests/various/smtlib2_module.sh
@@ -0,0 +1,5 @@
+#!/bin/bash
+set -ex
+../../yosys -q -p 'read_verilog -formal smtlib2_module.v; prep; write_smt2 smtlib2_module.smt2'
+sed 's/; SMT-LIBv2 description generated by Yosys .*/; SMT-LIBv2 description generated by Yosys $VERSION/' smtlib2_module.smt2 > smtlib2_module-filtered.smt2
+diff -au smtlib2_module-expected.smt2 smtlib2_module-filtered.smt2