projects
/
litex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d7f9fd
)
genlib/misc: fix missing *args in Counter
author
Florent Kermarrec
<florent@enjoy-digital.fr>
Wed, 4 Mar 2015 22:49:15 +0000
(23:49 +0100)
committer
Florent Kermarrec
<florent@enjoy-digital.fr>
Wed, 4 Mar 2015 22:49:15 +0000
(23:49 +0100)
migen/genlib/misc.py
patch
|
blob
|
history
diff --git
a/migen/genlib/misc.py
b/migen/genlib/misc.py
index 340de13a9acdb58392fa1dc20e8345b5b2fb81d0..cffb372d700e967f57fab02745d00069b1d3c478 100644
(file)
--- 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)