createbddcircuit(3)

createbddcircuit3

Creates a bdd circuit.

Synopsys

#include "bdd101.h"
  bddcircuit ∗createbddcircuit( Name, NumberIn, NumberOut, BddSystem )
  char      ∗Name;
  long       NumberIn;
  long       NumberOut;
  bddsystem ∗BddSystem;

Parameters

Name

Name of the bdd circuit.

NumberIn

Number of inputs.

NumberOut

Number of outputs.

BddSystem

The bdd system to work on.

Overview

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.

Return value

createbddcircuit returns a pointer to the bdd circuit created.

Examples

#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 );

Releases

4 releases since Debian 7 (Wheezy); the text changed 1 time.

  1. 7–8
  2. 9–10

From alliance 5.1.1-3 in Debian 10 (Buster). Parsed by carta from the page's man source.