aboutsummaryrefslogtreecommitdiffstats
path: root/tests/various/async.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/various/async.sh')
-rw-r--r--tests/various/async.sh9
1 files changed, 7 insertions, 2 deletions
diff --git a/tests/various/async.sh b/tests/various/async.sh
index 423034eb8..7c41d6d94 100644
--- a/tests/various/async.sh
+++ b/tests/various/async.sh
@@ -1,6 +1,11 @@
#!/bin/bash
set -ex
../../yosys -q -o async_syn.v -p 'synth; rename uut syn' async.v
-iverilog -o async_sim -DTESTBENCH async.v async_syn.v
+../../yosys -q -o async_prp.v -p 'prep; rename uut prp' async.v
+../../yosys -q -o async_a2s.v -p 'prep; async2sync; rename uut a2s' async.v
+../../yosys -q -o async_ffl.v -p 'prep; clk2fflogic; rename uut ffl' async.v
+iverilog -o async_sim -DTESTBENCH async.v async_???.v
vvp -N async_sim > async.out
-rm -f async_syn.v async_sim async.out async.vcd
+tail async.out
+grep PASS async.out
+rm -f async_???.v async_sim async.out async.vcd