DOKK / manpages / debian 10 / alliance / bddToAblCct.3.en
BDDTOABLCCT(3) BDD functions BDDTOABLCCT(3)

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

bddToAblCct - converts a BDD into an ABL within a circuit

#include "logmmm.h"
chain_list *bddToAblCct(pC,pBdd)
pCircuit pC;
pNode pBdd;

Circuit in which is made the conversion
BDD to convert

bddToAblCct() converts pBdd into an expression. This function returns a result that depends from the ordering of the primary input. This function provides the basic method for the logical optimizer called in BOP.

#include "mutnnn.h"		/* mbk utilities */
#include "logmmm.h"
chain_list *expr;
pNode res;
pCircuit pC;
initializeBdd(SMALL_BDD);
pC = initializeCct("circuit 1",10,10);
addInputCct(pC,"a");
addInputCct(pC,"b");
	/* let's suppose that res = (OR a b) */
expr = bddToAblCct(pC,applyBinBdd(OR,

createNodeTermBdd(searchInputCct(pC,"a"))),
createNodeTermBdd(searchInputCct(pC,"b"))); displayExpr(expr); /* it will display (OR a b) */ destroyCct(pC); destroyBdd(1);

log(1), bdd(1), abl(1), ablToBddCct(3).

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

October 1, 1997 ASIM/LIP6