Merge pull request #64 from david-sawatzke/improve_colorlight_v6.1

Improve compatability with colorlight 5a-75b v6.1
This commit is contained in:
enjoy-digital 2020-04-09 08:05:23 +02:00 committed by GitHub
commit 7157b40718
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 4 deletions

View File

@ -19,6 +19,15 @@ _io_v6_1 = [ # Documented by @smunaut
# btn
("user_btn_n", 0, Pins("R16"), IOStandard("LVCMOS33")),
# serial
("serial", 0,
Subsignal("tx", Pins("U16")), # led (J19 DATA_LED-)
Subsignal("rx", Pins("R16")), # btn (J19 KEY+)
# It seems there's some capacitance on the KEY+ pin, so bigger baudrates
# may not work
IOStandard("LVCMOS33")
),
# spi flash (GD25Q16CSIG)
("spiflash", 0,
Subsignal("cs_n", Pins("R2")),
@ -33,7 +42,7 @@ _io_v6_1 = [ # Documented by @smunaut
("sdram", 0,
Subsignal("a", Pins(
"B13 C14 A16 A17 B16 B15 A14 A13",
"A12 A11 B12 A11")),
"A12 A11 B12")),
Subsignal("dq", Pins(
"D15 E14 E13 D12 E12 D11 C10 B17",
"B8 A8 C7 A7 A6 B6 A5 B5",
@ -44,6 +53,7 @@ _io_v6_1 = [ # Documented by @smunaut
Subsignal("cas_n", Pins("A9")),
#Subsignal("cs_n", Pins("")), # gnd
#Subsignal("cke", Pins("")), # 3v3
Subsignal("ba", Pins("B11")), # sdram pin a11 is ba
#Subsignal("dm", Pins("")), # gnd
IOStandard("LVCMOS33"),
Misc("SLEWRATE=FAST")
@ -67,8 +77,8 @@ _io_v6_1 = [ # Documented by @smunaut
),
("eth_clocks", 1,
Subsignal("tx", Pins("")),
Subsignal("rx", Pins("")),
Subsignal("tx", Pins("U19")),
Subsignal("rx", Pins("L19")),
IOStandard("LVCMOS33")
),
("eth", 1,

View File

@ -7,7 +7,7 @@
#
# 1) SoC with regular UART and optional Ethernet connected to the CPU:
# Connect a USB/UART to J19: TX of the FPGA is DATA_LED-, RX of the FPGA is KEY+.
# ./colorlight_5a_75b.py (add --with-ethernet to add Ethernet capability)
# ./colorlight_5a_75b.py --uart-baudrate 9600 (add --with-ethernet to add Ethernet capability)
# ./colorlight_5a_75b.py --load
# You should see the LiteX BIOS and be able to interact with it.
#