APPLYBDDNODENOT(3)

πŸ“¦ version 5.1.1-unstable-2025-02, in nixos 26.05, nixpkgs unstable

🌸 NAME: applybddnodenot(3) 🌸

Okay bestie, this one is applybddnodenot and it complements a bdd β€” that’s the whole assignment. Periodt. πŸ’…


✨ ORIGIN ✨

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. πŸ—Ό

πŸ¦‹ SYNOPSIS πŸ¦‹

#include "bdd101.h"
bddnode βˆ—applybddnodenot( BddSystem, BddNode )
  bddsystem βˆ—BddSystem;
  bddnode   βˆ—BddNode;

πŸŽ€ PARAMETERS πŸŽ€

  • BddSystem β€” the bdd system. Like, the whole system vibe.
  • BddNode β€” the bdd node you want to complement. That’s the glow-up target. ✨

πŸ’– DESCRIPTION πŸ’–

applybddnodenot complements BddNode in the bdd system BddSystem. If a null pointer is given, the default bdd system is used. No cap, that’s the tea. β˜•

πŸ”₯ RETURN VALUE πŸ”₯

applybddnodenot returns a pointer to the resulting bdd node with its number of external reference incremented. πŸ‘‘

🌈 EXAMPLE 🌈

Here’s the example, bestie β€” code stays exactly as it is, because we do not mess with code:

#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" ) );
   BddNode = applybddnodenot( (bddsystem βˆ—)0, decbddrefext( BddNode ) );
   Expr = convertbddcircuitabl( (bddcircuit βˆ—)0, BddNode );
   /* displays (i0 nand i1) */
   viewablexpr( Expr, ABL_VIEW_VHDL );
   freeablexpr( Expr );
   destroybddsystem( (bddsystem βˆ—)0 );
   destroybddcircuit( (bddcircuit βˆ—)0 );

πŸ‘€ SEE ALSO πŸ‘€

  • bdd(1) β€” go check that one too, iykyk. 🫢

πŸ’€ 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, your feedback matters. πŸ’Œ


πŸ’– Cute sign-off: this page is from ASIM/LIP6, dated October 1, 1997, and it’s the APPLYBDDNODENOT(3) manual β€” periodt. πŸ’…

πŸ“¦ where this page comes from