platforms/sds1104xe: Integrate changes from https://github.com/360nosc0pe/scope.

This commit is contained in:
Florent Kermarrec 2021-02-22 13:45:48 +01:00
parent 11405d9ee3
commit a90c0bc8f9
1 changed files with 12 additions and 13 deletions

View File

@ -1,9 +1,8 @@
#!/usr/bin/env python3
#
# This file is part of LiteX-Boards.
#
# Copyright (c) 2020 Florent Kermarrec <florent@enjoy-digital.fr>
# Copyright (c) 2020-2021 Florent Kermarrec <florent@enjoy-digital.fr>
# Copyright (c) 2021 Felix Domke <tmbinc@elitedvb.net>
# SPDX-License-Identifier: BSD-2-Clause
from litex.build.generic_platform import *
@ -20,17 +19,17 @@ _io = [ # Documented by https://github.com/360nosc0pe project.
# Led Frontpanel
("led_frontpanel", 0,
Subsignal("rclk", Pins("N22")),
Subsignal("clk", Pins("R20")),
Subsignal("mosi", Pins("P22")),
Subsignal("oe", Pins("R21")),
IOStandard("LVCMOS33"),
Subsignal("cs_n", Pins("N22")), # CLK
Subsignal("clk", Pins("R20")), # SCLK
Subsignal("mosi", Pins("P22")), # SERDATA
Subsignal("oe", Pins("R21")), # OE
IOStandard("LVCMOS15"),
),
# Button Frontpanel
("btn_frontpanel", 0,
Subsignal("clk", Pins("H18")),
Subsignal("clr", Pins("G19")),
Subsignal("cs_n", Pins("G19")),
Subsignal("miso", Pins("G17")),
IOStandard("LVCMOS33")
),
@ -53,7 +52,7 @@ _io = [ # Documented by https://github.com/360nosc0pe project.
IOStandard("LVCMOS33"),
),
("eth", 0,
Subsignal("rst_n", Pins("R6")),
Subsignal("rst_n", Pins("R6"), IOStandard("LVCMOS25")),
Subsignal("mdio", Pins("E15")),
Subsignal("mdc", Pins("D15")),
Subsignal("rx_dv", Pins("A16")),