Skip to content

Commit

Permalink
actorlib/structuring: fix Pack in packetized mode
Browse files Browse the repository at this point in the history
Params need to be registered for the case when eop appears before the end of the pack cycle.
enjoy-digital committed Sep 18, 2015

Verified

This commit was signed with the committer’s verified signature.
headius Charles Oliver Nutter
1 parent 07efe9d commit e4329c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion migen/actorlib/structuring.py
Original file line number Diff line number Diff line change
@@ -110,7 +110,7 @@ def __init__(self, layout_from, n, reverse=False):
for f in description_to.param_layout:
src = getattr(self.sink, f[0])
dst = getattr(self.source, f[0])
self.comb += dst.eq(src)
self.sync += If(load_part, dst.eq(src))

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

0 comments on commit e4329c7

Please sign in to comment.