gemmini icon indicating copy to clipboard operation
gemmini copied to clipboard

About C template test file

Open Celtyee opened this issue 4 years ago • 1 comments

Hello, and when I read the C template test file in baremetalC on config_ex function, I find that this instruction call two ROCC instruction. The first one's r1[1:0] is 00, as mentioned in readme file, but the second one's r1[1:0] is 11, not appearing in the readme file on Configuration. So my question is what is the second rocc instruction does :)

Celtyee avatar Jul 05 '21 07:07 Celtyee

The second instruction is to configure Gemmini's "im2col-on-the-fly" module. The module's configuration parameters have not been documented though, and the module seems to have bugs on the latest version of Gemmini. The default Gemmini build does not have an im2col module, so for the default build, the second command is just a no-op

hngenc avatar Jul 08 '21 22:07 hngenc