I have an dynamic array in my monitor. And I want to set its values from environment usinf uvm_config_db. I am doing this, but it doesn’t work. Is there another way to do it?
code in the monitor:
typydef enum {CC_0, CC1} unit_e;
unit_e unit [$];
`uvm_component_utils_begin( cc_monitor )
`uvm_field_queue_enum( unit_e, unit , UVM_DEFAULT )
`uvm_component_utils_end
....