• 0

Create Nexys4 .mcs file in Vivado


Hello does Diligent have the specifications to be used with the Vivado TCL command


to create a Nexys4 .mcs file, please?

Edited by Anding
code font

Share this post

Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

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).


Share this post

Link to post
Share on other sites
  • 0


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.


Edited by Cristian.Fatu

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now