Scroll to navigation

SIMPDUPABLEXPR(3) ABL FUNCTIONS SIMPDUPABLEXPR(3)

NAME

simpdupablexpr - duplicates and simplies an 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.

Web : http://asim.lip6.fr/recherche/alliance/
E-mail : alliance-users@asim.lip6.fr

SYNOPSYS

#include "abl101.h"
chain_list ∗simpdupablexpr( Expr )

chain_list ∗Expr;

PARAMETERS

Expression to simplfy.

DESCRIPTION

simpdupablexpr simplifies Expr.

RETURN VALUE

simpdupablexpr returns a pointer to the simplied expression.

EXAMPLE

#include "abl101.h"

chain_list ∗Expr;
chain_list ∗ExprSimp;
Expr = createablbinexpr( ABL_AND,
createablatom( "'0'" ),
createablatom( "'1'" ) );
ExprSimp = simpdupablexpr( Expr );
/* displays ('0' and '1') '0' */
viewablexpr( Expr, ABL_VIEW_VHDL );
viewablexpr( ExprSimp, ABL_VIEW_VHDL );

SEE ALSO

abl(1), simpdupablexpr(3).

BUG REPORT

This tool is under development at the ASIM department of the LIP6 laboratory.
We need your feedback to improve documentation and tools.

October 1, 1997 ASIM/LIP6