GARBAGEBDDSYSTEM(3)
πΈ GARBAGEBDDSYSTEM(3) β bdd functions, aka the cleanup crew π
okay so bestie, you found the page for garbagebddsystem β it's a section 3 manual (that's "library function" territory, iykyk) and it lives in the BDD FUNCTIONS family. Let's get into it β¨
π ORIGIN
Real talk, this software belongs to the ALLIANCE CAD SYSTEM, developed by the ASIM team at the LIP6 laboratory of UniversitΓ© Pierre et Marie CURIE, in Paris, France. Paris!! main character city fr π«π·
- Web :
http://asim.lip6.fr/recherche/alliance/ - E-mail :
alliance-users@asim.lip6.fr
β¨ SYNOPSIS
#include "bdd101.h"
void garbagebddsystem( BddSystem )
bddsystem βBddSystem;
π¦ PARAMETERS
BddSystemβ the bdd system. that's it, that's the whole parameter. one (1) thing. π«Ά
π DESCRIPTION
So here's the vibe: garbagebddsystem frees all the unused bdd nodes in the system BddSystem. genuine spring cleaning energy π§Ήβ¨
If a null pointer is given, the default bdd system is used β no need to stress about passing the right one, it'll just pick the default for you π
And what counts as "unused"? A bdd node is unused if its number of reference is null. that's the whole test, no cap.
π RETURN VALUE
garbagebddsystem returns nothing. literally nothing. void. it does the thing and dips π
π EXAMPLE
here's a whole lil program showing it off β copying it exactly because we don't do typos in this house:
#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 );
addbddcircuitin( (bddcircuit β)0, "i0", 0, BDD_IN_MODE_FIRST );
addbddcircuitin( (bddcircuit β)0, "i1", 0, BDD_IN_MODE_FIRST );
BddNode = applybddnode( (bddsystem β)0,
ABL_AND,
searchbddcircuitin( (bddcircuit β)0, "i0" ),
searchbddcircuitin( (bddcircuit β)0, "i1" ) );
decbddrefext( BddNode );
garbagebddsystem( (bddsystem β)0 );
destroybddsystem( (bddsystem β)0 );
destroybddcircuit( (bddcircuit β)0 );
like, build a system, build a circuit called "hello_world", add two inputs "i0" and "i1", AND them together, drop the external ref with decbddrefext, then sweep up with garbagebddsystem, then destroy everything. clean exit, iconic behavior π
π 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. fr fr, they're asking β send the feedback bestie, it's giving helpful π«Ά
ngl this one's short and sweet β one function, one job, zero drama. take the free win π
signed, sealed, delivered by ASIM/LIP6, dated October 1, 1997 β yeah she's a vintage icon πβ¨
π¦ 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