remove spurious timer pulse, add log message, io1_cell is z (tristate). odd
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Mon, 2 Jul 2018 22:32:30 +0000 (23:32 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Mon, 2 Jul 2018 22:32:30 +0000 (23:32 +0100)
src/test_bsv/tests/test_pinmux.py

index 8e33e9af2e1bccaaa2fed91e0860d7f6011045f3..9ebc787d65de5c96d09e7a4e84f22bedae108e1c 100644 (file)
@@ -100,14 +100,14 @@ def pinmux_basic_test(dut):
             "uart_tx=0/mux=0/out=1 %s iocell_io0 != 0" %
             str(dut.iocell_side_io0_cell_out))
 
-    yield Timer(2)
-
     # TWI
     yield Timer(2)
     # define input variables
     dut.peripheral_side_twi_sda_out_in = 0
     dut.peripheral_side_twi_sda_outen_in = 1
 
+    dut._log.info("io1_out %s" % dut.iocell_side_io1_cell_out)
+
     yield Timer(2)
     # Test for out for twi_sda
     if dut.iocell_side_io1_cell_out != 0: