SIMPBDDNODEDCOFF(3)
π
SIMPBDDNODEDCOFF(3) β the bdd functions era, bestie
okay so this is a bdd functions man page, and no, I'm not gonna make you read the boring version. sit down, hydrate, and let's get into it π«Ά
β¨ NAME β¨
simpbddnodedcoff β literally simplifies a bdd with don't cares sitting on its off-set part. that's the whole gig. no cap.
πΈ ORIGIN πΈ
bestie this software has main character energy from way back β it 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
like, the lore is real. respect the ancestors π
π SYNOPSIS π
#include "bdd101.h"
bddnode βsimpbddnodedcoff( BddSystem, BddOff, BddDc )
bddsystem βBddSystem;
bddnode βBddOff;
bddnode βBddDc;
yes the β is doing its own thing, that's just how they wrote it back in the day, don't come for her π
π¦ PARAMETERS π¦
BddSystemβ the bdd system. the whole vibe container, if you will π«BddOffβ the first bdd node. the one getting simplified.BddDcβ the second bdd node. the don't-care icon doing the simplifying.
π₯ DESCRIPTION π₯
simpbddnodedcoff simplifies the bdd node BddOff with BddDc, inside the bdd system BddSystem. it's giving "glow-up, but make it boolean" β¨
if you hand it a null pointer, it just uses the default bdd system β lowkey convenient, honestly.
β οΈ important, fr fr: the bdd nodeBddDcmust be included imperatively in the off-set part of the bdd nodeBddOff. like, that's not a suggestion, that's the assignment. do not test her.
π RETURN VALUE π
simpbddnodedcoff returns the simplified bdd node. slay. that's it. that's the return value π
π EXAMPLE π
here's the whole flex, verbatim, because I would never do you dirty by paraphrasing code:
#include "bdd101.h"
bddsystem βBddSystem;
bddcircuit βBddCircuit;
bddnode βBddOff;
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" ) );
BddOff = addbddcircuitabl( BddCircuit, Expr );
freeablexpr( Expr );
Expr = createablbinexpr( ABL_NOR,
createablatom( "i0" ),
createablatom( "i1" ) );
BddDc = addbddcircuitabl( BddCircuit, Expr );
freeablexpr( Expr );
BddNode = simpbddnodedcoff( (bddsystem β)0, BddOff, BddDc );
Expr = convertbddcircuitabl( BddCircuit, BddNode );
/* displays '1' */
viewablexpr( Expr, ABL_VIEW_VHDL );
freeablexpr( Expr );
destroybddsystem( (bddsystem β)0 );
destroybddcircuit( (bddcircuit β)0 );
okay and notice the comment in there β /* displays '1' */ β because after all that work she really does just print 1. iconic behavior honestly π
π§ SEE ALSO π§
bdd(1)β go read it, bestie, 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 cursed, tell them. constructive vibes only, but tell them ππ«Ά
and that's the page!! footer says ASIM/LIP6, dated October 1, 1997, and the page is SIMPBDDNODEDCOFF(3) β mwah, historical. go simplify something, bestie πβ¨
π¦ 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