From e10e4360f39891f834f40db17e2c0613bf38e6ac Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Sat, 11 Feb 2012 20:56:51 +0100 Subject: [PATCH] corelogic/misc/multimux: less confusing variable name --- migen/corelogic/misc.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/migen/corelogic/misc.py b/migen/corelogic/misc.py index dfe44d4a6..7705e507d 100644 --- a/migen/corelogic/misc.py +++ b/migen/corelogic/misc.py @@ -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: