Skip to content

Commit

Permalink
cores: fix liteeth
Browse files Browse the repository at this point in the history
enjoy-digital committed Oct 23, 2015
1 parent 766b0be commit 197e5cf
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions misoc/cores/liteeth_mini/phy/mii.py
Original file line number Diff line number Diff line change
@@ -58,9 +58,11 @@ def __init__(self, pads):
converter.sink.stb.eq(1),
converter.sink.data.eq(pads.rx_data)
]
self.comb += [
self.sync += [
sop_set.eq(~pads.dv),
sop_clr.eq(pads.dv),
sop_clr.eq(pads.dv)
]
self.comb += [
converter.sink.sop.eq(sop),
converter.sink.eop.eq(~pads.dv)
]

0 comments on commit 197e5cf

Please sign in to comment.