How to mimic static constructor in SystemVerilog? - System...
I have a parent class and a lot of child classes. And I want to instantiate all the child classes and cast them into a parent object array/queue so I can do something useful things using the parent array/queue. The code…