Only Gemmini in a FPGA

418 views
Skip to first unread message

Tiago da Silva Almeida

unread,
Jun 1, 2022, 11:15:23 AM6/1/22
to Chipyard
Hi everybody,

I want to put a Gemmini design in an FPGA. More specifically a Xilinx Zynq zcu102 (or a Xilinx Arty 100T). Those FPGAs are available in my lab. However, the Gemmini with Rocket is too large for those models, and I want to synthesize only the Gemmini and use another CPU as a host (e.g. an ARM in Zynq zcu102). But, I've been having some trouble taking out the Rocket from the Gemmini. Can anyone suggest how I can do that?

Thank you all in advance,
Tiago

Hasan Genc

unread,
Jun 1, 2022, 11:36:13 PM6/1/22
to chip...@googlegroups.com
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


--
You received this message because you are subscribed to the Google Groups "Chipyard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chipyard+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/chipyard/e35f7f6e-4619-460c-b9b3-d434a986e477n%40googlegroups.com.

Tiago da Silva Almeida

unread,
Jun 3, 2022, 7:34:22 AM6/3/22
to chip...@googlegroups.com
Hi, 

thank you very much for the answer. The Dummy Config doesn't really solve my problem because I need the whole functionality of the design, but as you say, can help me to test the design flow in the FPGA. In long term, I need the actual functionality. At this time, my professor and some colleagues are trying to get other Xilinx models. Gemmini module can help me as well. In short, thank you very much!

Best regards,
Tiago

You received this message because you are subscribed to a topic in the Google Groups "Chipyard" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/chipyard/9LqXG8iq44U/unsubscribe.
To unsubscribe from this group and all its topics, send an email to chipyard+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/chipyard/CAMPrpMBwWoQy-VQc7r-47nNGkBLG3C%2BpKUCaPY6Pq6q%3D1fp%2BSQ%40mail.gmail.com.

Hasan Genc

unread,
Jun 3, 2022, 12:22:10 PM6/3/22
to chip...@googlegroups.com
No problem; let me know if you need anything else!

Regards,
Hasan


Lukas Groth

unread,
May 16, 2023, 9:47:59 AM5/16/23
to Chipyard
Hello,

I am currently facing the same problem and was wondering if you were able get it working?

Best Regards,
Lukas
Reply all
Reply to author
Forward
0 new messages