From 3e3fc6b79127e6199cd73712415902d83ecf7b5a Mon Sep 17 00:00:00 2001 From: Staf Verhaegen Date: Fri, 6 Dec 2019 10:43:10 +0100 Subject: [PATCH] Rename JTAG to TAP. --- c4m/nmigen/jtag/tap.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/c4m/nmigen/jtag/tap.py b/c4m/nmigen/jtag/tap.py index 0e4de64..928634a 100755 --- a/c4m/nmigen/jtag/tap.py +++ b/c4m/nmigen/jtag/tap.py @@ -4,15 +4,14 @@ import os from nmigen import * from nmigen.build import * from nmigen.lib.io import * +from nmigen.tracer import get_var_name from wishbone import Wishbone __all__ = [ - "JTAG", + "TAP", ] -#TODO: Provide more documentation - class ShiftReg(Elaboratable): def __init__(self, ircodes, length, domain): @@ -171,7 +170,8 @@ class JTAGWishbone(Elaboratable): return m -class JTAG(Elaboratable): +class TAP(Elaboratable): + #TODO: Document TAP @staticmethod def _add_files(platform, prefix): d = os.path.realpath("{dir}{sep}{par}{sep}{par}{sep}vhdl{sep}jtag".format( @@ -222,7 +222,7 @@ class JTAG(Elaboratable): self._wbs = [] def elaborate(self, platform): - JTAG._add_files(platform, "jtag" + os.path.sep) + TAP._add_files(platform, "jtag" + os.path.sep) m = Module() -- 2.30.2