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

NAME

6       convertbddindexabl - converts a bdd index 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         bddindex      Index;
16

PARAMETERS

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

DESCRIPTION

27       convertbddindexabl converts the bdd index Index 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 index and a slot in the NameArray. If the  IndexAr‐
33       ray  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       convertbddindexabl 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 = convertbddindexabl( BddSystem, NameArray, (bddindex ∗)0,  BddNode->INDEX );
50          /* displays i0 */
51          viewablexpr( Expr, ABL_VIEW_VHDL );
52          freeablexpr( Expr );
53          destroybddsystem( (bddsystem ∗)0 );
54

SEE ALSO

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