

def __init__(s, dtype, msgs, max_random_delay=0):
    s.in_ = InValRdyBundle(dtype)
    msgs.done = OutPort(1)
    s.delay = TestRandomDelay(dtype, max_random_delay)
    s.sink = TestSimpleSink(dtype, msgs)
    s.connect(s.in_, s.delay.in_)
    s.connect(s.delay.out, s.sink.in_)
    s.connect(s.sink.done, s.done)

dataset/ETHPy150Open cornell-brg/pymtl/pclib/test/TestSink.py TestSink.__init__/VarMisuse@27/37 `s`->`msgs`