I have registers in register model with name ctrl_reg['h0], ctrl_reg['h1], etc.
when I call get_reg_by_name(“ctrl_reg['h0]”), null is returned and API is unable to find the register in the model.
How do I call such a register from model?
You should check how your registers are really named in your environment.
Execute simply get_registers(arg), then you get the real names.