test_qoi_encoder.py
async def send(dut, pixvalue):
    """
    Send the specified pixel value to the dut.
    @param pixvalue a 3 or 4 byte RGB or RGBA value.
    """
    dut.pixel.value = pixvalue
    dut.pixel_valid.value = 1
    await ClockCycles(dut.clk, num_cycles=1)
    dut.pixel_valid.value = 0

    # wait until the dut starts transmitting
    await RisingEdge(dut.ostream_valid)

    Send the specified pixel value to the dut.
    @param pixvalue a 3 or 4 byte RGB or RGBA value.
    
Send the specified pixel value to the dut.
@param pixvalue a 3 or 4 byte RGB or RGBA value.
Send the specified pixel value to the dut . @param pixvalue a 3 or 4 byte RGB or RGBA value .
async def send(dut, pixvalue):
    dut.pixel.value = pixvalue
    dut.pixel_valid.value = 1
    await ClockCycles(dut.clk, num_cycles=1)
    dut.pixel_valid.value = 0
    await RisingEdge(dut.ostream_valid)
async def send ( dut , pixvalue ) : dut . pixel . value = pixvalue dut . pixel_valid . value = 1 await ClockCycles ( dut . clk , num_cycles = 1 ) dut . pixel_valid . value = 0 await RisingEdge ( dut . ostream_valid )
Send the specified pixel value to the dut.
Send the specified pixel value to the dut .
"""
    Send the specified pixel value to the dut.
    @param pixvalue a 3 or 4 byte RGB or RGBA value.
    """ # wait until the dut starts transmitting
dut
pixvalue