File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
flow/designs/src/mock-array-big/src/test/scala Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ class MockArray extends Module {
1919
2020 val io = IO (new Bundle {
2121 val insHorizontal = Input (Vec (2 , Vec (width, UInt (singleElementWidth.W ))))
22- val outsHorizontal = Output (Vec (2 , Vec (height , UInt (singleElementWidth.W ))))
22+ val outsHorizontal = Output (Vec (2 , Vec (width , UInt (singleElementWidth.W ))))
2323 val insVertical = Input (Vec (2 , Vec (height, UInt (singleElementWidth.W ))))
2424 val outsVertical = Output (Vec (2 , Vec (height, UInt (singleElementWidth.W ))))
2525 val lsbs = Output (Vec (width * height, Bool ()))
@@ -34,7 +34,7 @@ class MockArray extends Module {
3434 io.outs := io.ins.reverse.map(RegNext (_))
3535 }
3636
37- val ces = Seq .fill(height)(Seq .fill(height )(Module (new Element ())))
37+ val ces = Seq .fill(height)(Seq .fill(width )(Module (new Element ())))
3838
3939 io.lsbs := ces.flatten.map(_.io.outs.head(0 ))
4040
You can’t perform that action at this time.
0 commit comments