From b255e143729bb54b9810d3eff7cd8ddb5cd8eaa4 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Tue, 9 Jun 2020 18:44:13 +0100 Subject: [PATCH] fix imports (allows test command to be run from non-top-level directory) --- src/ieee754/div_rem_sqrt_rsqrt/test_core.py | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/ieee754/div_rem_sqrt_rsqrt/test_core.py b/src/ieee754/div_rem_sqrt_rsqrt/test_core.py index 7df7be47..32203884 100755 --- a/src/ieee754/div_rem_sqrt_rsqrt/test_core.py +++ b/src/ieee754/div_rem_sqrt_rsqrt/test_core.py @@ -2,11 +2,13 @@ # SPDX-License-Identifier: LGPL-2.1-or-later # See Notices.txt for copyright information -from .core import (DivPipeCoreConfig, DivPipeCoreSetupStage, - DivPipeCoreCalculateStage, DivPipeCoreFinalStage, - DivPipeCoreOperation, DivPipeCoreInputData, - DivPipeCoreInterstageData, DivPipeCoreOutputData) -from .algorithm import (FixedUDivRemSqrtRSqrt, Fixed, Operation, div_rem, +from ieee754.div_rem_sqrt_rsqrt.core import (DivPipeCoreConfig, + DivPipeCoreSetupStage, + DivPipeCoreCalculateStage, DivPipeCoreFinalStage, + DivPipeCoreOperation, DivPipeCoreInputData, + DivPipeCoreInterstageData, DivPipeCoreOutputData) +from ieee754.div_rem_sqrt_rsqrt.algorithm import (FixedUDivRemSqrtRSqrt, + Fixed, Operation, div_rem, fixed_sqrt, fixed_rsqrt) import unittest from nmigen import Module, Elaboratable, Signal -- 2.30.2