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 | |
parent | 89ac9abe7510e2f4440835160f6329c7371a4ec3 (diff) | |
download | abc-a6d6a40ff371654b0db2ad31854dfeb2abfb4123.tar.gz abc-a6d6a40ff371654b0db2ad31854dfeb2abfb4123.tar.bz2 abc-a6d6a40ff371654b0db2ad31854dfeb2abfb4123.zip |
pyabc: add additional scripts for HWMCC11 competition
-rw-r--r-- | scripts/simple_bip.sh | 14 | ||||
-rw-r--r-- | scripts/simple_prove.sh | 14 | ||||
-rw-r--r-- | scripts/super_prove.sh | 3 |
3 files changed, 29 insertions, 2 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 $*" diff --git a/scripts/simple_prove.sh b/scripts/simple_prove.sh new file mode 100644 index 00000000..1fc8773b --- /dev/null +++ b/scripts/simple_prove.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_prove_aiger $*" diff --git a/scripts/super_prove.sh b/scripts/super_prove.sh index c3823b3a..d55ae03d 100644 --- a/scripts/super_prove.sh +++ b/scripts/super_prove.sh @@ -10,6 +10,5 @@ abc_root() abc_dir=$(abc_root "$0") bin_dir="${abc_dir}"/bin -aig_file="$1" -exec ${bin_dir}/abc -c "/rf ${aig_file} ; /super_prove_aiger" +exec ${bin_dir}/abc -c "/super_prove_aiger $*" |