1CONVERTBDDNODEABL(3)             BDD FUNCTIONS            CONVERTBDDNODEABL(3)
2
3
4

NAME

6       convertbddnodeabl - converts a bdd node to an abl expression.
7
8

SYNOPSIS

10       #include "bdd101.h"
11       chain_list *convertbddnodeabl( BddSystem, NameArray, IndexArray, BddNode )
12         bddsystem ∗BddSystem;
13         char     ∗∗NameArray;
14         bddindex  ∗IndexArray;
15         bddnode   ∗BddNode;
16

PARAMETERS

18       BddSystem           The bdd system.
19
20       NameArray           The array of names.
21
22       IndexArray          The array of indexes.
23
24       BddNode             The bdd node to convert.
25

DESCRIPTION

27       convertbddnodeabl converts the bdd node BddNode to an abl expression in
28       the bdd system BddSystem.  If a null pointer is given, the default  bdd
29       system  is  used.  The NameArray, and IndexArray parameters are used to
30       translate the  variable  nodes  into  atomic  expressions.   The  array
31       NameArray  is  list of names.  The array IndexArray does the correspon‐
32       dence between a bdd node index and a slot  in  the  NameArray.  If  the
33       IndexArray  parameter is a null pointer, then the name of the bdd index
34       BDD_INDEX_MIN is assumed to be the first slot of the NameArray, and  so
35       on.
36

RETURN VALUE

38       convertbddnodeabl returns a pointer to the abl expression translated.
39

EXAMPLE

41       #include "bdd101.h"
42          bddsystem  ∗BddSystem;
43          bddnode    ∗BddNode;
44          chain_list ∗Expr;
45          char       ∗NameArray[ 1 ];
46          BddSystem = createbddsystem( 100, 1000, 100, 50000 );
47          BddNode   = addbddvarlast( BddSystem );
48          NameArray[ 0 ] = namealloc( "i0" );
49          Expr = convertbddnodeabl( BddSystem, NameArray, (bddindex ∗)0,  BddNode );
50          /* displays i0 */
51          viewablexpr( Expr, ABL_VIEW_VHDL );
52          freeablexpr( Expr );
53          destroybddsystem( (bddsystem ∗)0 );
54

SEE ALSO

56       bdd(1), abl(1).
57
58
59
60
61
62
63ASIM/LIP6                       October 1, 1997           CONVERTBDDNODEABL(3)
Impressum