CONVERTBDDNODESUMABL(3)
๐ CONVERTBDDNODESUMABL(3) ๐
okay bestie, welcome to a page from the BDD FUNCTIONS manual, and today's main character is convertbddnodesumabl โ yes, that mouthful, say it with your chest ๐
โจ NAME โจ
convertbddnodesumabl โ converts a bdd node to an abl expression. that's it, that's the whole job, no notes ๐ฅ
๐ธ ORIGIN ๐ธ
so 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 ๐ซ๐ท (oui oui, iconic behavior)
- Web : http://asim.lip6.fr/recherche/alliance/
- E-mail : alliance-users@asim.lip6.fr
๐ฆ SYNOPSIS ๐ฆ
#include "bdd101.h"
chain_list *convertbddnodesumabl( BddSystem, NameArray, IndexArray, BddNode )
bddsystem โBddSystem;
char โโNameArray;
bddindex โIndexArray;
bddnode โBddNode;
look at her. four args. she's serving, she's doing her little thing, she's converting ๐
๐ PARAMETERS ๐
BddSystemโ the bdd system. that's her home base, her vibe check origin point ๐NameArrayโ the array of names. the lil name tag section โจIndexArrayโ the array of indexes. the lil number section ๐งฎBddNodeโ the bdd node to convert. the girl herself, the one we're translating ๐
๐ DESCRIPTION ๐
okay so convertbddnodesumabl converts the bdd node into a non optimal abl expression, inside the bdd system BddSystem. non optimal!! she said it herself, don't come for her, it's not that kind of function ๐ซถ
if a null pointer is given, the default bdd system is used. lowkey convenient.
the NameArray and IndexArray parameters are there to translate the variable nodes into atomic expressions. so:
- the array
NameArrayis a list of names ๐ - the array
IndexArraydoes the correspondence between a bdd node index and a slot in theNameArray๐
and here's the lil plot twist: 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. like, it just keeps going in order. no cap โจ
๐ RETURN VALUE ๐
convertbddnodesumabl returns a pointer to the abl expression translated. she gives you back the translation, periodt ๐
โญ 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 = convertbddnodesumabl( BddSystem, NameArray, (bddindex โ)0, BddNode );
/* displays i0 */
viewablexpr( Expr, ABL_VIEW_VHDL );
freeablexpr( Expr );
destroybddsystem( (bddsystem โ)0 );
not the /* displays i0 */ comment carrying the whole plot ๐ฅน she creates the system, adds a bdd var last, allocs the name "i0", converts, views it in ABL_VIEW_VHDL, frees the expression, destroys the system. clean girl routine. no leaks, we love to see it ๐
โจ
๐ SEE ALSO ๐
go read those too bestie, 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, they're literally asking, so tell them ๐ซถ
and that's the page!! shoutout to ASIM/LIP6 for this one, dated October 1, 1997 โ a vintage queen serving us bdd-to-abl realness since the 90s ๐โจ๐ no cap, slay, bye bestie ๐ฆ
๐ฆ where this page comes from
- fedora 43: alliance-devel 5.1.1-35.20160506gitd8c05cd.fc42 ยท GPL-2.0-only
- fedora 43: alliance-devel 5.1.1-35.20160506gitd8c05cd.fc42 ยท GPL-2.0-only
- fedora 44: alliance-devel 5.1.1-35.20160506gitd8c05cd.fc42 ยท GPL-2.0-only
- fedora 44: alliance-devel 5.1.1-35.20160506gitd8c05cd.fc42 ยท GPL-2.0-only
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms