Typo (is -> ==)
authorStaf Verhaegen <staf@stafverhaegen.be>
Thu, 1 Apr 2021 11:48:37 +0000 (13:48 +0200)
committerStaf Verhaegen <staf@stafverhaegen.be>
Thu, 1 Apr 2021 11:48:37 +0000 (13:48 +0200)
c4m/cocotb/jtag/c4m_jtag.py

index c4bb5af7ea7ccce9c3a437e66b6222453aa5e24f..2cf99819f77dfa51828a17436a710a901f6fe051 100644 (file)
@@ -108,7 +108,7 @@ class JTAG_Master(object):
         isreset = False
         if self.state is None:
             yield self.reset()
-        if self.state is "Reset":
+        if self.state == "Reset":
             isreset = True
             self.tms <= 0
             yield self.cycle_clock()