Jump to content
  • 0

Create Nexys4 .mcs file in Vivado


Anding

Question

2 answers to this question

Recommended Posts

Hi Anding,

I personally don't know if we the specifications nicely documented anywhere, but (I don't know if you've seen this already) I found a Xilinx document detailing that command on page 1246. I'll also ask some of the applications engineers to see if they have some more feedback come next week (since Digilent is usually closed over the weekends).

Thanks,
JColvin

Link to comment
Share on other sites

Hello,

Please open http://www.xilinx.com/support/documentation/sw_manuals/xilinx2014_1/ug908-vivado-programming-debugging.pdf and go to page 13, chapter Programming Configuration Memory Devices.

First of all, you might not need to generate the mcs file, as you can program the QSPI with the bin file, generated when the bit file was generated. For this, you just have to add the Configuration Memory device (explained in the above mentioned document, enter S25FL128 and select the first from the list). Then, program it with the bin file.

If you still want to build the mcs file, here is how you can do it:

I have used the Nexys4 Basic User Demo, available here: https://reference.digilentinc.com/nexys:nexys4:gpiodemo

After generating the Bitstream, I have used the following commands in the TCL script window:

- cd <project location> lab1.runs\impl_1 (location where the bit is)

- write_cfgmem -format mcs -interface SPIx1 -size 32 -loadbit "up 0x0 Nexys4UserDemo.bit" -file Nexys4UserDemo.mcs

Then, the mcs file is created. In order to program, add the Configuration Memory device as explained above, and then program the memory with the mcs file.

In the end, please do not forget to power off and back on the board, having MODE switch on QSPI.

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...