searchbddcircuitout.3alc - Man Page

searches an output in a bdd circuit.

Synopsis

#include "bdd101.h"
  bddnode ∗searchbddcircuitout( BddCircuit, OutputName )
  bddcircuit ∗BddCircuit;
  char       ∗OutputName;

Parameters

BddCircuit

The bdd circuit.

OutputName

The name of the output to look for.

Description

searchbddcircuitout searches the output OutputName in the bdd circuit BddCircuit. If a null pointer is given, the default bdd circuit is used.

Return Value

searchbddcircuitout returns the node corresponding to  the output OutputName or a null pointer if no such output is found.

Example

#include "bdd101.h"
   bddsystem  ∗BddSystem;
   bddcircuit ∗BddCircuit;
   bddnode    ∗BddNode;
   BddSystem  = createbddsystem( 100, 1000, 100, 50000 );
   BddCircuit = createbddcircuit( "hello_world", 10, 10, BddSystem );
   ...
   addbddcircuitout( (bddcircuit ∗)0, "Out0", BddNode );
   ...
   BddNode = searchbddcircuitout( (bddcircuit ∗)0, "Out0" );
   destroybddsystem( (bddsystem ∗)0 );
   destroybddcircuit( (bddcircuit ∗)0 );

See Also

bdd(1), addbddcircuitout(3).

Referenced By

addbddcircuitout.3alc(3), delbddcircuitout.3alc(3).

October 1, 1997 ASIM/LIP6 BDD FUNCTIONS