Constraining Array.sum( ) for One/Two Dimesional Unpacked Array

In reply to Have_A_Doubt:

If you mean the 3 main simulators on EDAplayground, those versions are fairly old. It works fine for me on Questa.

The alternative is converting your 2D array to a 1D array by calculating the index yourself.