forked from M-Labs/artiq
1
0
Fork 0

eem: fix Urukul QSPI after 9ef5717de8 (2)

This commit is contained in:
Sebastien Bourdeauducq 2021-02-12 13:17:48 +08:00
parent 3844cde97b
commit d33a206f04
1 changed files with 12 additions and 12 deletions

View File

@ -144,20 +144,20 @@ class Urukul(_EEM):
))
ios += [
("urukul{}_qspi_p".format(eem0), 0,
Subsignal("cs", Pins(_eem_pin(eem0, 5, "p"), iostandard(eem0))),
Subsignal("clk", Pins(_eem_pin(eem0, 2, "p"), iostandard(eem0))),
Subsignal("mosi0", Pins(_eem_pin(eem1, 0, "p"), iostandard(eem1))),
Subsignal("mosi1", Pins(_eem_pin(eem1, 1, "p"), iostandard(eem1))),
Subsignal("mosi2", Pins(_eem_pin(eem1, 2, "p"), iostandard(eem1))),
Subsignal("mosi3", Pins(_eem_pin(eem1, 3, "p"), iostandard(eem1))),
Subsignal("cs", Pins(_eem_pin(eem0, 5, "p")), iostandard(eem0)),
Subsignal("clk", Pins(_eem_pin(eem0, 2, "p")), iostandard(eem0)),
Subsignal("mosi0", Pins(_eem_pin(eem1, 0, "p")), iostandard(eem1)),
Subsignal("mosi1", Pins(_eem_pin(eem1, 1, "p")), iostandard(eem1)),
Subsignal("mosi2", Pins(_eem_pin(eem1, 2, "p")), iostandard(eem1)),
Subsignal("mosi3", Pins(_eem_pin(eem1, 3, "p")), iostandard(eem1)),
),
("urukul{}_qspi_n".format(eem0), 0,
Subsignal("cs", Pins(_eem_pin(eem0, 5, "n"), iostandard(eem0))),
Subsignal("clk", Pins(_eem_pin(eem0, 2, "n"), iostandard(eem0))),
Subsignal("mosi0", Pins(_eem_pin(eem1, 0, "n"), iostandard(eem1))),
Subsignal("mosi1", Pins(_eem_pin(eem1, 1, "n"), iostandard(eem1))),
Subsignal("mosi2", Pins(_eem_pin(eem1, 2, "n"), iostandard(eem1))),
Subsignal("mosi3", Pins(_eem_pin(eem1, 3, "n"), iostandard(eem1))),
Subsignal("cs", Pins(_eem_pin(eem0, 5, "n")), iostandard(eem0)),
Subsignal("clk", Pins(_eem_pin(eem0, 2, "n")), iostandard(eem0)),
Subsignal("mosi0", Pins(_eem_pin(eem1, 0, "n")), iostandard(eem1)),
Subsignal("mosi1", Pins(_eem_pin(eem1, 1, "n")), iostandard(eem1)),
Subsignal("mosi2", Pins(_eem_pin(eem1, 2, "n")), iostandard(eem1)),
Subsignal("mosi3", Pins(_eem_pin(eem1, 3, "n")), iostandard(eem1)),
),
]
return ios