DECBDDREFINT(3)
okay so this is DECBDDREFINT(3), from the BDD FUNCTIONS manual, and we're about to talk about decrementing the internal reference of a bdd node. Bestie, it's giving tiny-but-important π₯
π NAME π
decbddrefint β decrements the internal reference of a bdd node. That's the whole name, no cap π
πΈ ORIGIN πΈ
This software belongs to the ALLIANCE CAD SYSTEM, developed by the ASIM team at the LIP6 laboratory of UniversitοΏ½ Pierre and Marie CURIE, in Paris, France. Slay.
- Web :
http://asim.lip6.fr/recherche/alliance/ - E-mail :
alliance-users@asim.lip6.fr
β¨ SYNOPSIS β¨
#include "bdd101.h"
bddnode βdecbddrefint( BddNode )
bddnode βBddNode;
π PARAMETERS π
BddNodeβ the bdd node. Yes, that one, bestie π«Ά
π¦ DESCRIPTION π¦
decbddrefint decrements the number of internal reference of the bdd node BddNode. That's it. That's the vibe. π
π RETURN VALUE π
decbddrefint returns the BddNode pointer. It's giving return-the-pointer energy β¨
π ERRORS π
If the node doesn't have a positive number of internal reference, you get:
"negative reference, index xxx error !"
The BddNode must have a positive number of internal reference. No cap π«Ά
π₯ EXAMPLE π₯
Okay bestie, here's the example exactly as it lives in the manual β don't let the pointer casts scare you, they're just doing their thing π
#include "bdd101.h"
bddsystem βBddSystem;
bddcircuit βBddCircuit;
bddnode βBddNode;
chain_list βExpr;
BddSystem = createbddsystem( 100, 1000, 100, 50000 );
BddCircuit = createbddcircuit( "hello_world", 10, 10, BddSystem );
BddNode = addbddcircuitin( (bddcircuit β)0, "i0", 0, BDD_IN_MODE_FIRST );
BddNode = addbddnode( (bddsystem β)0, BddNode->INDEX, BddNode->LOW, BddNode->HIGH );
Expr = convertbddcircuitabl( (bddcircuit β)0, BddNode );
incbddrefint( BddNode );
decbddrefint( BddNode );
/* displays Node VAR: 0 INDEX: 2 MARK: 0 REF_EXT: 1 REF_INT: 0 */
viewbddnode( (bddsystem β)0, BddNode );
/* displays (not i0) */
viewablexpr( Expr, ABL_VIEW_VHDL );
freeablexpr( Expr );
destroybddsystem( (bddsystem β)0 );
destroybddcircuit( (bddcircuit β)0 );
β SEE ALSO β
bdd(1)β literally go see it, bestie π
π«Ά BUG REPORT π«Ά
This tool is under development at the ASIM department of the LIP6 laboratory. We need your feedback to improve documentation and tools. So if you've got notes, send them β they're literally asking π«Ά
xoxo, ASIM/LIP6 Β· October 1, 1997 Β· DECBDDREFINT(3) π
π¦ 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