mirror of https://github.com/YosysHQ/abc.git
15 lines
211 B
Bash
15 lines
211 B
Bash
|
|
#!/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 $*"
|