From e489c3e3deb8acffd144a71b889bc29f0b158144 Mon Sep 17 00:00:00 2001 From: Rakesh Peter Date: Thu, 13 Jan 2022 23:24:50 +0530 Subject: [PATCH] Change Serial port to pmoda:0/1 Remove usb_uart. Copyright notice update. --- litex_boards/platforms/digilent_pynq_z1.py | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-) diff --git a/litex_boards/platforms/digilent_pynq_z1.py b/litex_boards/platforms/digilent_pynq_z1.py index f25f6d7..558e3ee 100644 --- a/litex_boards/platforms/digilent_pynq_z1.py +++ b/litex_boards/platforms/digilent_pynq_z1.py @@ -1,7 +1,7 @@ # # This file is part of LiteX-Boards. # -# Copyright (c) 2019-2020 Florent Kermarrec +# Copyright (c) 2022 Rakesh Peter # SPDX-License-Identifier: BSD-2-Clause from litex.build.generic_platform import * @@ -10,7 +10,7 @@ from litex.build.xilinx import XilinxPlatform, VivadoProgrammer # IOs ---------------------------------------------------------------------------------------------- _io = [ - # Clk / Rst + # Clk ("sysclk", 0, Pins("H16"), IOStandard("LVCMOS33")), # Leds @@ -37,8 +37,8 @@ _io = [ #Serial ("serial", 0, - Subsignal("tx", Pins("pmoda:1")), - Subsignal("rx", Pins("pmoda:2")), + Subsignal("tx", Pins("pmoda:0")), + Subsignal("rx", Pins("pmoda:1")), IOStandard("LVCMOS33") ), @@ -118,16 +118,6 @@ _ps7_io = [ ), ] -_usb_uart_pmod_io = [ - # USB-UART PMOD on JB: - # - https://store.digilentinc.com/pmod-usbuart-usb-to-uart-interface/ - ("usb_uart", 0, - Subsignal("tx", Pins("pmodb:1")), - Subsignal("rx", Pins("pmodb:2")), - IOStandard("LVCMOS33") - ), -] - _hdmi_rx_io = [ # HDMI Rx ("hdmi_rx", 0, @@ -180,7 +170,6 @@ class Platform(XilinxPlatform): def __init__(self): XilinxPlatform.__init__(self, "xc7z020-clg400-1", _io, _connectors, toolchain="vivado") self.add_extension(_ps7_io) - self.add_extension(_usb_uart_pmod_io) self.add_extension(_hdmi_rx_io) self.add_extension(_hdmi_tx_io)