SIMPLIFDCZEROBDD(3)
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
- 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