Skip to content

Commit e4329c7

Browse files
committedSep 18, 2015
actorlib/structuring: fix Pack in packetized mode
Params need to be registered for the case when eop appears before the end of the pack cycle.
1 parent 07efe9d commit e4329c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

Diff for: ‎migen/actorlib/structuring.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ def __init__(self, layout_from, n, reverse=False):
110110
for f in description_to.param_layout:
111111
src = getattr(self.sink, f[0])
112112
dst = getattr(self.source, f[0])
113-
self.comb += dst.eq(src)
113+
self.sync += If(load_part, dst.eq(src))
114114

115115
if description_to.packetized:
116116
demux_last = ((demux == (n - 1)) | sink.eop)

0 commit comments

Comments
 (0)
Please sign in to comment.