aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorYann Herklotz <git@yannherklotz.com>2019-12-13 20:43:52 +0000
committerYann Herklotz <git@yannherklotz.com>2019-12-13 20:43:52 +0000
commitcfa0954106632b3fbadd89786b7480b2bd4e0ab9 (patch)
treef4eb0d4a3b01463b667b10d26e12e7c450cd476a /scripts
parentb94f2528d898d6965d5fcf23a38a7df0dda7f538 (diff)
downloadverismith-cfa0954106632b3fbadd89786b7480b2bd4e0ab9.tar.gz
verismith-cfa0954106632b3fbadd89786b7480b2bd4e0ab9.zip
Add new Yosys report
Diffstat (limited to 'scripts')
-rw-r--r--scripts/filter_icarus.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/scripts/filter_icarus.sh b/scripts/filter_icarus.sh
new file mode 100644
index 0000000..6c9910a
--- /dev/null
+++ b/scripts/filter_icarus.sh
@@ -0,0 +1,15 @@
+#!/usr/bin/env bash
+
+base=$(dirname $1)
+
+current1=$(find ${base} -maxdepth 1 -mindepth 1 -name 'reduce_sim_yosys_0_8.v')
+current2=$(find ${base} -maxdepth 1 -mindepth 1 -name 'reduce_sim_yosys_0_9.v')
+current3=$(find ${base} -maxdepth 1 -mindepth 1 -name 'reduce_sim_yosys_master.v')
+current4=$(find ${base} -maxdepth 1 -mindepth 1 -name 'reduce_equiv_yosys_master.v')
+current5=$(find ${base} -maxdepth 1 -mindepth 1 -name 'reduce_equiv_yosys_0_8.v')
+current6=$(find ${base} -maxdepth 1 -mindepth 1 -name 'reduce_equiv_yosys_0_9.v')
+
+if [[ $current1 != "" ]] && [[ $current2 != "" ]] && [[ $current3 != "" ]] &&
+ [[ $current4 = "" ]] && [[ $current4 = "" ]] && [[ $current5 = "" ]]; then
+ echo $base
+fi