CONVERTBDDMUXABL(3)

๐Ÿ“ฆ version 5.1.1-unstable-2025-02, in nixos 26.05, nixpkgs unstable

okay so bestie, welcome to CONVERTBDDMUXABL(3) from the BDD FUNCTIONS manual โ€” we're doing bdd-to-abl multiplexor translation today and it's giving niche icon behavior. ๐Ÿ’–

๐ŸŽ€ NAME ๐ŸŽ€

convertbddmuxabl โ€” converts two bdd nodes to an abl multiplexor expression. no cap, that's literally the whole job. โœจ

๐Ÿฆ‹ 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. ๐ŸŒˆ

Web: http://asim.lip6.fr/recherche/alliance/

E-mail: alliance-users@asim.lip6.fr

โœจ SYNOPSIS โœจ

       #include "bdd101.h"
       chain_list *convertbddmuxabl( BddSystem, NameArray, IndexArray, Equation, BddHigh, BddLow )
         bddsystem  ฮ’ddSystem;
         char      (*NameArray;
         bddindex   ฮ™ndexArray;
         chain_list ฮ•quation;
         bddnode    ฮ’ddHigh;
         bddnode    ฮ’ddLow;

๐ŸŒธ PARAMETERS ๐ŸŒธ

  • BddSystem โ€” the bdd system, periodt.
  • NameArray โ€” the array of names. literally the name list, bestie.
  • IndexArray โ€” the array of indexes.
  • Equation โ€” the multiplexor command.
  • BddHigh โ€” the first bdd node.
  • BddLow โ€” the second bdd node.

๐Ÿ’… DESCRIPTION ๐Ÿ’…

convertbddmuxabl creates this exact abl expression: ( BddHigh AND Equation ) OR ( BddLow AND (NOT Equation ) ) 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 a list of names. The array IndexArray does the correspondence between a bdd node 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. iykyk. ๐Ÿซถ

๐Ÿซถ RETURN VALUE ๐Ÿซถ

convertbddmuxabl returns a pointer to the abl expression translated. that's it, that's the return value โ€” pointer-to-abl-expression realness. ๐Ÿ’…

๐Ÿ“ EXAMPLE ๐Ÿ“

       #include "bdd101.h"
          bddsystem  โˆ—BddSystem;
          bddnode    โˆ—BddNode1;
          bddnode    โˆ—BddNode2;
          chain_list โˆ—Expr;
          char       โˆ—NameArray[ 2 ];
          BddSystem = createbddsystem( 100, 1000, 100, 50000 );
          BddNode1  = addbddvarlast( BddSystem );
          BddNode2  = addbddvarlast( BddSystem );
          NameArray[ 0 ] = namealloc( "i0" );
          NameArray[ 1 ] = namealloc( "i1" );
          Expr = convertbddmuxabl( BddSystem, NameArray, (bddindex โˆ—)0,
                                   createablatom( "C" ),  BddNode1, BddNode2 );
          /* displays (i0 and C) or (i1 and (not C)) */
          viewablexpr( Expr, ABL_VIEW_VHDL );
          freeablexpr( Expr );
          destroybddsystem( (bddsystem โˆ—)0 );

โญ SEE ALSO โญ

go check out bdd(1) and abl(1), bestie. ๐Ÿ‘‘

๐Ÿ’€ 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 said it themselves. ๐Ÿ™ˆ


later bestie โ€” this CONVERTBDDMUXABL(3) page came from ASIM/LIP6, dated October 1, 1997, and that's the whole vibe. ๐ŸŽ€๐Ÿ’–

๐Ÿ“ฆ where this page comes from