Example #1
0
    def _declr(self):
        Axi_id._declr(self)
        self.found = Signal()
        self.addr = VectSignal(self.ADDR_WIDTH)
        if self.WAY_CNT > 1:
            self.way = VectSignal(log2ceil(self.WAY_CNT - 1))
        if self.TAG_T is not None:
            self.tags = HObjList(HdlType_to_Interface().apply(self.TAG_T)
                                 for _ in range(self.WAY_CNT))

        HandshakeSync._declr(self)
Example #2
0
 def _declr(self):
     Axi3Lite_addr._declr(self)
     Axi_id._declr(self)
     self.burst = VectSignal(2)
     self.cache = VectSignal(4)
     self.len = VectSignal(self.LEN_WIDTH)
     self.lock = VectSignal(self.LOCK_WIDTH)
     self.prot = VectSignal(3)
     self.size = VectSignal(3)
     if self.USER_WIDTH:
         self.user = VectSignal(self.USER_WIDTH)
Example #3
0
    def _declr(self):
        Axi_id._declr(self)

        if self.DEST_WIDTH:
            self.dest = VectSignal(self.DEST_WIDTH)

        self.data = VectSignal(self.DATA_WIDTH)

        if self.USE_STRB:
            Axi_strb._declr(self)

        if self.USE_KEEP:
            self.keep = VectSignal(self.DATA_WIDTH // 8)

        Axi_user._declr(self)
        self.last = Signal()

        super(AxiStream, self)._declr()
Example #4
0
File: axis.py Project: Nic30/hwtLib
    def _declr(self):
        Axi_id._declr(self)

        if self.DEST_WIDTH:
            self.dest = VectSignal(self.DEST_WIDTH)

        self.data = VectSignal(self.DATA_WIDTH)

        if self.USE_STRB:
            Axi_strb._declr(self)

        if self.USE_KEEP:
            self.keep = VectSignal(self.DATA_WIDTH // 8)

        Axi_user._declr(self)
        self.last = Signal()

        super(AxiStream, self)._declr()
Example #5
0
 def _declr(self):
     Axi_id._declr(self)
     Axi4Lite_b._declr(self)
Example #6
0
 def _declr(self):
     Axi_id._declr(self)
     Axi4Lite_addr._declr(self)
Example #7
0
 def _declr(self):
     Axi_id._declr(self)
     Axi3Lite_r._declr(self)
     self.last = Signal()