simpdupablexpr(3)

simpdupablexpr3

Duplicates and simplies an expression.

Synopsys

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

Parameters

Expr

Expression to simplfy.

Overview

simpdupablexpr simplifies Expr.

Return value

simpdupablexpr returns a pointer to the simplied expression.

Examples

#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 );

Releases

4 releases since Debian 7 (Wheezy); the text changed 1 time.

  1. 7–8
  2. 9–10

From alliance 5.1.1-3 in Debian 10 (Buster). Parsed by carta from the page's man source.