Beispiel #1
0
    def __init__(self,
                 sim: HdlSimulator,
                 intf: OutOfOrderCummulativeOpIntf,
                 allowNoReset=False):
        HandshakedAgent.__init__(self, sim, intf, allowNoReset=allowNoReset)
        if intf.TRANSACTION_STATE_T is not None:
            t_st = intf.transaction_state
            t_st._initSimAgent(sim)
            self.t_st_is_primitive = not isinstance(t_st, Interface)

        if intf.MAIN_STATE_T is not None:
            m_st = intf.data
            m_st._initSimAgent(sim)
            self.m_st_is_primitive = not isinstance(m_st, Interface)
Beispiel #2
0
 def __init__(self, intf):
     HandshakedAgent.__init__(self, intf)
     self.HAS_LOOKUP_ID = bool(intf.LOOKUP_ID_WIDTH)
Beispiel #3
0
 def __init__(self, intf, allowNoReset=False):
     HandshakedAgent.__init__(self, intf, allowNoReset=allowNoReset)
     self.wData = deque()
Beispiel #4
0
 def __init__(self, intf):
     HandshakedAgent.__init__(self, intf)
     self.hasHash = bool(intf.LOOKUP_HASH)
     self.hasKey = bool(intf.LOOKUP_KEY)
     self.hasData = bool(intf.DATA_WIDTH)
Beispiel #5
0
 def __init__(self, intf):
     HandshakedAgent.__init__(self, intf)
     self.hasData = bool(intf.DATA_WIDTH)
Beispiel #6
0
 def __init__(self, sim: HdlSimulator, intf, allowNoReset=False):
     HandshakedAgent.__init__(self, sim, intf, allowNoReset=allowNoReset)
     self.wData = deque()
Beispiel #7
0
 def __init__(self, intf):
     HandshakedAgent.__init__(self, intf)
     self.dinData = deque()
Beispiel #8
0
 def __init__(self, sim: HdlSimulator, intf: "LookupKeyIntf"):
     HandshakedAgent.__init__(self, sim, intf)
     self.HAS_LOOKUP_ID = bool(intf.LOOKUP_ID_WIDTH)
Beispiel #9
0
 def __init__(self, sim: HdlSimulator, intf: "InsertIntf"):
     HandshakedAgent.__init__(self, sim, intf)
     self.hasData = bool(intf.DATA_WIDTH)
Beispiel #10
0
 def __init__(self, sim, intf):
     HandshakedAgent.__init__(self, sim, intf)
     self.dinData = deque()
     self._isMonitor = False