Hi,
I would like to do as follows
Read a hierarchical string which is the name of a variable something like “top.agent.cfg.abc”
Assuming “abc” is and variable, i would like to set the rand_mode OFF or ON.
Essentially i want to get the string convert it to handle and use rand_mode on it
It looks like this is not possible in system verilog
I can get the handle to the variable (through vpi call) but there is no way to use rand_mode using that handle.
Can anyone suggest a method to do this?
Thanks