Skip to content

Commit

Permalink
feat: slice bit by bit
Browse files Browse the repository at this point in the history
  • Loading branch information
Elizabeth-0 committed Nov 8, 2024
1 parent 5b0f5a6 commit d60ff5f
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 @@ -37,10 +37,10 @@ async def test_tt_um_waves(dut):
await ClockCycles(dut.clk, 10)

# Track wave selection by observing UART changes
initial_wave_selection = dut.uo_out[0:3].value
initial_wave_selection = (dut.uo_out[0].value, dut.uo_out[1].value, dut.uo_out[2].value)
await send_uart_byte(dut, 0x31) # Send UART byte '1' to change frequency
await ClockCycles(dut.clk, 500)
new_wave_selection = dut.uo_out[0:3].value
new_wave_selection = (dut.uo_out[0].value, dut.uo_out[1].value, dut.uo_out[2].value)
assert new_wave_selection != initial_wave_selection, "Expected change in wave selection after UART command"

# Simulate ADSR modulation by setting attack, decay, sustain, release
Expand Down

0 comments on commit d60ff5f

Please sign in to comment.