Commit b51ab369 by Baruch Sterin

pyabc: minor changes for compeition

parent a6d6a40f
python new_abc_commands.py python new_abc_commands.py
python reachx_cmd.py python -c "import reachx_cmd"
load_plugin bip "Bip"
# global parameters # global parameters
set check # checks intermediate networks set check # checks intermediate networks
......
import sys
import os import os
import pyabc import pyabc
import par import par
...@@ -116,6 +117,12 @@ def proof_command_wrapper(prooffunc, category_name, command_name, change): ...@@ -116,6 +117,12 @@ def proof_command_wrapper(prooffunc, category_name, command_name, change):
pyabc.run_command('/pushdtemp') pyabc.run_command('/pushdtemp')
try: try:
for d in os.environ['PATH'].split(':'):
bip = os.path.join(d, 'bip')
if os.path.exists(bip):
pyabc.run_command("load_plugin %s Bip"%bip)
break
basename = os.path.basename( aig_filename ) basename = os.path.basename( aig_filename )
shutil.copyfile(aig_filename, basename) shutil.copyfile(aig_filename, basename)
aig_filename = basename aig_filename = basename
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment