Spike Simulation with unknown "print-out" and "tohost = 1337"

140 views
Skip to first unread message

Sam Cheng

unread,
Jan 17, 2022, 11:15:28 AM1/17/22
to Chipyard
Hi  there, 
I am working on the project that using Gemmini as an "AI acceleration"  to speed up all the layer calculation in nernual network model inference .
I try to use "Spike"  to simulate my program on baremetal , and everytime my "riscv64-unknown-elf" compiler complie my program well without any warnings and errors.
Describe my task  : 
  • I use "Gemmini" to be a faster matrix matmul function  in 1D-Convolution Layer which I have rearranged the input-feature and the trained-weights to be able to do "matrix matmul".
  • My data are in type of double , however , I knew that all the calculation in the Gemmini should be int8_t , so I made  the function "tiled_matmul_auto"  between the  "Quantizer" and the "Dequantizer",Therefore , I could use the "Gemmini"  to speed up my inference without quantizing the whole model, so that i could use the result from SoftMax to get the prediction.
By the way , my program work prefectly in C language (compiler gnu99).
Question : 
  • I keep receiving several lines of unknown print-out on shell through the function "tiled_matmul_auto", e.g. A� /�^[[?62;c . I am not sure this is because of the "tiled_matmul_auto" , data type , memory access error or what?? I search the "62;c" on google said that we cat some binary file will get some kind of the same prinf-out, so i am wondering is there any specific way that we could solve this bug? Screenshot from 2022-01-18 00-08-55.png
  • I also get the error message "*** FAILED *** (tohost = 1337)" .
  • Screenshot from 2022-01-18 00-12-09.png
Thanks for your help!!!
By Sam . 

Reply all
Reply to author
Forward
0 new messages