How to drive a reg/integer in a dut so as to avoid the error of Illegal combination of structural and procedural drivers

In reply to dave_59:

Thanks dave for the prompt reply. Apologies for the delay in response .
Yes you are correct i am using binds to instantiate my interface.
The first solution worked for me .