Advertisement
Guest User

Untitled

a guest
Feb 2nd, 2021
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.59 KB | None | 0 0
  1. diff --git a/litex/soc/cores/jtag.py b/litex/soc/cores/jtag.py
  2. index 3fc1a601..98f3cfe2 100644
  3. --- a/litex/soc/cores/jtag.py
  4. +++ b/litex/soc/cores/jtag.py
  5. @@ -100,13 +100,15 @@ class ECP5JTAG(Module):
  6.  
  7.          jce1 = Signal()
  8.          jce2 = Signal()
  9. +        rst_n = Signal()
  10.  
  11.          # # #
  12.  
  13.          self.comb += self.capture.eq(jce1 | jce2)
  14. +        self.comb += self.reset.eq(~rst_n)
  15.  
  16.          self.specials += Instance("JTAGG",
  17. -            o_JRSTN   = ~self.reset,
  18. +            o_JRSTN   = rst_n,
  19.              o_JSHIFT  = self.shift,
  20.              o_JUPDATE = self.update,
  21.  
  22.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement