summaryrefslogtreecommitdiffstats
path: root/scripts/simple_bip.sh
diff options
context:
space:
mode:
authorBaruch Sterin <baruchs@gmail.com>2011-10-24 15:21:08 -0700
committerBaruch Sterin <baruchs@gmail.com>2011-10-24 15:21:08 -0700
commita6d6a40ff371654b0db2ad31854dfeb2abfb4123 (patch)
tree44e3d259d5c5fbcd4f5d4b1c7c6b8e68c974fa49 /scripts/simple_bip.sh
parent89ac9abe7510e2f4440835160f6329c7371a4ec3 (diff)
downloadabc-a6d6a40ff371654b0db2ad31854dfeb2abfb4123.tar.gz
abc-a6d6a40ff371654b0db2ad31854dfeb2abfb4123.tar.bz2
abc-a6d6a40ff371654b0db2ad31854dfeb2abfb4123.zip
pyabc: add additional scripts for HWMCC11 competition
Diffstat (limited to 'scripts/simple_bip.sh')
-rw-r--r--scripts/simple_bip.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/scripts/simple_bip.sh b/scripts/simple_bip.sh
new file mode 100644
index 00000000..121bb281
--- /dev/null
+++ b/scripts/simple_bip.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_bip_aiger $*"