AHDL

Group Ranges & Subranges



Ranges of single- or dual-range group names can consist of numbers or arithmetic expressions that are separated by two periods (..) and enclosed in brackets [].  Example

Regardless of whether a range delimiter is a number or an arithmetic expression, the Compiler resolves and interprets the delimiters as decimal values (integers).

Subranges include a subset of the nodes specified in a declared group, and can be specified in a number of ways. Commas can be used as placeholders only in groups on the left of a Boolean equation or in an in-line logic function reference.  Example

Ranges are normally listed in descending order. To list ranges in ascending order or in both ascending and descending order, you must specify the BIT0 option with the Options Statement to prevent the Compiler from issuing warning messages. In dual-range group names, the BIT0 option affects both of the ranges.


Back to Top

- PLDWorld -

 

Created by chm2web html help conversion utility.