CREATENODETERMBDD(3)
π CREATENODETERMBDD(3) π
okay bestie, you're in the BDD functions section and this page is about createNodeTermBdd β she creates a terminal node of variable, and the reduction table is doing main-character work behind the scenes β¨
β¨ 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 πΈ
createNodeTermBddβ creates a terminal node of variable.
π SYNOPSIS π
#include "logmmm.h"
pNode createNodeTermBdd(index)
short index;
π«Ά PARAMETER π«Ά
indexβ associated index.
π DESCRIPTION π
So createNodeTermBdd() creates a terminal node corresponding to index. Because of the reduction table, this function always returns the same pNode for a given index. And heads up: 0 and 1 index are reserved to the zero and one nodes.
π§ EXAMPLE π§
Here's the vibe in code:
#include "mutnnn.h" /* mbk utilities */
#include "logmmm.h"
pNode nodeA;
initializeBdd(SMALL_BDD);
nodeA = createNodeTermBdd(3);
displayBdd(nodeA,1);
/* it will display
@nodeA INDEX = 2 LOW = ZERO HIGH = ONE
*/
nodeA = createNodeTermBdd(3); /* nodeA doesn't change */
destroyBdd(1);
The comment is literally showing what it will display, and nodeA doesn't change when you call it again. Slay. π
π ERROR π
If your index is too low, you get this exact mood:
"createNodeTermBdd : error - index < 2"
Rule check: index must be strictly higher than 1. No exceptions, bestie. π«Ά
π₯ SEE ALSO π₯
π BUG REPORT π
This tool is under development at the ASIM department of the LIP6 laboratory. We need your feedback to improve documentation and tools. π
Source/version: ASIM/LIP6 Β· date: October 1, 1997 Β· page: CREATENODETERMBDD(3) β byeee, go make your terminal node era happen π
β¨
π¦ 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