Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
21018 Discussions

How do I generate a sof with a user specified JTAG Usercode from the command line with the usercode specified on the command line rather than stored in the qsf file?

DWoof
Beginner
894 Views

Quartus Prime Pro Stratix 10

0 Kudos
3 Replies
JohnT_Intel
Employee
637 Views

Hi,

 

You can performed it using TCL file where you are able to modify it and re-run the compilation.

 

You may refer to https://www.intel.com/content/dam/www/programmable/us/en/pdfs/literature/manual/tclscriptrefmnl.pdf for the full supported TCL script supported in Quartus

 

Below is the step to performed it in TCL file.

  1. project_open -current_revision project_xxxxx
  2. set_global_assignment -name STRATIX_JTAG_USER_CODE FFFFFFFF
  3. project_close

 

0 Kudos
DWoof
Beginner
637 Views

Hi John,

thanks for your reply. I guess that will effectively update the qsf file? I had figured out a way to do the same by nobbling the code directly in the qsf but reasoned to myself that as the gui is presumably calling quartus_asm under the hood that it must have been passing it in as a parameter.

Regards,

Dave

0 Kudos
JohnT_Intel
Employee
637 Views

Hi,

 

Yes, you are correct. The TCL file will help you to modify the qsf file.

0 Kudos
Reply