AHDL

Example of Assigning Bits in Groups of The Same Size that are Set Equal to Each Other



In the following example, each bit in the first group is connected to the corresponding bit in the second group. Bit d2 is connected to bit q8, d1 to q7, and d0 to q6:

d[2..0] = q[8..6]

In the following example, each bit in the first group is connected to the corresponding bit in the second group. Bit d1_1 is connected to bit q10, bit d1_0 to q9, bit d0_1 to q8, and bit d0_0 to q7:

d[1..0][1..0] = q[10..7]

- PLDWorld -

 

Created by chm2web html help conversion utility.