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

NAME

6       simpbddnodedcon - simplifies a bdd with don't cares on its on-set part.
7
8

SYNOPSIS

10       #include "bdd101.h"
11       bddnode ∗simpbddnodedcon( BddSystem, BddOn, BddDc )
12         bddsystem ∗BddSystem;
13         bddnode   ∗BddOn;
14         bddnode   ∗BddDc;
15

PARAMETERS

17       BddSystem           The bdd system.
18
19       BddOn               The first bdd node.
20
21       BddDc               The second bdd node.
22

DESCRIPTION

24       simpbddnodedcon  simplifies  the  bdd node BddOn with BddDc, in the bdd
25       system BddSystem.  If a null pointer is given, the default  bdd  system
26       is  used.   The bdd node BddDc must be included imperatively in the on-
27       set part of the bdd node BddOn.
28

RETURN VALUE

30       simpbddnodedcon returns the simplified bdd node.
31

EXAMPLE

33       #include "bdd101.h"
34          bddsystem  ∗BddSystem;
35          bddcircuit ∗BddCircuit;
36          bddnode    ∗BddOn;
37          bddnode    ∗BddDc;
38          bddnode    ∗BddNode;
39          chain_list ∗Expr;
40          BddSystem  = createbddsystem( 100, 1000, 100, 50000 );
41          BddCircuit = createbddcircuit( "hello_world", 10, 10, BddSystem );
42          Expr = createablbinexpr( ABL_OR,
43                                   createablatom( "i0" ),
44                                   createablatom( "i1" ) );
45          BddOn = addbddcircuitabl( BddCircuit, Expr );
46          freeablexpr( Expr );
47          Expr = createablbinexpr( ABL_NOR,
48                                   createablatom( "i0" ),
49                                   createablatom( "i1" ) );
50          BddDc = addbddcircuitabl( BddCircuit, Expr );
51          freeablexpr( Expr );
52          BddNode = simpbddnodedcon( (bddsystem ∗)0, BddOn, BddDc );
53          Expr = convertbddcircuitabl( BddCircuit, BddNode );
54          /* displays '1' */
55          viewablexpr( Expr, ABL_VIEW_VHDL );
56          freeablexpr( Expr );
57          destroybddsystem( (bddsystem ∗)0 );
58          destroybddcircuit( (bddcircuit ∗)0 );
59

SEE ALSO

61       bdd(1)
62
63
64
65
66
67
68ASIM/LIP6                       October 1, 1997             SIMPBDDNODEDCON(3)
Impressum