DESTROYBDDASSOC(3)
π DESTROYBDDASSOC(3) β BDD FUNCTIONS π
okay so this is a page from the BDD FUNCTIONS manual, section 3 (library calls, bestie) π pull up a chair.
β¨ NAME β¨
destroybddassoc β frees all the variable associations. that's it. that's the whole job. she's a cleanup queen and she ate π
πΈ ORIGIN πΈ
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. oui oui baguette π₯β¨
- Web :
http://asim.lip6.fr/recherche/alliance/ - E-mail :
alliance-users@asim.lip6.fr
π¦ SYNOPSIS π¦
#include "bdd101.h"
bddassoc βdestroybddassoc( BddSystem )
bddsystem βBddSystem;
no cap, that's the whole signature π«Ά
π PARAMETERS π
BddSystemβ the bdd system. the one and only. the main character of this function ngl π
π DESCRIPTION π
destroybddassoc frees all the variable associations in the bdd system BddSystem. like, all of them. every last one. she does not do partial. periodt π
and if you hand her a null pointer? no drama β the default bdd system gets used instead. iconic, honestly π
β RETURN VALUE β
destroybddassoc returns nothing. literally nothing. void. empty. she gives you zero back and honestly? that's valid π
π₯ ERRORS π₯
none listed. no errors section content. she simply doesn't miss π
π EXAMPLE π
#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 );
delbddassoc( (bddsystem β)0, Assoc );
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 );
ok the little comment says /* displays ((i3 or i2) and i1) */ and yes she really does π the way that substitution just *works*β¦ obsessed π§
π SEE ALSO π
bdd(1)β go read it, iykyk π«Ά
π 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 girl needs the tea βπ please tell them what's broken!!
lowkey reminder:destroybddassocfrees all the variable associations inBddSystem, and if you pass a null pointer the default bdd system gets used. don't be surprised when your default system comes back with no associations π
that's the whole page bestie, hope it slayed πΈ from ASIM/LIP6, dated October 1, 1997, DESTROYBDDASSOC(3) β a vintage icon, truly a 90s queen πβ¨
π¦ 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