devdupablxorexpr.3alc man page

devdupablxorexpr — duplicates and develops 'xor', 'nxor'.

Synopsis

#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 );

See Also

abl(1), devdupablxorexpr(3).

Referenced By

devablxorexpr.3alc(3), devdupablxorexpr.3alc(3).

October 1, 1997 ASIM/LIP6 ABL FUNCTIONS