Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
Announcements
Need Forum Guidance? Click here

Search our FPGA Knowledge Articles here.
19335 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
425 Views

Quartus Prime Pro Stratix 10

0 Kudos
3 Replies
JohnT_Intel
Employee
168 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

 

DWoof
Beginner
168 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

JohnT_Intel
Employee
168 Views

Hi,

 

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

Reply