Thank you for your reply.
I am using OVM. We have already built our register model. But the problem is when we write into a register, it shows error and the best way to debug them is to exclude those exclude certain fields of that register from writing. Is there any way to do this?