Question about building FPGA bitstream for VCU118

134 views
Skip to first unread message

Peng Xu

unread,
Aug 12, 2022, 5:00:08 AM8/12/22
to Chipyard
Hi, chipyard community, 

Appreciate your help in advance.
I am running the make bitstream sample in chipyard doc (https://chipyard.readthedocs.io/en/stable/Prototyping/General.html#generating-a-bitstream) with this command "make SUB_PROJECT=vcu118 bitstream"

Firstly, I encountered this error, and it seems like the synth.tcl in chipyard/fpga/fpga-shells/xilinx/common/tcl cannot find the required IPs.
Screenshot from 2022-08-12 16-43-57.png

Then after editing the synth.tcl file by skipping the read IP process and rerun the command "make SUB_PROJECT=vcu118 bitstream", I encounter the following errors
Screenshot from 2022-08-12 16-46-40.png

Screenshot from 2022-08-12 16-50-26.png

The main error is module "vcu118mig" was not found.
After checking, "vcu118mig" is a IP defined in fpga-shells (chipyard/fpga/fpga-shells/src/main/scala/ip/xilinx/vcu118mig) and does not be generated successfully.

Is there any way to help me solve this problem?

Repository branches/tags I used:
chipyard, 117624d8eea27bafd613eec09e9b9b3e31239e08
gemmini, v0.6.4
fpga-shells, master


Brendon Chetwynd

unread,
Aug 12, 2022, 7:27:36 AM8/12/22
to chip...@googlegroups.com
One observation is that you are running as root.  You shouldn't have to do that for any chipyard build.  What version of Vivado 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/75d8e61d-6446-4deb-be10-02f44048baa6n%40googlegroups.com.

Peng Xu

unread,
Aug 12, 2022, 10:46:18 AM8/12/22
to Chipyard
Yes, I am running as root. In fact, I build the chipyard environment in docker with ubuntu 20.04 image and run all the commands as root. I install the Vivado 2020.1 in host machine and map it into the docker container to use it.

Peng Xu

unread,
Aug 14, 2022, 9:30:14 PM8/14/22
to Chipyard
Can I know if there is any information on which command cannot be executed as root?
Reply all
Reply to author
Forward
0 new messages