Transmitting an executable binary to FPGA via Serial port

32 views
Skip to first unread message

Patrick Schmidt

unread,
May 29, 2024, 7:02:54 AMMay 29
to Chipyard
Hello,

I want to transmit a binary directly from my host system to a Chipyard prototype running on an FPGA. I wanted to ask if this is already implemented somewhere and if not what would be the best way to do this. The basic program flow should be: transmit -> measure performance -> transmit next program etc. I would also be open to using FireSim if that would be easier on there. Thanks in advance!

Kind regards,
Patrick

Jerry Zhao

unread,
May 29, 2024, 5:59:20 PMMay 29
to chip...@googlegroups.com
What FPGA are you using?

--
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/267f0798-1927-4ad6-8fe9-357bb16d97e1n%40googlegroups.com.

Patrick Schmidt

unread,
May 29, 2024, 6:32:51 PMMay 29
to Chipyard
I have a VCU118 and a U280.

Jerry Zhao

unread,
May 29, 2024, 6:36:30 PMMay 29
to chip...@googlegroups.com
What you are asking for is being tracked in this issue https://github.com/ucb-bar/chipyard/issues/1889 .  We currently have flows for flashing binaries onto Arty100Ts via UART, that flow needs to be brought up for the VCU118.

-Jerry

Patrick Schmidt

unread,
Jun 10, 2024, 6:48:59 PMJun 10
to Chipyard
Thanks! This seems to be it. Is there also a way to test in with the simulator before moving to the FPGA?

Jerry Zhao

unread,
Jun 11, 2024, 12:53:56 PMJun 11
to chip...@googlegroups.com
Look at the TetheredChipLikeRocketConfig. This builds a 2-chip setup in the harness, where chip0 is the DUT, and chip1 is the BringupHostConfig (which is what should go on the FPGA). 
Running binaries on this config will load them into DRAM on chip1, and the DUT (chip0) will access memory through chip1 via serial-TL, just as the real chip.

-Jerry

Patrick Schmidt

unread,
Jun 11, 2024, 1:55:37 PMJun 11
to Chipyard
Thanks again, I will check it out! I have found the code for the UART TSI and wanted to know if there is also a C version available? I want to work with Gemmini which leads to some issues with a C++ compiler.
Reply all
Reply to author
Forward
0 new messages