corelogic/misc/multimux: less confusing variable name
authorSebastien Bourdeauducq <sebastien@milkymist.org>
Sat, 11 Feb 2012 19:56:51 +0000 (20:56 +0100)
committerSebastien Bourdeauducq <sebastien@milkymist.org>
Sat, 11 Feb 2012 19:56:51 +0000 (20:56 +0100)
migen/corelogic/misc.py

index dfe44d4a6bfd62c61af5aa0b65add78a638c09f3..7705e507d7ff4b89eae6e889b09a2ecbbbf86bb5 100644 (file)
@@ -4,14 +4,14 @@ from migen.fhdl.structure import _Operator
 def multimux(sel, inputs, output):
        n = len(inputs)
        i = 0
-       comb = []
+       statements = []
        for osig in output:
                choices = [x[i] for x in inputs]
                cases = [[Constant(j, sel.bv), osig.eq(choices[j])] for j in range(n)]
                cases[n-1][0] = Default()
-               comb.append(Case(sel, *cases))
+               statements.append(Case(sel, *cases))
                i += 1
-       return comb
+       return statements
 
 def optree(op, operands, lb=None, ub=None, default=None):
        if lb is None: