diff --git a/software/glasgow/applet/interface/swd_openocd/__init__.py b/software/glasgow/applet/interface/swd_openocd/__init__.py index 3c4ecd196..03044bc5f 100644 --- a/software/glasgow/applet/interface/swd_openocd/__init__.py +++ b/software/glasgow/applet/interface/swd_openocd/__init__.py @@ -56,7 +56,7 @@ def elaborate(self, platform): self.srst_z.eq(0), ] if self.ports.srst is not None: - m.submodules.srst_buffer = srst_buffer = io.Buffer("o") + m.submodules.srst_buffer = srst_buffer = io.Buffer("o", self.ports.srst) m.d.sync += [ srst_buffer.oe.eq(~self.srst_z), srst_buffer.o.eq(~self.srst_o)