SIMPBDDNODEDCON(3)
π
SIMPBDDNODEDCON(3) β the simpbddnodedcon glow-up era β¨
okay so bestie, welcome to SIMPBDDNODEDCON(3), a page straight out of the BDD FUNCTIONS manual. she's a libc-style page for the ALLIANCE CAD SYSTEM, and she is lowkey iconic. let's get into it π
β¨ NAME β¨
simpbddnodedcon β simplifies a bdd with don't cares on its on-set part. that's it. that's the whole gig π
π¦ ORIGIN π¦
so 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. very main character, very "i was built in a lab in paris" energy π«π·β¨
- Web :
http://asim.lip6.fr/recherche/alliance/ - E-mail :
alliance-users@asim.lip6.fr
like, the lore is right there, go read it π«Ά
πΈ SYNOPSIS πΈ
the whole vibe, verbatim:
#include "bdd101.h"
bddnode *simpbddnodedcon( BddSystem, BddOn, BddDc )
bddsystem *BddSystem;
bddnode *BddOn;
bddnode *BddDc;
three nodes walk into a function. no cap. π₯
π PARAMETERS π
BddSystemβ the bdd system. your whole little universe of nodes.BddOnβ the first bdd node. this is the one getting the makeover β¨BddDcβ the second bdd node. the "don't care" bestie doing the simplifying.
π DESCRIPTION π
simpbddnodedcon simplifies the bdd node BddOn with BddDc, in the bdd system BddSystem.
if a null pointer is given, the default bdd system is used β she's flexible like that π
β οΈ okay this is the important part, do not skip: the bdd nodeBddDcmust be included imperatively in the on-set part of the bdd nodeBddOn. like, literally mandatory. not a suggestion. not a vibe. imperative. periodt. π¨
β RETURN VALUE β
simpbddnodedcon returns the simplified bdd node. she gives back, she's generous π
π EXAMPLE π
here's the whole thing as-is, no edits, she's perfect:
#include "bdd101.h"
bddsystem *BddSystem;
bddcircuit *BddCircuit;
bddnode *BddOn;
bddnode *BddDc;
bddnode *BddNode;
chain_list *Expr;
BddSystem = createbddsystem( 100, 1000, 100, 50000 );
BddCircuit = createbddcircuit( "hello_world", 10, 10, BddSystem );
Expr = createablbinexpr( ABL_OR,
createablatom( "i0" ),
createablatom( "i1" ) );
BddOn = addbddcircuitabl( BddCircuit, Expr );
freeablexpr( Expr );
Expr = createablbinexpr( ABL_NOR,
createablatom( "i0" ),
createablatom( "i1" ) );
BddDc = addbddcircuitabl( BddCircuit, Expr );
freeablexpr( Expr );
BddNode = simpbddnodedcon( (bddsystem *)0, BddOn, BddDc );
Expr = convertbddcircuitabl( BddCircuit, BddNode );
/* displays '1' */
viewablexpr( Expr, ABL_VIEW_VHDL );
freeablexpr( Expr );
destroybddsystem( (bddsystem *)0 );
destroybddcircuit( (bddcircuit *)0 );
note the little /* displays '1' */ in there β yes bestie, that's the flex. it literally displays '1'. ate. π₯
π§ SEE ALSO π§
bdd(1)β go read it, iykyk π
π BUG REPORT π
this tool is under development at the ASIM department of the LIP6 laboratory.
they need your feedback to improve documentation and tools β so like, if something's giving broken, tell them, fr fr π«Ά
okay and that's the page!! brought to you by ASIM/LIP6, dated October 1, 1997 (yeah, she's vintage, she's a classic, she's got range π), filed under SIMPBDDNODEDCON(3). mwah πβ¨
π¦ 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