Altera Virtual JTAG IP Core User Manual
Page 23

Page 4 defines the stimuli that are used during the simulation of your megafunction. A stimulus is either
a Data Register shift (DR shift) or an Instruction Register shift (IR shift). Each stimulus requires a time
at which that shift occurs, the number of bits you want to shift in or out, and the data value you want to
shift in during a shift-in operation. You can add multiple stimuli by clicking the Add Stimulus button.
12. Click Next. Page 5 of the MegaWizard Plug-In Manager appears, which shows that you need the altera_mf
library to simulate the Virtual JTAG megafunction in your design.
13. Click Next. Page 6 of the MegaWizard Plug-In Manager appears.
14. Select any other files that you need in addition to the megafunction variation file and the megafunction
black box file.
15. Click Finish to create the Virtual JTAG megafunction and the files that you need in your project.
Related Information
Configuring the JTAG User Code Setting
on page 41
Instantiating the Virtual JTAG Megafunction in Your Design
To properly connect the Virtual JTAG megafunction in your design, follow these basic connection rules:
• The
tck
output from the Virtual JTAG megafunction is the clock used for shifting the data in and out
on the
TDI
and
TDO
pins.
• The
TMS
output of the Virtual JTAG megafunction reflects the
TMS
input to the main JTAG circuit.
Altera Corporation
Virtual JTAG Megafunction (sld_virtual_jtag)
23
Instantiating the Virtual JTAG Megafunction in Your Design
UG-SLDVRTL
2014.03.19