From d41c819c22052f5e93beff80399bd7dc96d5ae00 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Fri, 30 Mar 2018 07:50:58 +0100 Subject: [PATCH] explain flexspec, its extra functions to be added basically --- src/spec/m_class.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/spec/m_class.py b/src/spec/m_class.py index 455f459..d91b283 100644 --- a/src/spec/m_class.py +++ b/src/spec/m_class.py @@ -69,6 +69,17 @@ def pinspec(): pinouts.pwm("", ('C', 21), "C", 2, 1, mux=2) # Bank D, 72-96 + + # ok this is slightly complicated, basically there's extra + # functions that we want to be on the same pin (but a different mux) + # because their use is mutually-exclusive. you can't have FB_TS + # at the same time as FB_ALE for example. FB_BWE2 even has two + # mutually exclusive functions. these extra functions are + # specified here, so that when e.g. FB_BWE2 has been positioned, + # FB_A0 will be placed in bank d, mux column 3, *on the same pin*. + # this saves messing about, because if FB_BWE2 moved to a + # different pin so would FB_A0 (and FB_CS2) likewise have to be + # moved. and the rest. flexspec = { 'FB_TS': ('FB_ALE', 2, "D"), 'FB_CS2': ('FB_BWE2', 2, "D"), -- 2.30.2