rename variable wid -> dep
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Wed, 8 May 2019 10:39:10 +0000 (11:39 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Wed, 8 May 2019 10:39:10 +0000 (11:39 +0100)
src/scoreboard/global_pending.py

index f8ab4015b54226d7f8e558aad726f99664fae0d4..e3bcb55550028300853524d4a7bae6532a7f4eca 100644 (file)
@@ -33,13 +33,13 @@ class GlobalPending(Elaboratable):
         for v in fu_vecs:
             assert len(v) == dep, "FU Vector must be same width as regfile"
 
-        self.g_pend_o = Signal(wid, reset_less=True)  # global pending vector
+        self.g_pend_o = Signal(dep, reset_less=True)  # global pending vector
 
     def elaborate(self, platform):
         m = Module()
 
         pend_l = []
-        for i in range(self.reg_width): # per-register
+        for i in range(self.reg_dep): # per-register
             vec_bit_l = []
             for v in self.fu_vecs:
                 vec_bit_l.append(v[i])             # fu bit for same register