genlib/misc: fix missing *args in Counter
This commit is contained in:
parent
3d7f9fd685
commit
06f3c46e35
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue