From 05f48c9bc5bbf902bbd9d0182cc513d9f38bc3f7 Mon Sep 17 00:00:00 2001 From: Andrea Fasolino <151364130+afasolino@users.noreply.github.com> Date: Wed, 29 May 2024 10:24:13 +0200 Subject: [PATCH] Update test.py --- test/test.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/test/test.py b/test/test.py index 6310300..c161af3 100644 --- a/test/test.py +++ b/test/test.py @@ -90,27 +90,27 @@ async def test_project(dut): assert dut.uio_out.value == 8 assert dut.uo_out.value == 20 - dut.ui_in.value = 4 + dut.uio_in.value = 4 await ClockCycles(dut.clk, 4) assert dut.uio_out.value == 0 - dut.ui_in.value = 0 + dut.uio_in.value = 0 await ClockCycles(dut.clk, 4) assert dut.uio_out.value == 8 assert dut.uo_out.value == 0 - dut.ui_in.value = 4 + dut.uio_in.value = 4 await ClockCycles(dut.clk, 4) - dut.ui_in.value = 0 + dut.uio_in.value = 0 await ClockCycles(dut.clk, 4) assert dut.uo_out.value == 30 - dut.ui_in.value = 4 + dut.uio_in.value = 4 await ClockCycles(dut.clk, 4) - dut.ui_in.value = 0 + dut.uio_in.value = 0 await ClockCycles(dut.clk, 4) assert dut.uo_out.value == 0 - dut.ui_in.value = 4 + dut.uio_in.value = 4