Skip to content

Commit

Permalink
integration/soc/jtag: Switch JTAGPHY to sys_clk/simplify.
Browse files Browse the repository at this point in the history
  • Loading branch information
enjoy-digital committed Dec 13, 2023
1 parent 4e57cca commit faae1ea
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions litex/soc/integration/soc.py
Original file line number Diff line number Diff line change
Expand Up @@ -1440,10 +1440,7 @@ def add_uart(self, name="uart", uart_name="serial", baudrate=115200, fifo_depth=
# JTAG UART.
elif uart_name in ["jtag_uart"]:
from litex.soc.cores.jtag import JTAGPHY
# Run JTAG-UART in sys_jtag clk domain similar to sys clk domain but without sys_rst.
self.cd_sys_jtag = ClockDomain()
self.comb += self.cd_sys_jtag.clk.eq(ClockSignal("sys"))
uart_phy = JTAGPHY(device=self.platform.device, clock_domain="sys_jtag", platform=self.platform)
uart_phy = JTAGPHY(device=self.platform.device, platform=self.platform)
uart = UART(uart_phy, **uart_kwargs)

# Sim.
Expand Down

0 comments on commit faae1ea

Please sign in to comment.