mirror of
https://github.com/enjoy-digital/liteeth.git
synced 2025-01-03 03:43:37 -05:00
mac padding: fix counter reset value
This commit is contained in:
parent
b1bcfb2073
commit
d66d302567
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ class LiteEthMACPaddingInserter(Module):
|
|||
|
||||
padding_limit = math.ceil(padding/(dw/8))-1
|
||||
|
||||
counter = Signal(16, reset=1)
|
||||
counter = Signal(16)
|
||||
counter_done = Signal()
|
||||
self.comb += counter_done.eq(counter >= padding_limit)
|
||||
|
||||
|
|
Loading…
Reference in a new issue