AHDL

Example of Single-Range Group Names



a[4..1] is a group with members a4, a3, a2, and a1.

d[B"10"..B"00"] is a group with members d2, d1, and d0.

b[2*2..2-1] is a group with members b4, b3, b2, and b1. The group range delimiters are defined with arithmetic expressions.

q[EX..0] is a legal group if the constant EX has been previously defined in a Constant Statement.

c[MIN(a,b)..0] is a legal group if the evaluated function MIN has been previously defined in a Define Statement.

t[WIDTH-1..0] is a legal group if the parameter WIDTH has been previously defined in a Parameters Statement.


Back to Top

- Altera -

 

Created by chm2web html help conversion utility.