Variable Vector Part Select
Another ability provided in Verilog HDl is to have variable part selects of a vector. This
allows part selects to be put in for loops to select various parts of the vector. There are
two special part-select operators:
[<starting_bit>+:width] - part-select increments from starting bit
[<starting_bit>-:width] - part-select decrements from starting bit
The starting bit of the part select can be varied, but the width has to be constant.
参考文件
1:Verilog HDL A Guide to Digital Design and Synthesis, Second Edition 第48页