05-17-2018 03:14 AM
The developing board is a xcvu3p, and the fpga starts from two 256 Mbit QSPI flash memory device configured as an x8 SPI device (Micron part numbers MT25QU256ABA8E12-1SIT) .
The project connects xdma pcie core with cmac usplus core to transfer data. With the bit file, the pcie device can be recognized by the host and work well. When I download the mcs file generate from the bit file, restart the host, there is the problem: the pcie device can be recognized by the host, but it can't receive data from the umac.
The mcs is generated with the command: write_cfgmem -format MCS -interface SPIx8 -size 64 -loadbit "up 0x0 E:/bit_mcs/0512/pcie_top.bit up 0x2000000 E:/bit_mcs/0512/pcie_top.bit" -force -file E:/bit_mcs/0512/pcie_top.mcs
The xdma pcie core and constraints are set as follows:
05-21-2018 08:42 AM
Can you please ensure that the Bitstream setting for PERSIST is not being set anywhere?
05-23-2018 12:36 PM
05-25-2018 03:36 AM
The XDMA part is as follows, and the CMAC is connected to XDMA through the AXI_ST bridge， which is user logic.
The problem is the bit file can work, and mcs file can be recognized as pcie device, but the data can't be transferred between
XDMA and CMAC. And I generate only one bit file, and I connect the sys_reset to the vio IP.
At first I thought it may be the problem of tandem setting, which loads the pcie part correctly and the rest part incorrectly. So I check the corresponding setting of tandem(PR)，hope you to give some advice.
I have two more question:
1. I generate bit file with the constraints"set_property HD.TANDEM_BITSTREAMS SEPARATE [current_design]", so I get two bit files: *_tandem1.bit and *_tandem2.bit. What's the command to generate the mcs?
I use write_cfgmem -format mcs -interface SPIx8 -size 64 -loadbit "up 0x0 *_tandem1.bit up 0x2000000 *_tandem2.bit" *.mcs
and it doesn't work.
2. The *.ltx file seems not work with the mcs file, when I reboot the computer, the *.ltx file can't probe signals from the device.
05-29-2018 02:08 PM
Can you share a screen shot of your Tandem settings from the PCIe IP?
05-31-2018 12:18 PM
1) If you could please generate a PCIe example design with Tandem PROM and ensure you are grabbing all the necessary constraints from there. Among others, PERSIST will need to be set.
2) For the correct mcs generation based on the 2 bit files, please review Product Guide 213 - Chapter 3 - Tandem PROM section