From: Luke Kenneth Casson Leighton Date: Fri, 10 May 2019 04:57:42 +0000 (+0100) Subject: fix imports in LFSR test X-Git-Tag: div_pipeline~2088 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5085bcbea5e089e461fdee2d3500de7db70b30c9;p=soc.git fix imports in LFSR test --- diff --git a/src/TLB/test/test_LFSR2.py b/src/TLB/test/test_LFSR2.py index 889a042f..c05f55b7 100644 --- a/src/TLB/test/test_LFSR2.py +++ b/src/TLB/test/test_LFSR2.py @@ -1,9 +1,6 @@ # SPDX-License-Identifier: LGPL-2.1-or-later # See Notices.txt for copyright information -import sys -sys.path.append("../src") -sys.path.append("../../TestUtil") -from LFSR import LFSR, LFSRPolynomial, LFSR_POLY_3 +from TLB.LFSR import LFSR, LFSRPolynomial, LFSR_POLY_3 from nmigen.back.pysim import Simulator, Delay, Tick import unittest @@ -70,3 +67,4 @@ class TestLFSR(unittest.TestCase): sim.add_process(async_process) sim.run() +