Continue to Site

Welcome to

Welcome to our site! is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Looking for USB -> JTAG verilog code

Not open for further replies.


Junior Member level 3
Jun 29, 2005
Reaction score
Trophy points
Activity points
jtag verilog


I am trying to build my own usb to jtag converter. I have the board all designed but i'm looking for some help in getting the state machine started for the jtag communications part.

Basically, I am using a USB chip that has an 8-bit parallel bus for the data and a few IOs that I can use to trigger the state machine on the CPLD.

I am looking for some code with a state machine in verilog to send standard JTAG commands and data ( and reading back).

Any help would be appreciated!

usb to jtag converter

There is a JTAG TAP controller project at
**broken link removed**

It is the same inteface that is used in the OR1200 RISC processor. I am not sure if you can fit the jtag controller plus interface logic in a CPLD though. If I am not wrong, xilinx platform USB uses a USB micrcontroller and does everything in software.

jtag tap verilog

I saw that but it is probably not what i'm looking for right? Doesn't this go on the chip and is on the other end of JTAG? Controlling all the boundary scan registers, etc?

I'm looking for basically a parallel to serial converter that has a jtag state machine so I can send serial jtag commands to a chip. Cheers!

tap controller verilog

Oh, In that case that isn't right for you. I've never worked on the JTAG state machine before but I think you can simply pick 4 pins out of those 8 and do the rest in software like most JTAG adapters, unless you have specifically picked this CPLD based design. Care to expand on what exactly you intend your final product to be?

usb verilog code

I'm looking to make a very high speed jtag flash programmer so I need a hardware based design. Basically i'm looking for a TAP Master...

jtag verilog

I started to program my own TAP master but find it very hard to fit it into the MAX300E with 32 macrocells. I know it can be done.

The specs are an input clock of 24MHZ and the JTAG clock is 500hertz. Anyways, I have the specs of the TAP master in pictures below. If someone can come up with some easy way to reproduce the JTAG Signals given the usb signals, please post a snippet of what you did. Thanks!

**broken link removed**

**broken link removed**

**broken link removed**

verilog coding for usb controller

Correction, I have 64 macrocells to use but I still can't think of a very efficient way to write what I need. Any help here?

Not open for further replies.

Part and Inventory Search

Welcome to