projects
/
litex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d6aa82
)
actorlib/packet/Depacketizer: manage layouts without error signal
author
Florent Kermarrec
<florent@enjoy-digital.fr>
Wed, 22 Jul 2015 19:43:21 +0000
(21:43 +0200)
committer
Florent Kermarrec
<florent@enjoy-digital.fr>
Wed, 22 Jul 2015 19:43:21 +0000
(21:43 +0200)
migen/actorlib/packet.py
patch
|
blob
|
history
diff --git
a/migen/actorlib/packet.py
b/migen/actorlib/packet.py
index 6a35cd4289a95c753c5f011fde2ccf48eafe2992..0cbe8becf7cd79462ef7b14f5aa108b3308a8cff 100644
(file)
--- a/
migen/actorlib/packet.py
+++ b/
migen/actorlib/packet.py
@@
-282,10
+282,12
@@
class Depacketizer(Module):
).Elif(source.stb & source.ack,
source.sop.eq(0)
)
+
+ if hasattr(sink, "error"):
+ self.comb += source_error.eq(sink.error)
self.comb += [
source.eop.eq(sink.eop | no_payload),
source.data.eq(sink.data),
- source.error.eq(sink.error),
header.decode(self.header, source)
]
fsm.act("COPY",