DOKK / manpages / debian 10 / alliance / createbddcircuit.3.en
CREATEBDDCIRCUIT(3) BDD FUNCTIONS CREATEBDDCIRCUIT(3)

createbddcircuit - creates a bdd circuit.

See the file buster/alliance/alc_origin.1.en.gz.

#include "bdd101.h"

bddcircuit ∗createbddcircuit( Name, NumberIn, NumberOut, BddSystem )
char ∗Name;
long NumberIn;
long NumberOut;
bddsystem ∗BddSystem;

Name of the bdd circuit.
Number of inputs.
Number of outputs.
The bdd system to work on.

createbddcircuit creates a bdd circuit with the name Name, with NumberIn inputs, and NumberOut outputs. This bdd circuit will use the bdd system BddSystem. If a null pointer is given, the default bdd system is used.

createbddcircuit returns a pointer to the bdd circuit created.

#include "bdd101.h"

bddsystem ∗BddSystem;
bddcircuit ∗BddCircuit;
BddSystem = createbddsystem( 100, 1000, 100, 50000 );
BddCircuit = createbddcircuit( "hello_world", 10, 10, BddSystem );
...
destroybddsystem( (bddsystem ∗)0 );
destroybddcircuit( (bddcircuit ∗)0 );

bdd(1), resetbddcircuit(3), destroybddcircuit(3).

See the file buster/alliance/alc_bug_report.1.en.gz.

October 1, 1997 ASIM/LIP6