2-D dynamic array of parameters failed

In reply to dave_59:

In reply to amy992:
Your code compiles fine on Questa. And parameters whose type are one dimensional dynamic arrays compile fine in all other implementations. Whenever you see an “unsupported” message, it means the tool recognizes valid syntax, but has not implementing it yet.
You can have parameters whose types are dynamic, but you will never be able to change the size of an array or construct a class variable.

I was using NCVerilog, and apparently the version I was using doesn’t support it at this moment. I tried Questa, and it worked. Thanks.