1DEVDUPABLXOREXPR(3)              ABL FUNCTIONS             DEVDUPABLXOREXPR(3)
2
3
4

NAME

6       devdupablxorexpr - duplicates and develops 'xor', 'nxor'.
7

SYNOPSIS

9       #include "abl101.h"
10       chain_list ∗devdupablxorexpr( Expr )
11         chain_list ∗Expr;
12

PARAMETERS

14       Expr                Expression to develop.
15

DESCRIPTION

17       devdupablxorexpr develops 'xor' or 'xnor' in Expr.
18

RETURN VALUE

20       devdupablxorexpr returns a pointer to the modified expression.
21

EXAMPLE

23       #include "abl101.h"
24         chain_list ∗Expr1;
25         chain_list ∗Expr2;
26         Expr1 = createablbinexpr( ABL_XOR,
27                                   createablatom( "a" ),
28                                   createablatom( "b" ) );
29         Expr2 = devdupablxorexpr( Expr1 );
30         /* displays (a and (not b)) or ((not a) and b) */
31         viewablexpr( Expr2, ABL_VIEW_VHDL );
32

SEE ALSO

34       abl(1), devdupablxorexpr(3).
35
36
37
38
39
40
41ASIM/LIP6                       October 1, 1997            DEVDUPABLXOREXPR(3)
Impressum