Skip to content

Commit

Permalink
updated configurations to add winning region in synthesis ones
Browse files Browse the repository at this point in the history
  • Loading branch information
Guillermo A. Perez committed May 25, 2016
1 parent 6e89180 commit 1d2189b
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 6 deletions.
5 changes: 4 additions & 1 deletion par_synth_conf1.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
#!/bin/bash
DIR=`dirname $0`/
# $1 contains the input filename (the name of the AIGER-file).
COMMAND="${DIR}binary/abssynthe -p $1 -o $1-result.aag"
COMMAND="${DIR}binary/abssynthe -p $1 -o $1-result.aag -w $1-wregion.aag"
$COMMAND
res=$?
if [[ $res == 10 ]]; then
echo "REALIZABLE"
cat "$1-result.aag"
echo "WINNING_REGION"
cat "$1-wregion.aag"
else
echo "UNREALIZABLE"
fi
Expand Down
5 changes: 4 additions & 1 deletion par_synth_conf2.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
#!/bin/bash
DIR=`dirname $0`/
# $1 contains the input filename (the name of the AIGER-file).
COMMAND="${DIR}binary/abssynthe -p -s $1 -o $1-result.aag"
COMMAND="${DIR}binary/abssynthe -p -s $1 -o $1-result.aag -w $1-wregion.aag"
$COMMAND
res=$?
if [[ $res == 10 ]]; then
echo "REALIZABLE"
cat "$1-result.aag"
echo "WINNING_REGION"
cat "$1-wregion.aag"
else
echo "UNREALIZABLE"
fi
Expand Down
5 changes: 4 additions & 1 deletion par_synth_conf3.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
#!/bin/bash
DIR=`dirname $0`/
# $1 contains the input filename (the name of the AIGER-file).
COMMAND="${DIR}binary/abssynthe -a -p -s $1 -o $1-result.aag"
COMMAND="${DIR}binary/abssynthe -a -p -s $1 -o $1-result.aag -w $1-wregion.aag"
$COMMAND
res=$?
if [[ $res == 10 ]]; then
echo "REALIZABLE"
cat "$1-result.aag"
echo "WINNING_REGION"
cat "$1-wregion.aag"
else
echo "UNREALIZABLE"
fi
Expand Down
5 changes: 4 additions & 1 deletion seq_synth_conf1.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
#!/bin/bash
DIR=`dirname $0`/
# $1 contains the input filename (the name of the AIGER-file).
COMMAND="${DIR}binary/abssynthe $1 -o $1-result.aag"
COMMAND="${DIR}binary/abssynthe $1 -o $1-result.aag -w $1-wregion.aag"
$COMMAND
res=$?
if [[ $res == 10 ]]; then
echo "REALIZABLE"
cat "$1-result.aag"
echo "WINNING_REGION"
cat "$1-wregion.aag"
else
echo "UNREALIZABLE"
fi
Expand Down
5 changes: 4 additions & 1 deletion seq_synth_conf2.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
#!/bin/bash
DIR=`dirname $0`/
# $1 contains the input filename (the name of the AIGER-file).
COMMAND="${DIR}binary/abssynthe -a $1 -o $1-result.aag"
COMMAND="${DIR}binary/abssynthe -a $1 -o $1-result.aag -w $1-wregion.aag"
$COMMAND
res=$?
if [[ $res == 10 ]]; then
echo "REALIZABLE"
cat "$1-result.aag"
echo "WINNING_REGION"
cat "$1-wregion.aag"
else
echo "UNREALIZABLE"
fi
Expand Down
5 changes: 4 additions & 1 deletion seq_synth_conf3.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
#!/bin/bash
DIR=`dirname $0`/
# $1 contains the input filename (the name of the AIGER-file).
COMMAND="${DIR}binary/abssynthe -a2048 -c 1 $1 -o $1-result.aag"
COMMAND="${DIR}binary/abssynthe -a2048 -c 1 $1 -o $1-result.aag -w $1-wregion.aag"
$COMMAND
res=$?
if [[ $res == 10 ]]; then
echo "REALIZABLE"
cat "$1-result.aag"
echo "WINNING_REGION"
cat "$1-wregion.aag"
else
echo "UNREALIZABLE"
fi
Expand Down

0 comments on commit 1d2189b

Please sign in to comment.