From 8d14c747205d1113a7dd6a41dd786b8587753889 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Mon, 13 May 2019 07:30:10 +0100 Subject: [PATCH] make insn_i a signal of length n_insns instead of Array --- src/scoreboard/issue_unit.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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)) -- 2.30.2