forked from M-Labs/artiq
pipistrello: add some inputs
This commit is contained in:
parent
6aa5d9f6c6
commit
93c310dfa5
|
@ -184,9 +184,9 @@ trce -v 12 -fastpaths -tsi {build_name}.tsi -o {build_name}.twr {build_name}.ncd
|
||||||
# the last TTL is used for ClockGen
|
# the last TTL is used for ClockGen
|
||||||
for i in range(15):
|
for i in range(15):
|
||||||
if i in (0, 1):
|
if i in (0, 1):
|
||||||
phy = ttl_serdes_spartan6.Output_4X(platform.request("ttl", i),
|
phy = ttl_serdes_spartan6.Inout_4X(platform.request("ttl", i),
|
||||||
self.rtio_crg.rtiox4_stb)
|
self.rtio_crg.rtiox4_stb)
|
||||||
elif i in (2,): # ttl2 can run on a 8x serdes if xtrig is not used
|
elif i in (2,):
|
||||||
phy = ttl_serdes_spartan6.Output_8X(platform.request("ttl", i),
|
phy = ttl_serdes_spartan6.Output_8X(platform.request("ttl", i),
|
||||||
self.rtio_crg.rtiox8_stb)
|
self.rtio_crg.rtiox8_stb)
|
||||||
else:
|
else:
|
||||||
|
|
|
@ -146,7 +146,9 @@ The TTL lines are mapped to RTIO channels as follows:
|
||||||
+--------------+------------+--------------+
|
+--------------+------------+--------------+
|
||||||
| RTIO channel | TTL line | Capability |
|
| RTIO channel | TTL line | Capability |
|
||||||
+==============+============+==============+
|
+==============+============+==============+
|
||||||
| 0-14 | B0-14 | Output |
|
| 0-1 | B0-1 | Input+Output |
|
||||||
|
+--------------+------------+--------------+
|
||||||
|
| 2-14 | B2-14 | Output |
|
||||||
+--------------+------------+--------------+
|
+--------------+------------+--------------+
|
||||||
| 15 | USER_LED_1 | Output |
|
| 15 | USER_LED_1 | Output |
|
||||||
+--------------+------------+--------------+
|
+--------------+------------+--------------+
|
||||||
|
|
Loading…
Reference in New Issue