From 6066bc851dd50d34d0c747ee02bfcee852d85115 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Mon, 2 Jul 2018 23:22:28 +0100 Subject: [PATCH] moving enablers for twi_scl to where twi_scl is set up. this is important because two changes at once might cause problems --- src/test_bsv/tests/test_pinmux.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/test_bsv/tests/test_pinmux.py b/src/test_bsv/tests/test_pinmux.py index e016ac9..b708c30 100644 --- a/src/test_bsv/tests/test_pinmux.py +++ b/src/test_bsv/tests/test_pinmux.py @@ -108,8 +108,6 @@ def pinmux_basic_test(dut): # define input variables dut.peripheral_side_twi_sda_out_in = 0 dut.peripheral_side_twi_sda_outen_in = 1 - dut.peripheral_side_twi_scl_out_in = 0 - dut.peripheral_side_twi_scl_outen_in = 1 yield Timer(2) # Test for out for twi_sda @@ -161,7 +159,9 @@ def pinmux_basic_test(dut): yield Timer(2) -# Test for out for twi_scl + # Test for out for twi_scl + dut.peripheral_side_twi_scl_out_in = 0 + dut.peripheral_side_twi_scl_outen_in = 1 if dut.iocell_side_io2_cell_out != 0: raise TestFailure( "twi_scl=0/mux=0/out=1 %s iocell_io2 != 0" % -- 2.30.2