Source code for hwtLib.amba.sim.agentCommon
from hwt.interfaces.agents.handshaked import HandshakedAgent
[docs]class BaseAxiAgent(HandshakedAgent):
[docs] @classmethod
def get_ready_signal(cls, intf):
return intf.ready._sigInside
[docs] @classmethod
def get_valid_signal(cls, intf):
return intf.valid._sigInside