Skip to content

Commit

Permalink
genlib/misc: fix missing *args in Counter
Browse files Browse the repository at this point in the history
  • Loading branch information
enjoy-digital committed Mar 4, 2015
1 parent 3d7f9fd commit 06f3c46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion migen/genlib/misc.py
Expand Up @@ -98,7 +98,7 @@ def __init__(self, *args, **kwargs):
@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)

Expand Down

0 comments on commit 06f3c46

Please sign in to comment.