mirror of
https://github.com/litex-hub/litex-boards.git
synced 2025-01-03 03:43:36 -05:00
colorlight_5a_75b/v6.1: add led/btn and remove FIXME on sdram now that clarified
This commit is contained in:
parent
1d9e349093
commit
43badd162e
2 changed files with 8 additions and 4 deletions
litex_boards/partner
|
@ -13,6 +13,12 @@ _io_v6_1 = [ # Documented by @smunaut
|
|||
# clock
|
||||
("clk25", 0, Pins("P3"), IOStandard("LVCMOS33")),
|
||||
|
||||
# led
|
||||
("user_led_n", 0, Pins("D2"), IOStandard("LVCMOS33")),
|
||||
|
||||
# btn
|
||||
("user_btn_n", 0, Pins("J28"), IOStandard("LVCMOS33")),
|
||||
|
||||
# spi flash (GD25Q16CSIG)
|
||||
("spiflash", 0,
|
||||
Subsignal("cs_n", Pins("R2")),
|
||||
|
@ -31,7 +37,7 @@ _io_v6_1 = [ # Documented by @smunaut
|
|||
Subsignal("dq", Pins(
|
||||
"D15 E14 E13 D12 E12 D11 C10 B17",
|
||||
"B8 A8 C7 A7 A6 B6 A5 B5",
|
||||
"D5 C5 D6 C6 E7 D7 E8 D8", # FIXME: D8 was D9
|
||||
"D5 C5 D6 C6 E7 D7 E8 D8",
|
||||
"E9 D9 E11 C11 C12 D13 D14 C15")),
|
||||
Subsignal("we_n", Pins("A10")),
|
||||
Subsignal("ras_n", Pins("B10")),
|
||||
|
|
|
@ -29,9 +29,7 @@ class _CRG(Module):
|
|||
|
||||
# Clk / Rst
|
||||
clk25 = platform.request("clk25")
|
||||
rst_n = Signal(reset=1)
|
||||
if platform.revision in ["7.0"]:
|
||||
self.comb += rst_n.eq(platform.request("user_btn_n", 0))
|
||||
rst_n.eq(platform.request("user_btn_n", 0))
|
||||
platform.add_period_constraint(clk25, 1e9/25e6)
|
||||
|
||||
# PLL
|
||||
|
|
Loading…
Reference in a new issue