How to implement an assosiative array functionality using dynamic array

Why can’t you just use the SystemVerilog Associative array type?

Regards,

Mark