beautypg.com

Creating the sld virtual jtag megafunction, Using the megawizard plug-in manager – Altera Virtual JTAG IP Core User Manual

Page 22

background image

TAP controller or the system logic. Both the JTAG TAP controller and the sld_hub controller are guaranteed
to be in the Test Logic Reset state after five clock cycles of

TMS

held high.

Creating the SLD Virtual JTAG Megafunction

To create the Virtual JTAG megafunction in a Quartus II design requires the following system and software
requirements:

• The Quartus II software beginning with version 6.0
• MegaWizard Plug-In Manager within the Quartus II software
• An Altera download cable, such as a USB-Blaster cable

The download cable is required to communicate with the Virtual JTAG megafunction from a host running
the

quartus_stp

executable.

Using the MegaWizard Plug-In Manager

The stimuli specified on Page 4 of the MegaWizard Plug-In Manager are written to the variation file. If you
want to change a stimulus after creating the megafunction, you can either edit the variation file or create the
megafunction again with a new stimulus. The wizard provides an easy way to generate your stimuli. If you
do not want to generate the stimuli, you can skip this step. However, the stimuli are necessary if you are
performing simulation of your design.

Perform the following steps to generate the megafunction:

1. On the Tools menu, click MegaWizard Plug-In Manager. The MegaWizard Plug-In Manager dialog

box appears.

2. Select Create a new custom megafunction variation.
3. Click Next. Page 2a of the MegaWizard Plug-In Manager appears.
4. In the list of megafunctions, click the “+” icon to expand the JTAG-accessible Extensions folder, and

then click Virtual JTAG.

5. Select the device family.
6. Select the type of output file you want to create, for example Verilog HDL, VHDL, or AHDL.
7. Specify the name of the output file and its location.
8. Click Next. Page 3 of the MegaWizard Plug-In Manager appears.
9. Select the width (number of bits) of your Instruction Register.
10. Assign a unique ID to the instance of your Virtual JTAG megafunction. The wizard can assign an ID

automatically (recommended), or you can enter one manually.

11. Click Next. Page 4 of the MegaWizard Plug-In Manager appears as shown below.

Virtual JTAG Megafunction (sld_virtual_jtag)

Altera Corporation

Send Feedback

UG-SLDVRTL

Creating the SLD Virtual JTAG Megafunction

22

2014.03.19