Hello,
I have the Artix-7 35T FPGA and I’m following the README of freedom platform github.
To include the user application in .mcs file, I added $(DATAFILE) at the end of the make mcs command as shown below.
<common.mk>
export DATAFILE=$(base_dir)/…/freedom-e-sdk/software/software/demo_gpio/demo_gpio
$(mcs): $(bit)
cd $(BUILD_DIR); vivado -nojournal -mode batch -source $(fpga_common_script_dir)/write_cfgmem.tcl -tclargs $(BOARD) $@ $< $(DATAFILE)
We converted the xip.S file in freedom/bootrom to a hex file and used it as a bootloader.
As a result, a completion message indicating that .bit file was stored at 0x00000000 and user application was stored at 0x00400000 in SPI memory came out.
I downloaded the mcs file to the FPGA using vivado, but the user app did not work.
Honestly, I do not know whether rocket core not working is a problem or user application compile and download process is a problem.
So I looked at the log of make mcs and found six critical warnings.
CRITICAL WARNING: [Vivado 12-1504] The IP is already part of the fileset ‘sources_1’. Requested source ‘/home/moonhg/RISC-V/freedom/builds/e300artydevkit/obj/ip/reset_sys/reset_sys.xci’ will not be added.
CRITICAL WARNING: [Vivado 12-1504] The IP is already part of the fileset ‘sources_1’. Requested source ‘/home/moonhg/RISC-V/freedom/builds/e300artydevkit/obj/ip/ila/ila.xci’ will not be added.
CRITICAL WARNING: [Vivado 12-1504] The IP is already part of the fileset ‘sources_1’. Requested source ‘/home/moonhg/RISC-V/freedom/builds/e300artydevkit/obj/ip/mmcm/mmcm.xci’ will not be added.
CRITICAL WARNING: [Designutils 20-1280] Could not find module ‘ila’. The XDC file /home/moonhg/RISC-V/freedom/builds/e300artydevkit/obj/ip/ila/ila_v6_2/constraints/ila.xdc will not be read for any cell of this module.
INFO: [Timing 38-2] Deriving generated clocks
CRITICAL WARNING: [Designutils 20-1280] Could not find module ‘ila’. The XDC file /home/moonhg/RISC-V/freedom/builds/e300artydevkit/obj/ip/ila/ila_v6_2/constraints/ila.xdc will not be read for any cell of this module.
Parsing XDC File [/home/moonhg/RISC-V/freedom/fpga-shells/xilinx/arty/constraints/arty-master.xdc]
CRITICAL WARNING: [Place 30-722] Terminal ‘qspi_cs’ has IOB constraint set to TRUE, but it is either not connected to a FLOP element or the connected FLOP element could not be brought into the I/O
INFO: [Timing 38-35] Done setting XDC timing constraints.
Could this be the cause of the problem?
How to solve this problem?
Thank you!