forked from M-Labs/artiq-zynq
Remove incorrect pmod reference
This commit is contained in:
parent
1a3af696af
commit
0f1945f4ca
@ -79,9 +79,9 @@ _i2c = [
|
||||
)
|
||||
]
|
||||
|
||||
_pmod_spi = [
|
||||
_spi = [
|
||||
(
|
||||
"pmod_spi",
|
||||
"spi",
|
||||
0,
|
||||
Subsignal("clk", Pins("V20")),
|
||||
Subsignal("mosi", Pins("U20")),
|
||||
@ -104,7 +104,7 @@ class EBAZ4205(SoCCore):
|
||||
platform.add_extension(_ps)
|
||||
platform.add_extension(_ddr)
|
||||
platform.add_extension(_i2c)
|
||||
platform.add_extension(_pmod_spi)
|
||||
platform.add_extension(_spi)
|
||||
|
||||
gmii = platform.request("gmii")
|
||||
platform.add_period_constraint(gmii.rx_clk, 10)
|
||||
@ -181,7 +181,7 @@ class EBAZ4205(SoCCore):
|
||||
self.rtio_channels.append(rtio.Channel.from_phy(phy))
|
||||
|
||||
print("SPI at RTIO channel 0x{:06x}".format(len(self.rtio_channels)))
|
||||
spi_phy = spi2.SPIMaster(platform.request("pmod_spi"))
|
||||
spi_phy = spi2.SPIMaster(platform.request("spi"))
|
||||
self.submodules += spi_phy
|
||||
self.rtio_channels.append(rtio.Channel.from_phy(spi_phy, ififo_depth=4))
|
||||
self.config["RTIO_LOG_CHANNEL"] = len(self.rtio_channels)
|
||||
|
Loading…
Reference in New Issue
Block a user