Hi,
It should be possible to extract only the Verilog for the "Gemmini" module (rather than "ChipTop" module which includes both Gemmini and the CPU). However, I'm not sure how we would run tests on it; I haven't done that before.
However, if you're struggling to fit the hardware on the FPGA, then you might want to look into using Gemmini's "
dummyConfig". The Dummy Config replaces all the arithmetic operations (and many of the SRAMs) with no-ops, which greatly reduces its area consumption.
Functionally, the Dummy Config won't return correct results for matrix multiplications, but it will achieve the exact same cycle-accurate performance as Gemmini's default config. So if you only want to evaluate Gemmini's performance, then it might be sufficient for you.
Let me know if you have any other questions!
Regards,
Hasan