Issue with Detecting Xilinx PCIe Device in VCU118 FPGA Installation

465 views
Skip to first unread message

Ton Nguyen SInh

unread,
Jul 13, 2023, 6:35:33 AM7/13/23
to FireSim

Hello Guys,

I am following this guide, https://docs.fires.im/en/stable/Getting-Started-Guides/On-Premises-FPGA-Getting-Started/Initial-Setup/Xilinx-VCU118.html.

In step "Install your FPGA," when I execute the command "lspci -vvv -d 10ee:903f," I am unable to find the PCIe device of Xilinx. I have no ideals to detect the cause of this issue and how to resolve it.

If anyone has successfully completed this step, could you please share your results and help me identify any potential problems?

Best Regards,
TonNguyen

Sagar Karandikar

unread,
Jul 14, 2023, 12:52:00 AM7/14/23
to fir...@googlegroups.com
Hi Ton,

Thanks for pointing this out, there were a few steps missing from the VCU118 docs. This temporary version of the docs has the updates:


You just need to re-do the "5. Install your FPGA(s)" part following this new version of the instructions and then should be able to continue normally. Make sure you use the bitstream linked in this version of the docs, which has an additional mcs that needs to be flashed (firesim_secondary.mcs).

I was able to use this to set up a VCU118 from scratch and run sims. Let me know if this works for you and then we'll ship 1.17.1 with all the VCU118 fixes.

Thanks,
Sagar


--
You received this message because you are subscribed to the Google Groups "FireSim" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firesim+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firesim/0596b148-1d55-4294-8b0f-3e64f7007de9n%40googlegroups.com.

Ton Nguyen SInh

unread,
Jul 17, 2023, 5:17:21 AM7/17/23
to FireSim
Hi Mr. Sagar,

Unfortunately, the MCS files are not compatible with my VCU118 board version (REV1.1).
Additionally, I am unable to generate the bitstream (firesim buildbitstream)  myself due to an ongoing error.

Therefore, could you please provide me with the .bit files?
I need them to generate an MCS file for the mt28gu01gaax1e-bpi-x16, not the mt25qu01g-spi-x1_x2_x4_x8.

Best Regards,
TonNguyen
Vào lúc 11:52:00 UTC+7 ngày Thứ Sáu, 14 tháng 7, 2023, Sagar Karandikar đã viết:

Ton Nguyen SInh

unread,
Jul 17, 2023, 11:59:33 AM7/17/23
to FireSim
Hi Mr. Sagar,

I encountered an error while trying to build the biststream for vcu118 using firesim.
The error message states that the xcvu9p-flga2104-2L-e part is not found in my Vivado version (2022.1).
Here is the error message:
<begin>
2023-07-17 22:11:30,219 [build_bitstr] [INFO ]  # set ip_module_name [lindex $argv 0]
2023-07-17 22:11:30,219 [build_bitstr] [INFO ]  # create_project -in_memory -part xcvu9p-flga2104-2L-e
2023-07-17 22:11:30,219 [build_bitstr] [INFO ]  WARNING: [Device 21-436] No parts matched 'xcvu9p-flga2104-2L-e'
2023-07-17 22:11:30,219 [build_bitstr] [INFO ]  ERROR: [Coretcl 2-106] Specified part could not be found.
<end>

Could you please share the version of Vivado you are using?
It would be more helpful for me to know the specific version, rather than having to try different versions one by one to test.

Best Regards,
TonNguyen
Vào lúc 16:17:21 UTC+7 ngày Thứ Hai, 17 tháng 7, 2023, Ton Nguyen SInh đã viết:

Manchem Chandana Sai Sri ee19b093

unread,
Sep 10, 2023, 9:20:15 AM9/10/23
to FireSim
Hello Sagar,
The steps that were missing from VCU118 setup docs, have they been updated to the stable docs present on the internet now??, because the link in your mail is not working. And the tar.gz file that I downloaded from  the link mentioned in the file deploy/sample-backup-configs/sample_config_hwdb.yaml  has only the firesim.bit file, not the mcs file. I converted the .bit file given to mcs with the command :
' write_cfgmem  -format mcs -interface spix4 -size 128 -loadbit "up 0x0 path/to/bitfile" -file /path/to/mcsfile ',  will this work?? or are there any more steps we need to follow for the correct VCU118 setup and to program it's flash memory??
Thanks,
Chandana

Manchem Chandana Sai Sri ee19b093

unread,
Oct 11, 2023, 5:02:56 AM10/11/23
to FireSim
Hello Sagar,
   I've tried flashing both the firesim and firesim-secondary.mcs but I am still unable to detect pcie slot with the command "lspci -vvv -d 10ee:903f", Can you please tell me what else I have to check with the fpga board , the version of board I am using is 2.0. All the setup steps have been followed and drivers been installed.
Thank you
Chandana Manchem

On Friday, July 14, 2023 at 10:22:00 AM UTC+5:30 Sagar Karandikar wrote:

Junho Yeom

unread,
May 31, 2024, 1:44:22 AM5/31/24
to FireSim
To all
Check the below link.
installation manual is updated.
https://docs.fires.im/en/1.18.0/Getting-Started-Guides/On-Premises-FPGA-Getting-Started/Initial-Setup/Xilinx-VCU118.html

Manchem Chandana Sai Sri ee19b093

unread,
Jun 1, 2024, 1:34:46 AM6/1/24
to fir...@googlegroups.com
Hi Yeom Junho,
  The issue with detecting pci slot was rectified, even after setting the sw16 pins of vcu118 to 0001  and rebooting the farm machine I was unable to detect the pci slot, after going through forums of vcu118, it was suggested to remove the jtag cable connection between vcu118 and the host system, for the fpga to successfully program with mcs from flash memory, so I removed the jtag cable after programming the flash memory and rebooted the system and I was able to detect the pic slot and run firesim simulations with no problems at all
Thank you
Chandana Manchem

Reply all
Reply to author
Forward
0 new messages