From f0ac8cb3543b0a496b76d604a49d35b4e23de9ab Mon Sep 17 00:00:00 2001 From: Robert Jordens Date: Mon, 29 Jun 2015 11:26:38 -0600 Subject: [PATCH] pipistrello: add user_led:2 for debugging w/o adapter --- soc/targets/artiq_pipistrello.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/soc/targets/artiq_pipistrello.py b/soc/targets/artiq_pipistrello.py index 36d57f2e4..80b647785 100644 --- a/soc/targets/artiq_pipistrello.py +++ b/soc/targets/artiq_pipistrello.py @@ -107,6 +107,10 @@ trce -v 12 -fastpaths -tsi {build_name}.tsi -o {build_name}.twr {build_name}.ncd self.submodules += phy rtio_channels.append(rtio.Channel.from_phy(phy, ofifo_depth=4)) + phy = ttl_simple.Output(platform.request("user_led", 2)) + self.submodules += phy + rtio_channels.append(rtio.Channel.from_phy(phy, ofifo_depth=4)) + self.add_constant("RTIO_TTL_COUNT", len(rtio_channels)) self.add_constant("RTIO_DDS_CHANNEL", len(rtio_channels))