I have read a lot about modports on various sites, but I am not clear on how exactly they help restrict access in an interface where signals are inout by default. My understanding is only at this basic level - we don’t want both TB and DUT driving a signal inside the interface, leading to an “x”.
Two questions, please help :
- Do I really need modports?
- Simple explanation of the “need for modports”.
Thanks