pyabc: minor changes for compeition

This commit is contained in:
Baruch Sterin 2011-10-24 15:21:08 -07:00
parent a6d6a40ff3
commit b51ab36922
2 changed files with 8 additions and 3 deletions

View File

@ -1,7 +1,5 @@
python new_abc_commands.py
python reachx_cmd.py
load_plugin bip "Bip"
python -c "import reachx_cmd"
# global parameters
set check # checks intermediate networks

View File

@ -1,3 +1,4 @@
import sys
import os
import pyabc
import par
@ -116,6 +117,12 @@ def proof_command_wrapper(prooffunc, category_name, command_name, change):
pyabc.run_command('/pushdtemp')
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 )
shutil.copyfile(aig_filename, basename)
aig_filename = basename