VIEWBDDNODE(3)
π VIEWBDDNODE(3) β the bdd function that shows u a node π
ok so bestie, welcome to viewbddnode(3), a lil function from the BDD FUNCTIONS crew π«Ά this is the one that literally just displays a bdd node. that's it. that's the job. iconic behavior honestly β¨
πΈ ORIGIN πΈ
this software belongs to the ALLIANCE CAD SYSTEM, which was cooked up 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
like. paris. the math girlies really said "we're built different" and they were right ππ
β¨ SYNOPSIS β¨
#include "bdd101.h"
void viewbddnode( BddSystem, BddNode )
bddsystem βBddSystem;
bddnode βBddNode;
π PARAMETERS π
BddSystemβ the bdd system, aka the whole vibe container π«BddNodeβ the bdd node u want to display, the main character of this whole function ngl π
π DESCRIPTION π
viewbddnode displays the node BddNode, inside the bdd system BddSystem π
and here's the cute lil plot twist: if u hand it a null pointer, it just uses the default bdd system instead. lowkey forgiving of it honestly πβ¨
π¦ RETURN VALUE π¦
viewbddnode returns nothing. no value. no drama. it just shows up, does the display, and leaves. queen behavior fr fr π
π EXAMPLE π
#include "bdd101.h"
bddsystem βBddSystem;
bddcircuit βBddCircuit;
bddnode βBddNode;
chain_list βExpr;
BddSystem = createbddsystem( 100, 1000, 100, 50000 );
BddCircuit = createbddcircuit( "hello_world", 10, 10, BddSystem );
addbddcircuitin( (bddcircuit β)0, "i0", 0, BDD_IN_MODE_FIRST );
addbddcircuitin( (bddcircuit β)0, "i1", 0, BDD_IN_MODE_FIRST );
BddNode = applybddnode( (bddsystem β)0,
ABL_AND,
searchbddcircuitin( (bddcircuit β)0, "i0" ),
searchbddcircuitin( (bddcircuit β)0, "i1" ) );
Expr = convertbddcircuitabl( (bddcircuit β)0, BddNode );
/* displays (i0 and i1) */
viewablexpr( Expr, ABL_VIEW_VHDL );
freeablexpr( Expr );
/* displays Node VAR: 0 INDEX: 2 MARK: 0 REF_EXT: 1 REF_INT: 0 */
viewbddnode( (bddsystem β)0, BddNode );
destroybddsystem( (bddsystem β)0 );
destroybddcircuit( (bddcircuit β)0 );
ok so walk with me bestie πΆβοΈπ¨ β u spin up a system with createbddsystem( 100, 1000, 100, 50000 ), build a circuit called "hello_world" (yes ma'am, hello world but make it bdd), add the inputs "i0" and "i1" with BDD_IN_MODE_FIRST, then applybddnode with ABL_AND to AND them together. then convertbddcircuitabl turns it into an expr, viewablexpr( Expr, ABL_VIEW_VHDL ) shows u (i0 and i1), u free the expr, and then the moment we've all been waiting for: viewbddnode( (bddsystem β)0, BddNode ) pops off and displays:
Node VAR: 0 INDEX: 2 MARK: 0 REF_EXT: 1 REF_INT: 0
and then u clean up with destroybddsystem and destroybddcircuit because we're responsible girlies, we always clean up our mess π§Ήβ¨
π SEE ALSO π
π BUG REPORT π
this tool is under development at the ASIM department of the LIP6 laboratory π§
we need ur feedback to improve documentation and tools. so like. pls tell them. they're literally asking. send the email bestie, it's giving community service π«Άπ¬
ngl a tool that's still in development + a function that returns nothing = chaos energy, but she's doing her best and honestly? we respect it π
that's the whole page, no notes, u ate this one β¨
this lil manual page came from ASIM/LIP6, dated October 1, 1997 β yeah she's vintage, she's a classic, she's serving retro πΎπ mwah, stan a 90s bdd function fr fr π
π¦ 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