@with_setup(clear)
@svgen_check(['sieve_0v2_3_5v7.sv'])
def test_queue():
    iout = Intf(Queue[(Uint[2], 6)])[:2, 3, 5:]
    assert (iout.dtype == Queue[(Uint[2], 4)])
@with_setup(clear)
@svgen_check(['sieve_0v2_3_5v7.sv'])
def test_queue():
    iout = Intf(Queue[(Uint[2], 6)])[:2, 3, 5:]
    assert (iout.dtype == Queue[(Uint[2], 4)])