AHDL

Example of an Evaluated Function



In this example, the evaluated function EX is defined with an arithmetic expression and the evaluated function MIN_ARRAY_BOUND is defined using EX:

DEFINE EX(a,b) = (a > b) ? a : b;
DEFINE MIN_ARRAY_BOUND(x) = EX(0, x) + 1;

- PLDWorld -

 

Created by chm2web html help conversion utility.