From d626861e9504a883c3954f3242b7f161d33c3468 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Thu, 29 Oct 2020 12:10:12 +0100 Subject: [PATCH] platforms/acorn_cle_215: add serial_io (on P2). --- litex_boards/platforms/acorn_cle_215.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/litex_boards/platforms/acorn_cle_215.py b/litex_boards/platforms/acorn_cle_215.py index 41eb52e..84586e3 100644 --- a/litex_boards/platforms/acorn_cle_215.py +++ b/litex_boards/platforms/acorn_cle_215.py @@ -76,6 +76,16 @@ _io = [ ), ] +_serial_io = [ + # Serial adapter on P2 + ("serial", 0, + Subsignal("tx", Pins("K2")), + Subsignal("rx", Pins("J2")), + Misc("SLEW=FAST"), + IOStandard("LVCMOS33"), + ), +] + _sdcard_io = [ # SPI SDCard adapter on P2 # https://spoolqueue.com/new-design/fpga/migen/litex/2020/08/11/acorn-cle-215.html @@ -97,6 +107,7 @@ class Platform(XilinxPlatform): def __init__(self): XilinxPlatform.__init__(self, "xc7a200t-fbg484-2", _io, toolchain="vivado") + self.add_extension(_serial_io) self.add_extension(_sdcard_io) self.add_platform_command("set_property INTERNAL_VREF 0.750 [get_iobanks 34]")