From ae900c9c16d5651566512987b6b527edbfe020b5 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Tue, 26 Feb 2013 23:20:29 +0100 Subject: [PATCH] examples: use miscope.bridges --- examples/de0_nano/client/test_MiIo.py | 8 ++------ examples/de0_nano/client/test_MiLa_0.py | 6 +----- examples/de0_nano/client/test_MiLa_1.py | 6 +----- examples/de1/client/test_MiIo.py | 8 ++------ examples/de1/client/test_MiLa_0.py | 6 +----- examples/de1/client/test_MiLa_1.py | 6 +----- 6 files changed, 8 insertions(+), 32 deletions(-) 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 -- 2.30.2