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

NAME

6       simpdupablexpr - duplicates and simplies an expression.
7

SYNOPSIS

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

PARAMETERS

14       Expr                Expression to simplfy.
15

DESCRIPTION

17       simpdupablexpr simplifies Expr.
18

RETURN VALUE

20       simpdupablexpr returns a pointer to the simplied expression.
21

EXAMPLE

23       #include "abl101.h"
24         chain_list ∗Expr;
25         chain_list ∗ExprSimp;
26         Expr = createablbinexpr( ABL_AND,
27                                  createablatom( "'0'" ),
28                                  createablatom( "'1'" ) );
29         ExprSimp = simpdupablexpr( Expr );
30         /* displays ('0' and '1')  '0' */
31         viewablexpr( Expr, ABL_VIEW_VHDL );
32         viewablexpr( ExprSimp, ABL_VIEW_VHDL );
33

SEE ALSO

35       abl(1), simpdupablexpr(3).
36
37
38
39
40
41
42ASIM/LIP6                       October 1, 1997              SIMPDUPABLEXPR(3)
Impressum