CREATEABLOPER(3) ABL FUNCTIONS CREATEABLOPER(3)
NAME
createabloper - creates the head of an 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 *createabloper( Oper )
long Oper;
PARAMETERS
Oper The operator number.
DESCRIPTION
createabloper creates the head of an operator expression. Arguments can be added to this expression with the addablhexpr and addablqexpr
functions. Operator can take the following values ABL_AND, ABL_OR, ABL_AND, ABL_XOR, ABL_NOT, ABL_NOR, ABL_NAND, ABL_NXOR, ABL_STABLE,
ABL_AF, ABL_AG, ABL_AX, ABL_AU, ABL_EF, ABL_EG, ABL_EX, ABL_EU.
RETURN VALUE
createabloper returns a pointer to the new operator expression.
ERRORS
"ablcreate: bad operator xx !",
The operator number must be defined.
EXAMPLE
#include "abl101.h"
chain_list *Expr;
Expr = createabloper( ABL_OR );
addablhexpr( Expr, createablatom( "a" ) );
addablhexpr( Expr, createablatom( "b" ) );
/* displays (a or b) */
viewablexpr( Expr, ABL_VIEW_VHDL );
SEE ALSO
abl(1) createablatom(3), createablnotexpr(3), createablbinexpr(3), createablunaryexpr(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 CREATEABLOPER(3)