I’d like a parameter like this:
parameter bit GROUP [N - 1:0] = '{0:0, 1:1, 2:2, 3:3, etc...}
So each index is in its own group but in a way that an integrator can integrate the module and also override this to group some of the instances together, eg
.GROUP ('{0:0, 1:0, 2:2, 3:3, etc...})
But this is very difficult to do with a parameter of N for number of devices especially when that number can be 30 or more.
I was hoping for something like:
.GROUP = '{default: self.idx}
So that an integrator could do this:
.GROUP ('{default: self.idx, 1:0})
Is there some better way of doing this?