projects
/
soc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
leave off number being subtracted from "ready_o" calculation
[soc.git]
/
src
/
scoreboard
/
instruction_q.py
diff --git
a/src/scoreboard/instruction_q.py
b/src/scoreboard/instruction_q.py
index f3be7669e70dd5d6934924d2152d9c29e975300e..f32a91acf79d72e518f62a06e41d34d06092d3c0 100644
(file)
--- a/
src/scoreboard/instruction_q.py
+++ b/
src/scoreboard/instruction_q.py
@@
-91,9
+91,9
@@
class InstructionQ(Elaboratable):
comb += self.n_sub_o.eq(self.n_sub_i)
# work out how many new items are going to be in the queue
comb += self.n_sub_o.eq(self.n_sub_i)
# work out how many new items are going to be in the queue
- comb += left.eq(self.qlen_o - self.n_sub_o)
+ comb += left.eq(self.qlen_o
)#
- self.n_sub_o)
comb += spare.eq(mqlen - self.p_add_i)
comb += spare.eq(mqlen - self.p_add_i)
- comb += qmaxed.eq(left < spare)
+ comb += qmaxed.eq(left <
=
spare)
comb += self.p_ready_o.eq(qmaxed & (self.p_add_i != 0))
# put q (flattened) into output
comb += self.p_ready_o.eq(qmaxed & (self.p_add_i != 0))
# put q (flattened) into output