Vivado Generate Flash Config .mcs File From Bitstream
Last updated
Last updated
Connect the FPGA device, open vivado
In hardware manager, right-click the connected device ("xc7a35t" in this case), select "Add Configuration Memory Device..."
Select the correct Flash device mounted on the FPGA board.
For Arty board bought from Amazon recently, the Flash chip should be "s25fl128xxxxxx0"
The exact chip can be found using this method from Arty's User Manual.
Click OK.
If it asks if you want to program the device now, click No.
Go to top tool bar, select Tools-> Generate Memory Configuration File...
In the pop-up window, put the desired output filename in the "Filename" section.
For Chipyard generated bitstreams, we need to select "SPIx4" as the interface width.
Then, specify the bitstream we want to load to the Flash and click "Ok".
Go back to Hardware Manager, right-click the memory device, and then select "Program Configuration Memory Device..."
The flashing progress will take about 1 minute to complete.
After flashing, the FPGA will automatically load the bitstream stored in the Flash on power-up, or every time the PROG button is pressed. The DONE LED will show if the bitstream has finished loading.