flow/actor: fix busy signal generation for pipelined actors
authorSebastien Bourdeauducq <sebastien@milkymist.org>
Sat, 16 Jun 2012 20:38:45 +0000 (22:38 +0200)
committerSebastien Bourdeauducq <sebastien@milkymist.org>
Sat, 16 Jun 2012 20:38:45 +0000 (22:38 +0200)
migen/flow/actor.py

index 90049701dd3f33af7a49d5cce444e56db32c1be5..ac96e68003810743ee2dd463d9378fc64951828a 100644 (file)
@@ -154,7 +154,7 @@ class PipelinedActor(BinaryActor):
                        self.pipe_ce.eq(ack_i | ~last_valid),
                        ack_o.eq(self.pipe_ce),
                        stb_o.eq(last_valid),
-                       busy.eq(optree("|", [valid[i] for i in range(self.latency)]))
+                       self.busy.eq(optree("|", [valid[i] for i in range(self.latency)]))
                ]
                
                return Fragment(comb, sync)