summaryrefslogtreecommitdiffstats
path: root/scripts/simple_sat.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/simple_sat.sh')
-rw-r--r--scripts/simple_sat.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/scripts/simple_sat.sh b/scripts/simple_sat.sh
new file mode 100644
index 00000000..3a51ada6
--- /dev/null
+++ b/scripts/simple_sat.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+abc_root()
+{
+ cwd="$(pwd)"
+ cd $(dirname "$1")
+ echo $(dirname "$(pwd)")
+ cd "${cwd}"
+}
+
+abc_dir=$(abc_root "$0")
+bin_dir="${abc_dir}"/bin
+
+exec ${bin_dir}/abc -c "/simple_sat_aiger $*"