From 06f3c46e35b452fecbb131342ebc418d646d89b5 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Wed, 4 Mar 2015 23:49:15 +0100 Subject: [PATCH] genlib/misc: fix missing *args in Counter --- migen/genlib/misc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/migen/genlib/misc.py b/migen/genlib/misc.py index 340de13a9..cffb372d7 100644 --- a/migen/genlib/misc.py +++ b/migen/genlib/misc.py @@ -98,7 +98,7 @@ class FlipFlop(Module): @DecorateModule(InsertCE) class Counter(Module): def __init__(self, *args, **kwargs): - self.value = Signal(**kwargs) + self.value = Signal(*args, **kwargs) self.width = flen(self.value) self.sync += self.value.eq(self.value+1)