SIMPLIFDCZEROBDD(3)

πŸ“¦ version 5.1.1-unstable-2025-02, in nixos 26.05, nixpkgs unstable

okay so welcome to SIMPLIFDCZEROBDD(3), the BDD functions manual page β€” we're about to simp a BDD with don't cares on its off-set part, and honestly? it's giving C-library main character energy. πŸ’…βœ¨

🌸 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


✨ NAME ✨

simplifDcZeroBdd β€” simplifies a BDD with don't cares on its off-set part. that's the whole job, bestie. 🫢

πŸ’… SYNOPSIS πŸ’…

#include "logmmm.h"
pNode simplifDcZeroBdd(pBdd1,pBdd2)
pNode pBdd1;
pNode pBdd2;

πŸŽ€ PARAMETERS πŸŽ€

  • pBdd1 β€” the BDD to simplify. this is the one getting the glow-up. ✨
  • pBdd2 β€” the "don't care" function. yes, that's literally what it's called. πŸ¦‹

πŸ¦‹ DESCRIPTION πŸ¦‹

simplifDcZeroBdd() simplifies pBdd1 with pBdd2. and here's the important rule, no skipping: pBdd2 must be included imperatively in the off-set part of pBdd1. not "maybe", not "if it vibes" β€” imperatively. 😭

This function returns a BDD that depends to the order of the BDD.

πŸ”₯ EXAMPLE πŸ”₯

okay this is the code, verbatim, no cap:

#include "mutnnn.h"      /* mbk utilities */
#include "logmmm.h"
pNode nodeA,NodeB;
pNode res,res1,res2;

initializeBdd(SMALL_BDD);
nodeA = createNodeTermBdd(3);
nodeB = createNodeTermBdd(3);
res1 = applyBinBdd(OR,nodeA,nodeB);     /* res1 = (OR a b) */
res2 = applyBinBdd(NOR,nodeA,nodeB);    /* res2 = (NOR a b) */
res = simplifDcZeroBdd(res1,res2); /* res1 and res2 = 0 */
displayBdd(res,1);

/* it will display
@res   ONE
*/

destroyBdd(1);

and yes, that display is literally:

@res   ONE

slay. 🌟

🌈 SEE ALSO 🌈

go read log(1), bdd(1), simplifDcOneBdd(3), applyBdd(3), notBdd(3), constraintBdd(3), applyBinBdd(3), addListBdd(3), displayBdd(3), createNodeTermBdd(3). periodt. πŸ‘‘

πŸ’€ BUG REPORT πŸ’€

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

We need your feedback to improve documentation and tools.

like fr fr, ur feedback matters. 🫢


mwah πŸ’‹ β€” this page is from ASIM/LIP6, dated October 1, 1997, and it's the SIMPLIFDCZEROBDD(3) page. bye bestie πŸŽ€πŸŒˆ

πŸ“¦ where this page comes from