From 5398d756450e7858e1d1763950e0428e0524f60e Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Wed, 18 Mar 2020 11:30:58 +0000 Subject: [PATCH] import absolute paths --- src/soc/decoder/test/test_power_decoder.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/soc/decoder/test/test_power_decoder.py b/src/soc/decoder/test/test_power_decoder.py index 71b0fd91..4960f442 100644 --- a/src/soc/decoder/test/test_power_decoder.py +++ b/src/soc/decoder/test/test_power_decoder.py @@ -2,12 +2,11 @@ from nmigen import Module, Signal from nmigen.back.pysim import Simulator, Delay from nmigen.test.utils import FHDLTestCase from nmigen.cli import rtlil -import sys import os import unittest -sys.path.append("../") -from power_decoder import (create_pdecode) -from power_enums import (Function, InternalOp, In1Sel, In2Sel, In3Sel, +from soc.decoder.power_decoder import (create_pdecode) +from soc.decoder.power_enums import (Function, InternalOp, + In1Sel, In2Sel,In3Sel, OutSel, RC, LdstLen, CryIn, single_bit_flags, get_signal_name, get_csv) -- 2.30.2