From 2a96c30b86cef7cf83f64c51a216182de7eabe04 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sat, 17 Apr 2021 09:03:09 +0100 Subject: [PATCH] comment on why clocks are in FSM --- c4m/nmigen/jtag/tap.py | 1 + 1 file changed, 1 insertion(+) diff --git a/c4m/nmigen/jtag/tap.py b/c4m/nmigen/jtag/tap.py index a997554..525b531 100755 --- a/c4m/nmigen/jtag/tap.py +++ b/c4m/nmigen/jtag/tap.py @@ -25,6 +25,7 @@ class _FSM(Elaboratable): self.shift = Signal() self.update = Signal() + # JTAG uses both edges of the incoming clock (TCK). set them up here self.posjtag = ClockDomain("posjtag", local=True) self.negjtag = ClockDomain("negjtag", local=True, clk_edge="neg") -- 2.30.2