CREATEABLUNARYEXPR(3) ABL FUNCTIONS CREATEABLUNARYEXPR(3)NAME
createablunaryexpr - creates an unary operator expression.
ORIGIN
This software belongs to the ALLIANCE CAD SYSTEM developed by the ASIM team at LIP6 laboratory of Universite Pierre et Marie CURIE, in
Paris, France.
Web : http://asim.lip6.fr/recherche/alliance/
E-mail : alliance-users@asim.lip6.fr
SYNOPSYS
#include "abl101.h"
chain_list *createablunaryexpr( Oper, Expr )
long Oper;
chain_list *Expr;
PARAMETERS
Oper The unary operator number.
Expr Expression.
DESCRIPTION
createablunaryexpr creates the unary operator expression Operator Expr. createablbinexpr combines eventualy the operator of Expr with Oper-
ator. The expression pointer Expr MUSTN'T be used after the call to this function.
RETURN VALUE
createablunaryexpr returns a pointer to the new operator expression.
ERRORS
"ablcreate: bad operator xx !",
Operator must be defined and must be a unary operator.
EXAMPLE
#include "abl101.h"
chain_list *ExprA;
chain_list *ExprB;
chain_list *ExprAorB;
chain_list *ExprAnorB;
ExprA = createablatom( "a" );
ExprB = createablatom( "b" );
ExprAorB = createablbinexpr( ABL_OR, ExprA, ExprB );
ExprAnorB = createablunaryexpr( ABL_NOT, ExprAorB );
SEE ALSO abl(1)createablatom(3), createabloper(3), createablnotexpr(3), createablbinexpr(3), createablxorbinexpr(3), addablhexpr(3), addablq-
expr(3).
BUG REPORT
This tool is under development at the ASIM department of the LIP6 laboratory.
We need your feedback to improve documentation and tools.
ASIM /LIP6 October 1, 1997 CREATEABLUNARYEXPR(3)
Check Out this Related Man Page
CONVERTBDDCIRCUITABL(3) BDD FUNCTIONS CONVERTBDDCIRCUITABL(3)NAME
convertbddcircuitabl - converts a bdd node to an abl expression.
ORIGIN
This software belongs to the ALLIANCE CAD SYSTEM developed by the ASIM team at LIP6 laboratory of Universite Pierre et Marie CURIE, in
Paris, France.
Web : http://asim.lip6.fr/recherche/alliance/
E-mail : alliance-users@asim.lip6.fr
SYNOPSYS
#include "bdd101.h"
chain_list *convertbddcircuitabl( BddCircuit, BddNode )
bddcircuit *BddCircuit;
bddnode *BddNode;
PARAMETERS
BddCircuit The bdd circuit.
BddNode The bdd node to convert.
DESCRIPTION
convertbddcircuitabl converts the bdd node to an abl expression. The BddCircuit is used to translate the variable nodes into atomic expres-
sions. If a null pointer is given, the default bdd circuit is used.
RETURN VALUE
convertbddcircuitabl returns a pointer to the abl expression translated.
EXAMPLE
#include "bdd101.h"
bddsystem *BddSystem;
bddcircuit *BddCircuit;
bddnode *BddNode;
chain_list *Expr;
BddSystem = createbddsystem( 100, 1000, 100, 50000 );
BddCircuit = createbddcircuit( "hello_world", 10, 10, BddSystem );
Expr = createablbinexpr( ABL_AND,
createablatom( "i0" ),
createablatom( "i1" ) );
BddNode = addbddcircuitabl( BddCircuit, Expr );
freeablexpr( Expr );
Expr = convertbddcircuitabl( BddCircuit, BddNode );
/* displays (i0 and i1) */
viewablexpr( Expr, ABL_VIEW_VHDL );
freeablexpr( Expr );
destroybddsystem( (bddsystem *)0 );
destroybddcircuit( (bddcircuit *)0 );
SEE ALSO bdd(1), abl(1), addbddcircuitabl(3).
BUG REPORT
This tool is under development at the ASIM department of the LIP6 laboratory.
We need your feedback to improve documentation and tools.
ASIM /LIP6 October 1, 1997 CONVERTBDDCIRCUITABL(3)
I need to find out if a variable contains a certain text string, then do something about it.
Here is what I mean, but I don't know how to get a "contains" operator
# We have volumes called:
# /Volumes/BackupsA_K
# /Volumes/BackupsL_Z
# /Volumes/Backups_Admin
# (could be more, etc)... (5 Replies)
hi
i am trying to compare a value with value 50. but i am getting
"
I am using
if
then
echo "------------"
fi
please help
thanks in advance
Satya (2 Replies)
Im trying to fix my /etc/weekly that rotates various logs however it does them no matter what filesize they are and i want them to only do it if there file size exceeds 2M or something. So I'm playing with a script to get the filesize using a ls -l command which works and puts the value into a... (3 Replies)
Hello all, :confused:
I am not getting this error.
Pls help me.
./construct_operon.sh: line 5:
#!/bin/bash
# Construct Operons using gene pairs.
rm -rf operons_result
lines=`awk 'END {print NR}' ecoli_operons`
while ;
do
head -1 ecoli_operons | awk '{print $1"\n"$2}' > pattern
... (5 Replies)
I get the following error
./get_NE05: line 42:
while
do
echo ${STRING_NAME}
J=1
if ; then
EXT=0$I
else
EXT=$I
fi
while
do
echo $I-$J
#calculating last occurrence
OCCURRENCE=`grep -io "${STRING_NAME}"... (3 Replies)
Why am I getting this error.... #!/bin/sh
# iOS-Ad-Remover
# Marshall Ford @ marshallbford@gmail.com
# This project is hosted @ http://ios-ad-
# remover.sourceforge.net
# Under the GNU GPL open source license
clear
echo
if ; then echo "You need to be root to run this script."; exit 0; #... (24 Replies)
i=0
while
Shell script reports an error "unary operator expected" pointing the above line.
$i by default is 0 and holds integer value and $buf is also holding integer value.
Please can some one let me know what is missing.
Thanks. (1 Reply)
Hiya all,
Why do I get a :unary operator expected when I try to put a condition statement in my shell script (sh) like so and how to fix?
if ; then
echo "say hello"
else
echo "don't say hello"
fi
? It seems if the script receives an argument it works but if I don't put an... (4 Replies)
I read 3 variables from from Inputfile.txt the third one "startnumber" is a number when i compare it with 9 ($startnumber -le 9) it give's me a "unary operator expected", i know that -le is for number comparison. What i need is to convert $startnumber to integer (i have try to do it with expr but... (8 Replies)
I have this code to check the largest files by bytes. Whenever I run it, I keep getting an error message "unary operator expected"
for i in *
do
if
set -- $(ls -ls "$i")
alias filesize='ls -lS'
then
echo $1: $5 bytes
fi
done (1 Reply)
I have a little code block (executing on AIX 7.1) that I cannot understand why the NOTFREE=0 does not appear to be assigned even though it goes through that block. This causes a unary operator issue.
#!/bin/bash
PLATFORM="AIX"
NEEDSPC=3000
set -x
if ; then
lsvg | grep -v rootvg | while... (6 Replies)