spiOverJtag/xilinx_spiOverJtag.v: can't declare spi_clk for spartan3e device. Fixed sck assign for spartan3e
This commit is contained in:
parent
5e67fee9f5
commit
1ccc2a0d5b
|
|
@ -27,11 +27,11 @@ module spiOverJtag
|
||||||
|
|
||||||
wire capture, drck, sel, update, shift;
|
wire capture, drck, sel, update, shift;
|
||||||
wire tdi, tdo;
|
wire tdi, tdo;
|
||||||
wire spi_clk;
|
|
||||||
|
|
||||||
`ifndef spartan3e
|
`ifndef spartan3e
|
||||||
/* Version Interface. */
|
/* Version Interface. */
|
||||||
wire ver_sel, ver_cap, ver_shift, ver_drck, ver_tdi, ver_tdo;
|
wire ver_sel, ver_cap, ver_shift, ver_drck, ver_tdi, ver_tdo;
|
||||||
|
wire spi_clk;
|
||||||
|
|
||||||
spiOverJtag_core spiOverJtag_core_prim (
|
spiOverJtag_core spiOverJtag_core_prim (
|
||||||
/* JTAG state/controls */
|
/* JTAG state/controls */
|
||||||
|
|
@ -65,7 +65,7 @@ module spiOverJtag
|
||||||
assign sck = spi_clk;
|
assign sck = spi_clk;
|
||||||
`else // !spartan6
|
`else // !spartan6
|
||||||
`ifdef spartan3e
|
`ifdef spartan3e
|
||||||
assign sck = spi_clk;
|
assign sck = spi_drck;
|
||||||
`else // !spartan6 && !spartan3e
|
`else // !spartan6 && !spartan3e
|
||||||
`ifdef xilinxultrascale
|
`ifdef xilinxultrascale
|
||||||
assign sck = drck;
|
assign sck = drck;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue