CONVERTBDDMUXABL(3)
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
- 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