devdupablxorexpr(3)
duplicates and develops 'xor', 'nxor'.
SYNOPSYS
#include "abl101.h"
chain_list *devdupablxorexpr( Expr )
chain_list *Expr;
PARAMETERS
- Expr
-
Expression to develop.
DESCRIPTION
devdupablxorexpr develops 'xor' or 'xnor' in Expr.
RETURN VALUE
devdupablxorexpr returns a pointer to the modified expression.
EXAMPLE
#include "abl101.h"
chain_list *Expr1;
chain_list *Expr2;
Expr1 = createablbinexpr( ABL_XOR,
createablatom( "a" ),
createablatom( "b" ) );
Expr2 = devdupablxorexpr( Expr1 );
/* displays (a and (not b)) or ((not a) and b) */
viewablexpr( Expr2, ABL_VIEW_VHDL );