jtag_tap_spartan6.v

Sun, 06 Mar 2011 19:48:34 +0000

author
Philip Pemberton <philpem@philpem.me.uk>
date
Sun, 06 Mar 2011 19:48:34 +0000
changeset 16
5fb37de64edc
child 17
50bf3061dbff
permissions
-rw-r--r--

Add JTAG interface for Xilinx Spartan 6 (Michael Walle)

Original-Source: Milkymist mailing list posting, 2010-09-23
Original-Message-Id: <201009232334.04219.michael@walle.cc>
Original-Author: Michael Walle <michael walle.cc>

philpem@16 1
philpem@16 2 module jtag_tap(
philpem@16 3 output sel,
philpem@16 4 output tck,
philpem@16 5 output tdi,
philpem@16 6 input tdo,
philpem@16 7 output shift,
philpem@16 8 output update,
philpem@16 9 output reset
philpem@16 10 );
philpem@16 11
philpem@16 12 BSCAN_SPARTAN6 #(
philpem@16 13 .JTAG_CHAIN(1)
philpem@16 14 ) bscan (
philpem@16 15 .CAPTURE(),
philpem@16 16 .DRCK(tck),
philpem@16 17 .RESET(reset),
philpem@16 18 .RUNTEST(),
philpem@16 19 .SEL(sel),
philpem@16 20 .SHIFT(shift),
philpem@16 21 .TCK(),
philpem@16 22 .TDI(tdi),
philpem@16 23 .TMS(),
philpem@16 24 .UPDATE(update),
philpem@16 25 .TDO(tdo)
philpem@16 26 );
philpem@16 27
philpem@16 28 endmodule