Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
SIMPDUPABLEXPR(3)		 ABL FUNCTIONS		     SIMPDUPABLEXPR(3)

NAME
       simpdupablexpr -	duplicates and simplies	an expression.

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

PARAMETERS
       Expr		   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).

ASIM/LIP6			October	1, 1997		     SIMPDUPABLEXPR(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=simpdupablexpr&sektion=3&manpath=FreeBSD+Ports+15.0>

home | help