diff options
author | Baruch Sterin <baruchs@gmail.com> | 2011-10-24 15:21:08 -0700 |
---|---|---|
committer | Baruch Sterin <baruchs@gmail.com> | 2011-10-24 15:21:08 -0700 |
commit | a6d6a40ff371654b0db2ad31854dfeb2abfb4123 (patch) | |
tree | 44e3d259d5c5fbcd4f5d4b1c7c6b8e68c974fa49 /scripts/simple_bip.sh | |
parent | 89ac9abe7510e2f4440835160f6329c7371a4ec3 (diff) | |
download | abc-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.sh | 14 |
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 $*" |