gemmini icon indicating copy to clipboard operation
gemmini copied to clipboard

ExecuteController read problem

Open AaronJing opened this issue 4 years ago • 1 comments

Hi!

I found execute controller could read from normal scratchpads and accumulators. However, I did not find a test case that the ex_controller will actually read inputs from accumulators. When I write a test case myself, I load matrix A into accumulators and do the multiplication, however, it stalled. Could you suggest a correct test case, please?

Thanks!

AaronJing avatar Sep 28 '21 04:09 AaronJing

You're right; we don't currently have a test for that. In fact, we added a Config parameter to control whether or not the ExecuteController is even able to read data from the Accumulaor (the default setting is that it can read from the accumulator):

https://github.com/ucb-bar/gemmini/blob/dev/src/main/scala/gemmini/Configs.scala#L142

Could you share your failing test here?

hngenc avatar Oct 13 '21 09:10 hngenc