Skip to content

Commit

Permalink
Update test.py
Browse files Browse the repository at this point in the history
Correct for first aux output update delay
  • Loading branch information
b-etz authored Sep 3, 2024
1 parent 3d500da commit fd47675
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ async def test_project(dut):
# Keep testing the module by changing the input values, waiting for
# one or more clock cycles, and asserting the expected output values.
dut.uio_in.value = 0x02 # Send a dah first
await ClockCycles(dut.clk,100)
await ClockCycles(dut.clk,3000)
dut.uio_in.value = 0x03 # Press the dit too (start iambic behavior)
await ClockCycles(dut.clk,1)
await ClockCycles(dut.clk,3000)

assert dut.uo_out.value == 0x00
assert dut.uio_oe.value == 0x3C
Expand Down

0 comments on commit fd47675

Please sign in to comment.