CREATEBDDSYSTEM(3)
π CREATEBDDSYSTEM(3) β a whole page about making a BDD system, bestie
okay so this is from the BDD FUNCTIONS manual section, and it's literally the origin story of your very own bdd system. sit down, get comfy, we're doing this π«Ά
β¨ NAME β¨
createbddsystem β creates a bdd system. that's it. that's the whole vibe. it makes one. π«
π ORIGIN π
so 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. iconic, honestly. π
- Web :
http://asim.lip6.fr/recherche/alliance/ - E-mail :
alliance-users@asim.lip6.fr
π§ SYNOPSIS π§
#include "bdd101.h"
bddsystem *createbddsystem( ModelVar, ModelOper, MaxVar, MaxNode )
long ModelVar;
long ModelOper;
long MaxVar;
long MaxNode;
like, you include the header, you call the function, you pass four longs, boom. β¨
πΈ PARAMETERS πΈ
each one of these is a long, and each one is doing its own little job:
ModelVarβ initial size of the hash table uses for a variable. it's the starting size, not the forever size, mmkay? πModelOperβ size of the hash table uses as a cache. yes bestie, a cache. we love a cache.MaxVarβ initial maximum number of variables. initial is the keyword here π₯MaxNodeβ maximum nodes allowed. the ceiling. the limit. respect it π
π¦ DESCRIPTION π¦
createbddsystem creates and initializes a bdd system. that's literally what it does β it makes one and gets it all set up and ready for you. main character energy fr fr. π
β RETURN VALUE β
createbddsystem returns a pointer to the bdd system created. that pointer is your new bestie, hold onto it, you'll need it later (see EXAMPLE, we literally pass it to destroybddsystem). π«Ά
π ERRORS π
okay so things can absolutely go wrong here, and when they do, here's what you'll see:
"system model variable xxx error !"theModelVarparameter must be a positive value. positive, bestie. not zero, not negative. π"system model oper xxx error !"theModelOperparameter must be a positive value. same rule, different parameter. π"variable xxx out of range error !"theMaxVarparameter must be less thanBDD_MAX_VAR. do not test this. it will not go well. π
ngl these are the exact strings, so if you're grepping for them, copy them character for character. xxx is doing placeholder duty in all three.
π₯ EXAMPLE π₯
here's the whole little love story β create it, do some stuff, destroy it:
#include "bdd101.h"
bddsystem *BddSystem;
BddSystem = createbddsystem( 100, 1000, 100, 50000 );
...
destroybddsystem( BddSystem );
see? 100, 1000, 100, 50000 β four values, in order, matching the four parameters. slay. π
π SEE ALSO π
bdd(1)resetbddsytem(3)destroybddsytem(3)
iykyk β those last two are spelled exactly like that in the original page, so i'm keeping them exactly like that. not a typo i invented, i promise π§
π BUG REPORT π
this tool is under development at the ASIM department of the LIP6 laboratory.
we need your feedback to improve documentation and tools. seriously, they're asking. be the feedback. β¨
and that's the whole page, bestie. no cap, every flag, every error string, every long accounted for. π
ASIM/LIP6 Β· October 1, 1997 β yeah, this one's been iconic since '97, we're just giving it the glow-up it deserves ππ¦β
π¦ 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