From: Luke Kenneth Casson Leighton Date: Thu, 26 Jul 2018 09:35:01 +0000 (+0100) Subject: corrections to flexbus line directions X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9978b689e575433a9e671dc95780caccda4700d0;p=pinmux.git corrections to flexbus line directions --- diff --git a/src/spec/i_class.py b/src/spec/i_class.py index 88cbdcf..e118989 100644 --- a/src/spec/i_class.py +++ b/src/spec/i_class.py @@ -88,17 +88,17 @@ def pinspec(): flexspec = { 'FB_TS': ('FB_ALE', 2), 'FB_CS2': ('FB_BWE2', 2), - 'FB_A0': ('FB_BWE2', 3), + 'FB_AD0': ('FB_BWE2', 3), 'FB_CS3': ('FB_BWE3', 2), - 'FB_A1': ('FB_BWE3', 3), + 'FB_AD1': ('FB_BWE3', 3), 'FB_TBST': ('FB_OE', 2), 'FB_TSIZ0': ('FB_BWE0', 2), 'FB_TSIZ1': ('FB_BWE1', 2), } - ps.gpio("", ('B', 0), 0, 0, 32) + ps.gpio("", ('B', 0), 0, 0, 18) ps.flexbus1("", ('B', 0), 1, spec=flexspec) - ps.gpio("", ('C', 0), 0, 0, 32) + ps.gpio("", ('C', 0), 0, 0, 24) ps.flexbus2("", ('C', 0), 1) # Scenarios below can be spec'd out as either "find first interface" diff --git a/src/spec/pinfunctions.py b/src/spec/pinfunctions.py index 33226e4..5761186 100644 --- a/src/spec/pinfunctions.py +++ b/src/spec/pinfunctions.py @@ -143,11 +143,11 @@ def flexbus1(suffix, bank): inout.append(pname) for i in range(2): buspins.append("CS%d+" % i) - buspins += ['ALE', 'OE', 'RW', 'TA', 'CLK+', - 'A0', 'A1', 'TS', 'TBST', - 'TSIZ0', 'TSIZ1'] + buspins += ['ALE+', 'OE+', 'RW+', 'TA-', + 'TS+', 'TBST+', + 'TSIZ0+', 'TSIZ1+'] for i in range(4): - buspins.append("BWE%d" % i) + buspins.append("BWE%d+" % i) for i in range(2, 6): buspins.append("CS%d+" % i) return (buspins, inout)