From: Florent Kermarrec Date: Tue, 26 Feb 2013 22:20:29 +0000 (+0100) Subject: examples: use miscope.bridges X-Git-Tag: 24jan2021_ls180~2575^2~117 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ae900c9c16d5651566512987b6b527edbfe020b5;p=litex.git examples: use miscope.bridges --- diff --git a/examples/de0_nano/client/test_MiIo.py b/examples/de0_nano/client/test_MiIo.py index 338e09f2..e677aa8f 100644 --- a/examples/de0_nano/client/test_MiIo.py +++ b/examples/de0_nano/client/test_MiIo.py @@ -1,9 +1,5 @@ -from migScope import trigger, recorder, migIo - -import sys -sys.path.append("../../../") - -from spi2Csr.tools.uart2Spi import * +from miscope import trigger, recorder, miIo +from miscope.bridges.spi2csr.tools.uart2Spi import * #============================================================================== # P A R A M E T E R S diff --git a/examples/de0_nano/client/test_MiLa_0.py b/examples/de0_nano/client/test_MiLa_0.py index d687eae8..6011f742 100644 --- a/examples/de0_nano/client/test_MiLa_0.py +++ b/examples/de0_nano/client/test_MiLa_0.py @@ -1,11 +1,7 @@ from miscope import trigger, recorder, miIo, miLa from miscope.tools.truthtable import * from miscope.tools.vcd import * - -import sys -sys.path.append("../../../") - -from spi2Csr.tools.uart2Spi import * +from miscope.bridges.spi2csr.tools.uart2Spi import * #============================================================================== # P A R A M E T E R S diff --git a/examples/de0_nano/client/test_MiLa_1.py b/examples/de0_nano/client/test_MiLa_1.py index d5c2beba..6583f17c 100644 --- a/examples/de0_nano/client/test_MiLa_1.py +++ b/examples/de0_nano/client/test_MiLa_1.py @@ -1,11 +1,7 @@ from miscope import trigger, recorder, miIo, miLa from miscope.tools.truthtable import * from miscope.tools.vcd import * - -import sys -sys.path.append("../../../") - -from spi2Csr.tools.uart2Spi import * +from miscope.bridges.spi2csr.tools.uart2Spi import * #============================================================================== # P A R A M E T E R S diff --git a/examples/de1/client/test_MiIo.py b/examples/de1/client/test_MiIo.py index 338e09f2..e677aa8f 100644 --- a/examples/de1/client/test_MiIo.py +++ b/examples/de1/client/test_MiIo.py @@ -1,9 +1,5 @@ -from migScope import trigger, recorder, migIo - -import sys -sys.path.append("../../../") - -from spi2Csr.tools.uart2Spi import * +from miscope import trigger, recorder, miIo +from miscope.bridges.spi2csr.tools.uart2Spi import * #============================================================================== # P A R A M E T E R S diff --git a/examples/de1/client/test_MiLa_0.py b/examples/de1/client/test_MiLa_0.py index d687eae8..6011f742 100644 --- a/examples/de1/client/test_MiLa_0.py +++ b/examples/de1/client/test_MiLa_0.py @@ -1,11 +1,7 @@ from miscope import trigger, recorder, miIo, miLa from miscope.tools.truthtable import * from miscope.tools.vcd import * - -import sys -sys.path.append("../../../") - -from spi2Csr.tools.uart2Spi import * +from miscope.bridges.spi2csr.tools.uart2Spi import * #============================================================================== # P A R A M E T E R S diff --git a/examples/de1/client/test_MiLa_1.py b/examples/de1/client/test_MiLa_1.py index d5c2beba..6583f17c 100644 --- a/examples/de1/client/test_MiLa_1.py +++ b/examples/de1/client/test_MiLa_1.py @@ -1,11 +1,7 @@ from miscope import trigger, recorder, miIo, miLa from miscope.tools.truthtable import * from miscope.tools.vcd import * - -import sys -sys.path.append("../../../") - -from spi2Csr.tools.uart2Spi import * +from miscope.bridges.spi2csr.tools.uart2Spi import * #============================================================================== # P A R A M E T E R S