RELPRODBDDNODEASSOC(3)
๐ RELPRODBDDNODEASSOC(3) โ BDD FUNCTIONS, bestie edition ๐
okay so this is the manual page for relprodbddnodeassoc from the BDD FUNCTIONS girlies, and we're gonna get you comfy with it. no cap. ๐
๐ธ NAME ๐ธ
relprodbddnodeassoc โ computes a relational product. that's the whole assignment, and it ate. โจ
๐ฆ 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
โจ SYNOPSIS โจ
the include + signature vibe is exactly this, bestie:
#include "bdd101.h"
bddnode โrelprodbddnodeassoc( BddSystem, BddNode1, BddNode2, BddAssoc )
bddsystem โBddSystem;
bddnode โBddNode1;
bddnode โBddNode2;
bddassoc โBddAssoc;
๐ PARAMETERS ๐
BddSystemโ the bdd system. main character system energy.BddNode1โ the first bdd node.BddNode2โ the second bdd node.BddAssocโ the variable association.
๐ DESCRIPTION ๐
ok so relprodbddnodeassoc computes BddNode1 AND BddNode2, and suppress the variables associated with something in the variable association BddAssoc, in the bdd system BddSystem. that's the tea. ๐ซ
If a null pointer is given, the default bdd system is used. periodt.
๐ RETURN VALUE ๐
relprodbddnodeassoc returns the computed bdd node. that's the return value, and it's iconic. ๐
๐ญ ERRORS ๐ญ
"bad variable association xxx, error !"
BddAssoc must be a valid variable association. no valid assoc? it's giving error message, bestie. ๐
๐ฅ EXAMPLE ๐ฅ
here's the example, copied exactly so you can run the vibe check:
#include "bdd101.h"
bddsystem โBddSystem;
bddcircuit โBddCircuit;
bddnode โBddNode;
bddnode โBddNode1;
bddnode โBddNode2;
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" ) );
BddNode1 = addbddcircuitabl( BddCircuit, Expr );
freeablexpr( Expr );
Expr = createablbinexpr( ABL_OR,
createablatom( "i0" ),
createablatom( "i1" ) );
BddNode2 = 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, BddSystem->ONE );
BddNode = relprodbddnodeassoc( (bddsystem โ)0, BddNode1, BddNode2, Assoc );
Expr = convertbddcircuitabl( BddCircuit, BddNode );
/* displays i1 */
viewablexpr( Expr, ABL_VIEW_VHDL );
freeablexpr( Expr );
destroybddassoc( (bddsystem โ)0 );
destroybddsystem( (bddsystem โ)0 );
destroybddcircuit( (bddcircuit โ)0 );
๐ SEE ALSO ๐
bdd(1)โ go look, 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. ๐ซถ
cute little sign-off: source/version is ASIM/LIP6, date is October 1, 1997, and the page is RELPRODBDDNODEASSOC(3). slay and read the docs. ๐
๐ฆ 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