DELBDDNODELIST(3)
π DELBDDNODELIST π β the bdd functions page, section 3, bestie edition
okay so this is a page from the BDD FUNCTIONS corner of the bdd manual (section 3, iykyk), and today's main character is delbddnodelist. she's here to clean up after you. no cap. π§Ήβ¨
πΈ NAME πΈ
delbddnodelist β deletes a list of bdd nodes. literally that's her whole job and she ate π
π¦ 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. π«π·β¨ iconic lineage fr fr.
- Web :
http://asim.lip6.fr/recherche/alliance/ - E-mail :
alliance-users@asim.lip6.fr
β¨ SYNOPSIS β¨
#include "bdd101.h"
void delbddnodelist( BddSystem, HeadList )
bddsystem βBddSystem;
chain_list βHeadList;
π PARAMETERS π
BddSystemβ the bdd system. the whole vibe. the ecosystem, if you will πHeadListβ the head of thechain_list. like, the front of the little linked-list conga line πΊ
π DESCRIPTION π
okay so delbddnodelist deletes all the bdd nodes of the list HeadList in the bdd system BddSystem. all of them. every single one. no survivors, no stragglers, it's giving spring cleaning πΈπ§Ό
and here's the cute part: if a null pointer is given, the default bdd system is used. so you can just be like "idk, the usual one" and she'll handle it π«Ά
also important, bestie: all the nodes have their external references decremented. that's the bookkeeping. don't skip it. π
β RETURN VALUE β
delbddnodelist returns nothing. she gives nothing back because she already gave you a clean memory situation. that's the gift. ππ
π₯ EXAMPLE π₯
here's the whole thing in action, verbatim, no edits:
#include "bdd101.h"
bddsystem βBddSystem;
bddcircuit βBddCircuit;
bddnode βBddNode;
chain_list βBddList;
chain_list βExpr;
BddSystem = createbddsystem( 100, 1000, 100, 50000 );
BddCircuit = createbddcircuit( "hello_world", 10, 10, BddSystem );
BddList = (chain_list β)0;
BddList = addbddnodelist( (bddsystem β)0, BddList,
addbddcircuitin( (bddcircuit β)0,
"i0", 0, BDD_IN_MODE_FIRST ) );
BddList = addbddnodelist( (bddsystem β)0, BddList,
addbddcircuitin( (bddcircuit β)0,
"i1", 0, BDD_IN_MODE_FIRST );
BddList = addbddnodelist( (bddsystem β)0, BddList,
addbddcircuitin( (bddcircuit β)0,
"i2", 0, BDD_IN_MODE_FIRST );
BddNode = applybddnodelist( (bddsystem β)0, ABL_AND, BddList );
delbddnodelist( (bddsystem β)0, BddList );
Expr = convertbddcircuitabl( (bddcircuit β)0, BddNode );
/* displays (i0 and i1 and i2) */
viewablexpr( Expr, ABL_VIEW_VHDL );
freeablexpr( Expr );
destroybddsystem( (bddsystem β)0 );
destroybddcircuit( (bddcircuit β)0 );
see how she pops in right after applybddnodelist and before the convertbddcircuitabl moment? that's the moment. the handoff. the passing of the torch π―οΈβ¨ and yeah the comment says it all β it displays (i0 and i1 and i2). slay.
β οΈ real talk though: this code is copied straight from the page, character for character, so if something looks weird in there, that's the original's business, not mine π don't @ me, just copy it exactly like this.
π SEE ALSO π
π BUG REPORT π
so this tool is under development at the ASIM department of the LIP6 laboratory. she's a work in progress, we love a growing girl π
and they literally need your feedback to improve documentation and tools. so like. send the feedback. it's free. it's helpful. do it for the culture π«Ά
lowkey a whole mood: if something's dangerous, deprecated, or just plain undefined in this page β I'm not softening it, and neither should you. read carefully, bestie. π₯
and that's the whole page!! written by the ASIM/LIP6 crew, dated October 1, 1997, and filed under DELBDDNODELIST(3) β go forth and delete your node lists responsibly, mwah πππ¦
π¦ 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