From: Florent Kermarrec Date: Wed, 4 Mar 2015 22:49:15 +0000 (+0100) Subject: genlib/misc: fix missing *args in Counter X-Git-Tag: 24jan2021_ls180~2099^2~212 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=06f3c46e35b452fecbb131342ebc418d646d89b5;p=litex.git genlib/misc: fix missing *args in Counter --- diff --git a/migen/genlib/misc.py b/migen/genlib/misc.py index 340de13a..cffb372d 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)