put twi_scl test back to the right mux value
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Wed, 4 Jul 2018 09:49:44 +0000 (10:49 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Wed, 4 Jul 2018 09:49:44 +0000 (10:49 +0100)
src/test_bsv/tests/test_pinmux.py

index 3da87a69054981dbd01737612a8a49006b74c640..bd55e875c3d05207a24516040773220975101a60 100644 (file)
@@ -127,14 +127,12 @@ def pinmux_twi_scl(dut):
     """Test for I2C SCL"""
     yield Timer(2)
     # mux selection lines, each input two bit wide
-    dut.mux_lines_cell0_mux_in = 1
     dut.mux_lines_cell1_mux_in = 2
-    dut.mux_lines_cell2_mux_in = 2
     yield Timer(2)
     # enable input for mux
     dut.EN_mux_lines_cell0_mux = 0
-    dut.EN_mux_lines_cell1_mux = 0
-    dut.EN_mux_lines_cell2_mux = 1
+    dut.EN_mux_lines_cell1_mux = 1
+    dut.EN_mux_lines_cell2_mux = 0
 
     yield Timer(2)