Example #1
0
 def __init__(self, clk=None, itype=v_slv(16), depth=10):
     super().__init__(clk)
     self.Axi_in = port_Stream_Slave(ahe.axisStream(itype))
     self.Axi_out = port_Stream_Master(ahe.axisStream(itype))
     self.depth = v_const(v_int(depth))
     self.array_size = v_const(v_int(2**value(depth)))
     self.architecture()
Example #2
0
 def __init__(self, k_globals=None, InputType=v_slv(32), Delay=0):
     super().__init__()
     self.globals = port_Slave(klm_globals())
     if k_globals != None:
         self.globals << k_globals
     self.ConfigIn = port_Stream_Slave(ahe.axisStream(InputType))
     self.ConfigOut = port_Stream_Master(ahe.axisStream(InputType))
     self.Delay = Delay
     self.architecture()
Example #3
0
    def __init__(self, clk, outputType=v_slv(32)):
        super().__init__(clk)

        self.DataOut = port_Stream_Master(ahe.axisStream(outputType))
        self.architecture()