From: Florent Kermarrec Date: Thu, 18 Dec 2014 15:45:12 +0000 (+0100) Subject: test: clean up imports X-Git-Tag: 24jan2021_ls180~2572^2~101 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9789a78aab21e985bcdccf9cb3876eb4c52bb521;p=litex.git test: clean up imports --- diff --git a/lib/sata/test/bist_tb.py b/lib/sata/test/bist_tb.py index c48141cc..dd17fc2e 100644 --- a/lib/sata/test/bist_tb.py +++ b/lib/sata/test/bist_tb.py @@ -1,9 +1,3 @@ -import random, copy - -from migen.fhdl.std import * -from migen.genlib.record import * -from migen.sim.generic import run_simulation - from lib.sata.common import * from lib.sata import SATACON from lib.sata.bist import SATABIST diff --git a/lib/sata/test/command_tb.py b/lib/sata/test/command_tb.py index cb0c2137..cd1e073e 100644 --- a/lib/sata/test/command_tb.py +++ b/lib/sata/test/command_tb.py @@ -1,9 +1,3 @@ -import random - -from migen.fhdl.std import * -from migen.genlib.record import * -from migen.sim.generic import run_simulation - from lib.sata.common import * from lib.sata.link import SATALink from lib.sata.transport import SATATransport diff --git a/lib/sata/test/common.py b/lib/sata/test/common.py index c908debf..1908164b 100644 --- a/lib/sata/test/common.py +++ b/lib/sata/test/common.py @@ -1,5 +1,9 @@ import random, copy +from migen.fhdl.std import * +from migen.genlib.record import * +from migen.sim.generic import run_simulation + from lib.sata.common import * def seed_to_data(seed, random=True): diff --git a/lib/sata/test/crc_tb.py b/lib/sata/test/crc_tb.py index 995250ad..4fb47fff 100644 --- a/lib/sata/test/crc_tb.py +++ b/lib/sata/test/crc_tb.py @@ -1,7 +1,5 @@ import subprocess -from migen.fhdl.std import * - from lib.sata.common import * from lib.sata.link.crc import * diff --git a/lib/sata/test/hdd.py b/lib/sata/test/hdd.py index c327632d..371d4c1a 100644 --- a/lib/sata/test/hdd.py +++ b/lib/sata/test/hdd.py @@ -1,8 +1,6 @@ import subprocess import math -from migen.fhdl.std import * - from lib.sata.common import * from lib.sata.test.common import * diff --git a/lib/sata/test/link_tb.py b/lib/sata/test/link_tb.py index d4de61dc..cf97ff04 100644 --- a/lib/sata/test/link_tb.py +++ b/lib/sata/test/link_tb.py @@ -1,9 +1,3 @@ -import random - -from migen.fhdl.std import * -from migen.genlib.record import * -from migen.sim.generic import run_simulation - from lib.sata.common import * from lib.sata.link import SATALink diff --git a/lib/sata/test/scrambler_tb.py b/lib/sata/test/scrambler_tb.py index 68e4315e..42fdf699 100644 --- a/lib/sata/test/scrambler_tb.py +++ b/lib/sata/test/scrambler_tb.py @@ -1,7 +1,5 @@ import subprocess -from migen.fhdl.std import * - from lib.sata.common import * from lib.sata.link.scrambler import *