I am new to UVM and trying to reduce some typing in my testcases.
For example in the code below, can I replace the “m_ral_model.cfg.” using
m_ral_model.cfg.ctrl.write (status, 32’h0);
m_ral_model.cfg.ctrl.write (status, 32’hcafe_feed);
m_ral_model.cfg.ctrl.read (status, rdata);
with m_ral_model.cfg.
.ctrl.write (status, 32’h0);
.ctrl.write (status, 32’hcafe_feed);
.ctrl.read (status, rdata);
end with;
or something similar?