In reply to dave_59:
Dear Dave
Thanks for the response and the solution.
I did refer the section that you have mentioned, but I was unable to understand how to use a user-defined datatype. It would be really helpful if you could provide me a link to an example.
I believe that I need to do that to address my issue completely.
And also,
“If you need multiple drivers to the same signal, then you have to use a wire” - Do you mean to say if dut.voltage is used by more signals other than just dut_volt ?
If yes, I will need to understand how to do the special declaration!
Regards
Bhaskar