jtag_tap_spartan6.v

changeset 16
5fb37de64edc
child 17
50bf3061dbff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/jtag_tap_spartan6.v	Sun Mar 06 19:48:34 2011 +0000
     1.3 @@ -0,0 +1,28 @@
     1.4 +
     1.5 +module jtag_tap(
     1.6 +	output sel,
     1.7 +	output tck,
     1.8 +	output tdi,
     1.9 +	input tdo,
    1.10 +	output shift,
    1.11 +	output update,
    1.12 +	output reset
    1.13 +);
    1.14 +
    1.15 +BSCAN_SPARTAN6 #(
    1.16 +	.JTAG_CHAIN(1)
    1.17 +) bscan (
    1.18 +	.CAPTURE(),
    1.19 +	.DRCK(tck),
    1.20 +	.RESET(reset),
    1.21 +	.RUNTEST(),
    1.22 +	.SEL(sel),
    1.23 +	.SHIFT(shift),
    1.24 +	.TCK(),
    1.25 +	.TDI(tdi),
    1.26 +	.TMS(),
    1.27 +	.UPDATE(update),
    1.28 +	.TDO(tdo)
    1.29 +);
    1.30 +
    1.31 +endmodule