ADDBDDASSOC(3)
π ADDBDDASSOC(3) β BDD FUNCTIONS π
okay so bestie, this is the manual page for addbddassoc β yes, the little function that makes a new association variables thing. It's giving small function, big main character energy. Let's go. π«Ά
β¨ NAME β¨
addbddassoc β creates a new association variables. periodt. π
π 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.
- Web :
http://asim.lip6.fr/recherche/alliance/ - E-mail :
alliance-users@asim.lip6.fr
π¦ SYNOPSIS π¦
#include "bdd101.h"
bddassoc βaddbddassoc( BddSystem )
bddsystem βBddSystem;
π PARAMETERS π
BddSystemβ the bdd system. that's it. that's the parameter. π
π DESCRIPTION π
addbddassoc creates a new association variables in the bdd system BddSystem. If a null pointer is given, the default bdd system is used. no cap, that's the whole vibe. β¨
π₯ RETURN VALUE π₯
addbddassoc returns a pointer to the new variable association. slay. π«Ά
π ERRORS π
"no more variable association, error !"β there is no variable association number left. and yes, the space before the exclamation is part of the string, bestie. π
πΈ EXAMPLE πΈ
okay here's the full example, copied exactly because we do not mess with code in this group chat:
#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 );
π§ 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, they want the feedback. π«Ά
source/version: ASIM/LIP6 β date: October 1, 1997. okay bye bestie, stay iconic! πβ¨
π¦ 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