mirror of
https://github.com/verilator/verilator.git
synced 2025-01-09 16:17:36 +00:00
267c6f6dce
V3Reloop now can roll up indexed assignments between arrays if there is a constant offset between indices on the left and right hand sides, e.g.: a[0] = b[2]; a[1] = b[3]; ... a[x] = b[x + 2];
18 lines
283 B
Plaintext
18 lines
283 B
Plaintext
shift down 1
|
|
oarray[63] is 0
|
|
oarray[62] is 63
|
|
oarray[61] is 62
|
|
oarray[32] is 33
|
|
oarray[ 2] is 3
|
|
oarray[ 1] is 2
|
|
oarray[ 0] is 1
|
|
shift up 2
|
|
oarray[63] is 61
|
|
oarray[62] is 60
|
|
oarray[61] is 59
|
|
oarray[32] is 30
|
|
oarray[ 2] is 0
|
|
oarray[ 1] is 2
|
|
oarray[ 0] is 1
|
|
*-* All Finished *-*
|