cores/jtag: cleanup instances.

This commit is contained in:
Florent Kermarrec 2021-01-25 12:31:32 +01:00
parent 0b5df58a1b
commit 8cada67f32
1 changed files with 25 additions and 23 deletions

View File

@ -25,13 +25,16 @@ class JTAGAtlantic(Module):
p_LOG2_RXFIFO_DEPTH = "5", # FIXME: expose?
p_LOG2_TXFIFO_DEPTH = "5", # FIXME: expose?
p_SLD_AUTO_INSTANCE_INDEX = "YES",
# Clk/Rst
i_clk = ClockSignal("sys"),
i_rst_n = ~ResetSignal("sys"),
# TX
i_r_dat = sink.data,
i_r_val = sink.valid,
o_r_ena = sink.ready,
# RX
o_t_dat = source.data,
i_t_dav = source.ready,
@ -54,8 +57,7 @@ class XilinxJTAG(Module):
# # #
self.specials += \
Instance(primitive,
self.specials += Instance(primitive,
p_JTAG_CHAIN = chain,
o_RESET = self.reset,