import absolute paths
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Wed, 18 Mar 2020 11:30:58 +0000 (11:30 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Wed, 18 Mar 2020 11:30:58 +0000 (11:30 +0000)
src/soc/decoder/test/test_power_decoder.py

index 71b0fd91f8fa5baff953ecc2819cc43f3e0adccf..4960f44239b83af71ad79595fdec8040b58cc053 100644 (file)
@@ -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)