From: Sebastien Bourdeauducq Date: Wed, 20 Jun 2012 20:39:03 +0000 (+0200) Subject: actorlib/structuring/Pack: drive busy signal X-Git-Tag: 24jan2021_ls180~2099^2~899 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6aff41a883bb3b5aea58357add71f020894ad2fa;p=litex.git actorlib/structuring/Pack: drive busy signal --- diff --git a/migen/actorlib/structuring.py b/migen/actorlib/structuring.py index 1f8687e6..15ced2d3 100644 --- a/migen/actorlib/structuring.py +++ b/migen/actorlib/structuring.py @@ -67,6 +67,7 @@ class Pack(Actor): Cat(*self.token("source").subrecord("chunk{0}".format(i)).flatten()).eq(*self.token("sink").flatten())) for i in range(self.n)] comb = [ + self.busy.eq(strobe_all), self.endpoints["sink"].ack.eq(~strobe_all | self.endpoints["source"].ack), self.endpoints["source"].stb.eq(strobe_all), load_part.eq(self.endpoints["sink"].stb & self.endpoints["sink"].ack)