mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
actorlib/structuring/Pack: drive busy signal
This commit is contained in:
parent
34d8ae3c11
commit
6aff41a883
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue