From 9789a78aab21e985bcdccf9cb3876eb4c52bb521 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Thu, 18 Dec 2014 16:45:12 +0100 Subject: [PATCH] test: clean up imports --- lib/sata/test/bist_tb.py | 6 ------ lib/sata/test/command_tb.py | 6 ------ lib/sata/test/common.py | 4 ++++ lib/sata/test/crc_tb.py | 2 -- lib/sata/test/hdd.py | 2 -- lib/sata/test/link_tb.py | 6 ------ lib/sata/test/scrambler_tb.py | 2 -- 7 files changed, 4 insertions(+), 24 deletions(-) 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 * -- 2.30.2