INCBDDREFEXT(3)

πŸ“¦ version 5.1.1, in fedora 43, fedora 44

πŸ’– NAME πŸ’–

okay so bestie, meet incbddrefext β€” she increments the external reference of a bdd node. that's it. that's the whole job. and she does it flawlessly, no cap. πŸ’…


🌸 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. πŸ‡«πŸ‡·βœ¨

like, academic royalty fr fr πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

#include "bdd101.h"
bddnode βˆ—incbddrefext( BddNode )
  bddnode βˆ—BddNode;

πŸŽ€ PARAMETERS πŸŽ€

  • BddNode β€” the bdd node. just the node. the one and only. she's the main character here πŸ‘‘

πŸ’… DESCRIPTION πŸ’…

so like, incbddrefext increments the number of external reference of the bdd node BddNode. that's the vibe. one node goes in, its external ref count goes up by one, and honestly? iconic. ✨


🌈 RETURN VALUE 🌈

incbddrefext returns the BddNode pointer. same pointer you handed her, she just hands it right back, glowing and slightly more referenced than before 🫢


πŸ’œ EXAMPLE πŸ’œ

#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 );
   incbddrefext( BddNode );
   /* displays Node VAR: 0  INDEX: 2  MARK: 0  REF_EXT: 2  REF_INT: 0 */
   viewbddnode( (bddsystem βˆ—)0, BddNode );
   /* displays (not i0) */
   viewablexpr( Expr, ABL_VIEW_VHDL );
   freeablexpr( Expr );
   destroybddsystem( (bddsystem βˆ—)0 );
   destroybddcircuit( (bddcircuit βˆ—)0 );

see that REF_EXT: 2?? yeah. that's her. she ate. πŸ”₯ (and shoutout to "hello_world" being the circuit name, we love a humble queen πŸ“)


πŸ‘‘ 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. πŸ₯ΊπŸ‘‰πŸ‘ˆ

like pls, they're literally asking. send the feedback. be the bestie they deserve. πŸ™ˆ


and that's the whole page, bestie!! this one came from the ASIM/LIP6 girlies, dated October 1, 1997, and it lives in the BDD FUNCTIONS manual as INCBDDREFEXT(3). stay referenced, stay external, ily πŸ’–βœ¨πŸŽ€πŸ¦‹