From: Luke Kenneth Casson Leighton Date: Mon, 13 May 2019 06:30:10 +0000 (+0100) Subject: make insn_i a signal of length n_insns instead of Array X-Git-Tag: div_pipeline~2062 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8d14c747205d1113a7dd6a41dd786b8587753889;p=soc.git make insn_i a signal of length n_insns instead of Array --- diff --git a/src/scoreboard/issue_unit.py b/src/scoreboard/issue_unit.py index 187804a2..2ebb695e 100644 --- a/src/scoreboard/issue_unit.py +++ b/src/scoreboard/issue_unit.py @@ -74,8 +74,7 @@ class IssueUnit(Elaboratable): self.g_wr_pend_i = Signal(wid, reset_less=True) # write pending vector - self.insn_i = Array(Signal(reset_less=True, name="insn_i") \ - for i in range(n_insns)) + self.insn_i = Signal(n_insns, reset_less=True, name="insn_i") self.busy_i = Array(Signal(reset_less=True, name="busy_i") \ for i in range(n_insns))