CONVERTBDDINDEXABL(3)

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

🌸 NAME 🌸

okay bestie, welcome to the convertbddindexabl(3) page β€” this one is all about converting a bdd index to an abl expression ✨


πŸ’– 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. πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

#include "bdd101.h"
chain_list *convertbddnodeabl( BddSystem, NameArray, IndexArray, BddNode )
  bddsystem βˆ—BddSystem;
  char     βˆ—βˆ—NameArray;
  bddindex  βˆ—IndexArray;
  bddindex      Index;
tiny heads-up, bestie: the NAME says convertbddindexabl, while the SYNOPSIS literally spells the function convertbddnodeabl, and the call has BddNode while the parameter is named Index. Keep it exactly as written β€” no β€œfixing” it, iykyk πŸ’…

🌈 PARAMETERS 🌈

  • BddSystem β€” the bdd system.
  • NameArray β€” the array of names.
  • IndexArray β€” the array of indexes.
  • Index β€” the bdd index to convert.

✨ DESCRIPTION ✨

convertbddindexabl converts the bdd index Index to an abl expression in the bdd system BddSystem. If a null pointer is given, the default bdd system is used. 🫢

The NameArray, and IndexArray parameters are used to translate the variable nodes into atomic expressions.

The array NameArray is list of names. The array IndexArray does the correspondence between a bdd index and a slot in the NameArray. If the IndexArray parameter is a null pointer, then the name of the bdd index BDD_INDEX_MIN is assumed to be the first slot of the NameArray, and so on. πŸ’–


🌟 RETURN VALUE 🌟

convertbddindexabl returns a pointer to the abl expression translated. slay. πŸ’…


πŸŽ€ EXAMPLE πŸŽ€

#include "bdd101.h"
   bddsystem  βˆ—BddSystem;
   bddnode    βˆ—BddNode;
   chain_list βˆ—Expr;
   char       βˆ—NameArray[ 1 ];
   BddSystem = createbddsystem( 100, 1000, 100, 50000 );
   BddNode   = addbddvarlast( BddSystem );
   NameArray[ 0 ] = namealloc( "i0" );
   Expr = convertbddindexabl( BddSystem, NameArray, (bddindex βˆ—)0,  BddNode->INDEX );
   /* displays i0 */
   viewablexpr( Expr, ABL_VIEW_VHDL );
   freeablexpr( Expr );
   destroybddsystem( (bddsystem βˆ—)0 );

🌸 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. πŸ™ˆ


xoxo, source/version ASIM/LIP6 Β· date October 1, 1997 πŸ«ΆπŸ’–

πŸ“¦ where this page comes from