From: Luke Kenneth Casson Leighton Date: Mon, 2 Jul 2018 22:22:28 +0000 (+0100) Subject: moving enablers for twi_scl to where twi_scl is set up. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6066bc851dd50d34d0c747ee02bfcee852d85115;p=pinmux.git moving enablers for twi_scl to where twi_scl is set up. this is important because two changes at once might cause problems --- 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" %