ADDBDDASSOC(3)
π ADDBDDASSOC(3) β BDD FUNCTIONS π
okay so this is a page from the BDD FUNCTIONS manual (section 3, bestie, we're in library-call territory β¨). Sit down, grab a boba, and let's talk about making association variables. π§
π NAME π
addbddassoc β creates a new association variables. π
That's it. That's the job. She makes you a fresh variable association and she does it slayfully. π
ποΈ ORIGIN ποΈ
This software belongs to the ALLIANCE CAD SYSTEM developed by the ASIM team at 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... a whole French research institution made this. Iconic behaviour fr fr. π«π·π
β¨ SYNOPSIS β¨
#include "bdd101.h"
bddassoc βaddbddassoc( BddSystem )
bddsystem βBddSystem;
one function, one argument, zero drama. π
π PARAMETERS π
BddSystemβ the bdd system. that's the vibe. that's the whole parameter. π«
π¦ DESCRIPTION π¦
addbddassoc creates a new association variables in the bdd system BddSystem. π«Ά
and listen β if you hand her a null pointer, she's not gonna be mad, she's just gonna use the default bdd system instead. no cap. π
β RETURN VALUE β
addbddassoc returns a pointer to the new variable association. πβ¨
π ERRORS π
"no more variable association, error !"β There is no variable association number left.
like... you ran out. she has nothing left to give. the association economy has collapsed. π
π EXAMPLE π
okay bestie here's the full run, verbatim, don't touch a single character: π₯
#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 );
not the hello_world circuit ππ and it even tells you what it displays: ((i3 or i2) and i1). she ATE and left no crumbs. π₯
πΈ SEE ALSO πΈ
bdd(1)β go read her too, she's the main character of the family. π«Ά
π BUG REPORT π
This tool is under development at the ASIM department of the LIP6 laboratory.
We need your feedback to improve documentation and tools.
bestie they are literally asking for feedback. give them the feedback. don't leave them on read. π
and that's the whole page, no notes. π
signed off from ASIM/LIP6, dated October 1, 1997 β yes bestie, the nineteen ninety seven, she's vintage, she's archival, she's timeless, and she's still out here documenting BDD associations like the absolute icon she is. πβ¨
π¦ 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