Initializing a multidimensional associative array

In reply to dave_59:

In reply to Witty:
Think of arrays of arrays instead of multi-dimensional arrays. Most SystemVerilog methods that operate on unpacked arrays only deal with one dimension at a time. You can do

 (noddy.exists(4) && noddy[4].exists(6))

And because SystemVerilog has expression short-circuiting, if the first term is false, the second term never evaluates. So that avoids an invalid reference.

hello, dave, would please show us how to use delete() method? i can’t figure out it.