Fix code after move
[c4m-jtag.git] / c4m / nmigen / jtag / jtag.py
index 3baaa9553f9b3c5a95b9e51a3ed93869bed6ee96..88d12922149c87d5763dc2f9670edd656831d66d 100755 (executable)
@@ -216,8 +216,8 @@ class JTAGWishbone(Elaboratable):
 class JTAG(Elaboratable):
     @staticmethod
     def _add_files(platform, prefix):
-        d = os.path.realpath("{0}{1}{2}{1}vhdl".format(
-            os.path.dirname(__file__), os.path.sep, os.path.pardir
+        d = os.path.realpath("{dir}{sep}{par}{sep}{par}{sep}vhdl{sep}jtag".format(
+            dir=os.path.dirname(__file__), sep=os.path.sep, par=os.path.pardir
         )) + os.path.sep
         for fname in [
             "c4m_jtag_pkg.vhdl",