Article ID: 000085180 Content Type: Product Information & Documentation Last Reviewed: 09/11/2012

How do I modify the Serial Vector Format (SVF) file containing the security key for my Stratix® II design security feature so that I can program the security key into the Stratix II device in a Joint Test Action Group (JTAG) device chain?

Environment

BUILT IN - ARTICLE INTRO SECOND COMPONENT
Description You have to bypass all the other devices in the JTAG chain when programming the security key into the Stratix II device using the SVF file. In order to to that, you have to manually modify the SVF file since the file can only be used to program the Stratix II device in a single device chain.

The following lines should be added into the SVF file, depending on how many devices before and/or after the Stratix II device in the JTAG chain. You must know the instruction register and bypass register length of all other devices in the chain. Add in the lines after the FREQUENCY line in the SVF file:

HIR 10 TDI (3FF); '<-- instruction register length after Stratix II, here shows length is 10 bits
TIR 10 TDI (3FF); '<-- instruction register length before Stratix II, here shows length is 10 bits
HDR 1 TDI (1); '<-- bypass register length after Stratix II, here shows length is 1 bit
TDR 1 TDI (1); '<-- bypass register length before Stratix II, here shows length is 1 bit

You need to modify the part checking the device JTAG IDCODE as well. For example if you are using a EP2S130, by default the file has the following line:

SDR 32 TDI (FFFFFFFF) TDO (020950DD) MASK (0FFFFFFF);

Add in the following line just before the above line:

SIR 10 TDI (006);

The SVF file can now be used to program the security key. However, please note that these modifications alone do not control the 3.7V programmning voltage.

Related Products

This article applies to 1 products

Stratix® II FPGAs