devablxorexpr.3alc man page

devablxorexpr — develops 'xor', 'nxor' in an expression.

Synopsis

#include "abl101.h"
chain_list ∗devablxorexpr( Expr )
  chain_list ∗Expr;

Parameters

Expr

Expression to develop.

Description

devablxorexpr develops 'xor' or 'xnor' in Expr. The expression pointer Expr MUSTN'T be used after the call to this function.

Return Value

devablxorexpr returns a pointer to the modified expression.

Example

#include "abl101.h"
  chain_list ∗Expr;
  Expr = createablbinexpr( ABL_XOR,
                           createablatom( "a" ),
                           createablatom( "b" ) );
  Expr = devablxorexpr( Expr );
  /* displays (a and (not b)) or ((not a) and b) */
  viewablexpr( Expr, ABL_VIEW_VHDL );

See Also

abl(1), devdupablxorexpr(3).

Info

October 1, 1997 ASIM/LIP6 ABL FUNCTIONS