From: Luke Kenneth Casson Leighton Date: Mon, 30 Jul 2018 08:31:46 +0000 (+0100) Subject: invert clock/spc link for input pintypes X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fb473258748d333b4831e47880d02099da550f73;p=pinmux.git invert clock/spc link for input pintypes --- diff --git a/src/bsv/peripheral_gen/base.py b/src/bsv/peripheral_gen/base.py index 51902fc..397c1c0 100644 --- a/src/bsv/peripheral_gen/base.py +++ b/src/bsv/peripheral_gen/base.py @@ -300,6 +300,8 @@ Ifc_sync#({0}) {1}_sync <-mksyncconnection( n_ = "{0}{1}".format(name, count) n_ = '{0}_{1}'.format(n_, pname) + if typ == 'in' or typ == 'inout': + ck, spc = spc, ck return template.format(bitspec, n_, ck, spc)