DELBDDNODE(3)
π DELBDDNODE β the "bye bye, unused bdd node" function π
okay bestie, buckle up, we're doing delbddnode from the BDD FUNCTIONS crew π¦ this one's a level-3 manual page and it's giving β¨niche but iconicβ¨
β¨ NAME β¨
delbddnode β deletes an unused bdd node. literally what it says on the tin, no cap π
π ORIGIN π
okay so this software is part of the ALLIANCE CAD SYSTEM, which was developed by the ASIM team over at the LIP6 laboratory of UniversitΓ© Pierre et Marie CURIE, in Paris, France π₯π«π·
- Web:
http://asim.lip6.fr/recherche/alliance/ - E-mail:
alliance-users@asim.lip6.fr
like, actual French academic royalty, we love to see it π
π SYNOPSIS π
#include "bdd101.h"
void delbddnode( BddSystem, BddNode )
bddsystem βBddSystem;
bddnode βBddNode;
π«Ά PARAMETERS π«Ά
BddSystemβ the bdd system. that's the whole vibe, it's just the system π§BddNodeβ the bdd node. the one and only π
π₯ DESCRIPTION π₯
so delbddnode tries to delete the bdd node BddNode and its children, as long as they have no external reference, inside the bdd system BddSystem. it's a little family eviction, bestie π
if a null pointer is given, the default bdd system is used instead. convenient? yes. advisable? hmm.
β οΈ not me being the bearer of bad news butβ¦ the use of this function is not recommended, because it takes time. like, it's slow fr fr π
the glow-up move instead: call the decbddrefext function, and then do a garbage collection with the garbagebddsystem function. that's the main character path, periodt β¨
π RETURN VALUE π
delbddnode returns nothing. it's giving void energy. no receipt, no refund, no return value π
πΈ EXAMPLE πΈ
here's the whole thing in action, copy-paste vibes:
#include "bdd101.h"
bddsystem βBddSystem;
bddcircuit βBddCircuit;
bddnode βBddNode;
chain_list βExpr;
BddSystem = createbddsystem( 100, 1000, 100, 50000 );
BddCircuit = createbddcircuit( "hello_world", 10, 10, BddSystem );
BddNode = addbddcircuitin( (bddcircuit β)0, "i0", 0, BDD_IN_MODE_FIRST );
BddNode = addbddnode( (bddsystem β)0, BddNode->INDEX, BddNode->LOW, BddNode->HIGH );
Expr = convertbddcircuitabl( (bddcircuit β)0, BddNode );
delbddnode( (bddsystem β)0, decbddrefext( BddNode ) );
/* displays (not i0) */
viewablexpr( Expr, ABL_VIEW_VHDL );
freeablexpr( Expr );
destroybddsystem( (bddsystem β)0 );
destroybddcircuit( (bddcircuit β)0 );
see that /* displays (not i0) */ comment? yeah that's the payoff, chef's kiss π¨π³π
π¦ SEE ALSO π¦
iykyk π
π BUG REPORT π
this tool is under development at the ASIM department of the LIP6 laboratory β so it's a work in progress bestie, be gentle π₯Ί
we need your feedback to improve documentation and tools. like actually, they're asking. slide into their inbox, it's the nice thing to do π
that's the whole page, you ate that π β¨
this lil baddie comes to you from ASIM/LIP6, dated October 1, 1997 β vintage, iconic, still serving π mwah, bye bestie π
π¦ where this page comes from
- fedora 43: alliance-devel 5.1.1-35.20160506gitd8c05cd.fc42 Β· GPL-2.0-only
- fedora 43: alliance-devel 5.1.1-35.20160506gitd8c05cd.fc42 Β· GPL-2.0-only
- fedora 44: alliance-devel 5.1.1-35.20160506gitd8c05cd.fc42 Β· GPL-2.0-only
- fedora 44: alliance-devel 5.1.1-35.20160506gitd8c05cd.fc42 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms