SIMPBDDNODEDCON(3)

πŸ“¦ version 5.1.1, in fedora 43, fedora 44

πŸ’– SIMPBDDNODEDCON(3) πŸ’–

okay bestie, welcome to the BDD FUNCTIONS corner of the manual, this is simpbddnodedcon(3) and she is lowkey the moment ✨


🌸 NAME 🌸

simpbddnodedcon β€” simplifies a bdd with don't cares on its on-set part.


πŸŽ€ 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. no cap, Paris. the vibe is immaculate πŸ‡«πŸ‡·


✨ SYNOPSIS ✨

#include "bdd101.h"
bddnode βˆ—simpbddnodedcon( BddSystem, BddOn, BddDc )
  bddsystem βˆ—BddSystem;
  bddnode   βˆ—BddOn;
  bddnode   βˆ—BddDc;

πŸ¦‹ PARAMETERS πŸ¦‹

  • BddSystem β€” the bdd system. it's giving the whole universe she lives in 🌌
  • BddOn β€” the first bdd node. main character energy, honestly πŸ’…
  • BddDc β€” the second bdd node. the don't-care bestie 🫢

πŸ’œ DESCRIPTION πŸ’œ

so simpbddnodedcon simplifies the bdd node BddOn with BddDc, inside the bdd system BddSystem. that's it, that's the serve ✨

If a null pointer is given, the default bdd system is used. classic.

🚨 bestie listen to me: the bdd node BddDc must be included imperatively in the on-set part of the bdd node BddOn. imperatively. like, no exceptions, no wiggle room, fr fr. don't try it πŸ’€

🌈 RETURN VALUE 🌈

simpbddnodedcon returns the simplified bdd node. she ate and left no crumbs πŸ‘‘


πŸ“ EXAMPLE πŸ“

#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 );

and yeah, it displays '1'. iconic behaviour, honestly πŸŽ€


πŸ‘‘ SEE ALSO πŸ‘‘

bdd(1)


πŸ™ˆ BUG REPORT πŸ™ˆ

This tool is under development at the ASIM department of the LIP6 laboratory.

We need your feedback to improve documentation and tools. not me begging for feedback but like... pls πŸ₯Ί


that's the whole page bestie, slay πŸ’…

ASIM/LIP6 β€” October 1, 1997 ✨ SIMPBDDNODEDCON(3) β€” yes she's been here since 1997 and she's still serving, periodt πŸ’–