def deq( s ):
    assert not s.empty()
    item = s.data.popleft()
    s.in_.rdy.next = ( len( s.data ) != s.data.maxlen )
    return item
dataset/ETHPy150Open cornell-brg/pymtl/pclib/cl/adapters.py/InValRdyQueueAdapter.deq/original