DUPABLEXPR(3) ABL FUNCTIONS DUPABLEXPR(3)
NAME
dupablexpr - duplicates an 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 *dupablexpr( Expr )
chain_list *Expr;
PARAMETERS
Expr Expression to duplicate.
DESCRIPTION
dupablexpr duplicates the expression Expr.
RETURN VALUE
dupablexpr returns the duplicated expression.
EXAMPLE
#include "abl101.h"
chain_list *ExprAorB;
chain_list *ExprAnorB;
ExprAorB = createabloper( ABL_OR );
addablhexpr( ExprAorB, createablatom( "a" ) );
addablhexpr( ExprAorB, createablatom( "b" ) );
ExprAnorB = createablnotexpr( dupablexpr( ExprAorB ) );
/* displays (a or b) (a nor b) */
viewablexpr( ExprAorB, ABL_VIEW_VHDL );
viewablexpr( ExprAnorB, ABL_VIEW_VHDL );
SEE ALSO
abl(1), delablexpr(3), freeablexpr(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 DUPABLEXPR(3)