From: Luke Kenneth Casson Leighton Date: Mon, 25 Jun 2018 16:11:10 +0000 (+0100) Subject: add comments for priority muxer inputs X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bb86d9370be747bddf63c1709f10b5b41d4a7e08;p=pinmux.git add comments for priority muxer inputs --- diff --git a/src/bsv/actual_pinmux.py b/src/bsv/actual_pinmux.py index 541142b..1975e48 100644 --- a/src/bsv/actual_pinmux.py +++ b/src/bsv/actual_pinmux.py @@ -10,7 +10,7 @@ except ImportError: # first argument is the io-cell number being assigned. # second argument is the mux value. # Third argument is the signal from the pinmap file -mux_wire = ''' +mux_wire = '''\ rule assign_{2}_on_cell{0}(wrcell{0}_mux=={1}); {2}<=cell{0}_mux_in; endrule @@ -148,6 +148,8 @@ def init(p, ifaces): # We choose to keep the dictionary within the code and not user-input # since the interfaces are always standard and cannot change from # user-to-user. Plus this also reduces human-error as well :) + p.pinmux += "\n" + p.pinmux += " // priority-in-muxer for cell idx %s\n" % (cell[0]) for i in range(0, len(cell) - 1): cname = cell[i + 1] if not cname: # skip blank entries, no need to test