DELBDDNODEASSOC(3)
πΈ NAME πΈ
okay so delbddnodeassoc is the function that deletes a bdd node in a variable association. this page lives in the BDD FUNCTIONS manual and is giving DELBDDNODEASSOC(3) main-character energy, no cap π
.
π¦ ORIGIN π¦
bestie, this software belongs to the ALLIANCE CAD SYSTEM, developed by the ASIM team at the LIP6 laboratory of UniversitΓ© Pierre et Marie CURIE, in Paris, France. the links are literally:
- Web:
http://asim.lip6.fr/recherche/alliance/ - E-mail:
alliance-users@asim.lip6.fr
β¨ SYNOPSIS β¨
the signature is exactly this, no edits:
#include "bdd101.h"
int delbddnodeassoc( BddSystem, BddAssoc, Variable )
bddsystem βBddSystem;
bddassoc βBddAssoc;
bddvar Variable;
π PARAMETERS π
BddSystemβ the bdd system. yes, the whole system.BddAssocβ the variable association.Variableβ the variable number.
π DESCRIPTION π
okay so delbddnodeassoc deletes the bdd node associated to the variable number Variable, in the variable association BddAssoc, in the bdd system BddSystem. if a null pointer is given, the default bdd system is used. also, the number of external reference of the associated bdd node is incremented β not decremented, not ignored, incremented. periodt.
π₯ RETURN VALUE π₯
delbddnodeassoc returns 1 if the variable is found, and 0 otherwise. cute little boolean, fr fr.
π ERRORS π
the error string: "variable xxx out of range, error !"
that error means the Variable parameter must be less or equal to the BddSystem->NUMBER_VAR field. read it again bestie: less or equal, exactly as the page says.
π§ EXAMPLE π§
hereβs the whole example, copied exactly because we do not mess with code:
#include "bdd101.h"
bddsystem βBddSystem;
bddcircuit βBddCircuit;
bddnode βBddNode;
bddnode βBddSubst;
bddnode βBddVariable;
bddassoc βAssoc;
chain_list βExpr;
bddvar Variable;
BddSystem = createbddsystem( 100, 1000, 100, 50000 );
BddCircuit = createbddcircuit( "hello_world", 10, 10, BddSystem );
Expr = createablbinexpr( ABL_AND,
createablatom( "i0" ),
createablatom( "i1" ) );
BddNode = addbddcircuitabl( BddCircuit, Expr );
freeablexpr( Expr );
Expr = createablbinexpr( ABL_OR,
createablatom( "i2" ),
createablatom( "i3" ) );
BddSubst = addbddcircuitabl( BddCircuit, Expr );
freeablexpr( Expr );
BddVariable = searchbddcircuitin( (bddcircuit β)0, "i0" );
Variable = getbddvarbyindex( (bddsystem β)0, BddVariable->INDEX );
Assoc = addbddassoc( (bddsystem β)0 );
addbddnodeassoc( (bddsystem β)0, Assoc, Variable, BddSubst );
BddNode = substbddnodeassoc( (bddsystem β)0, BddSubst, Assoc );
delbddnodeassoc( (bddsystem β)0, Assoc, Variable );
Expr = convertbddcircuitabl( BddCircuit, BddNode );
/* displays ((i3 or i2) and i1) */
viewablexpr( Expr, ABL_VIEW_VHDL );
freeablexpr( Expr );
destroybddassoc( (bddsystem β)0 );
destroybddsystem( (bddsystem β)0 );
destroybddcircuit( (bddcircuit β)0 );
π SEE ALSO π
bdd(1)β go read that too, bestie π«Ά.
π«Ά BUG REPORT π«Ά
this tool is under development at the ASIM department of the LIP6 laboratory. we need your feedback to improve documentation and tools. fr fr, your feedback matters π.
with love from ASIM/LIP6, dated October 1, 1997 β DELBDDNODEASSOC(3) signing off π
π¦β¨
π¦ where this page comes from
- nixos 26.05: alliance 5.1.1-unstable-2025-02-24
- nixpkgs unstable: alliance 5.1.1-unstable-2025-02-24
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms