whoops connect vector by y not x in FUFU matrix
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Mon, 3 Jun 2019 04:53:42 +0000 (05:53 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Mon, 3 Jun 2019 04:53:42 +0000 (05:53 +0100)
src/scoreboard/fu_fu_matrix.py

index 1f996631f983ab9105d50f2a9e1219f5fec5f23a..cc2c1b9658d59a06f5ac72e48f563dca097c28fa 100644 (file)
@@ -53,8 +53,8 @@ class FUFUDepMatrix(Elaboratable):
         # ---
         readable = []
         writable = []
-        for x in range(self.n_fu_col):
-            fu = fur[x]
+        for y in range(self.n_fu_row):
+            fu = fur[y]
             # accumulate Readable/Writable Vector outputs
             readable.append(fu.readable_o)
             writable.append(fu.writable_o)