nope it really is pad 2 for twi_scl...
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Wed, 4 Jul 2018 09:54:52 +0000 (10:54 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Wed, 4 Jul 2018 09:54:52 +0000 (10:54 +0100)
src/test_bsv/tests/test_pinmux.py

index bd55e875c3d05207a24516040773220975101a60..d2488d2cb5d13d0baa9a6178845a433e0ab8b8fc 100644 (file)
@@ -127,12 +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_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 = 1
-    dut.EN_mux_lines_cell2_mux = 0
+    dut.EN_mux_lines_cell1_mux = 0
+    dut.EN_mux_lines_cell2_mux = 1
 
     yield Timer(2)