Add activity LED to iCEBreaker
This commit is contained in:
parent
91edd62ea1
commit
5976a8a9b7
|
@ -1,5 +1,6 @@
|
|||
file fpga_icebreaker.v
|
||||
file ../libfpga/common/reset_sync.v
|
||||
file ../libfpga/common/fpga_reset.v
|
||||
list ../libfpga/common/activity_led.f
|
||||
|
||||
list ../soc/soc.f
|
||||
|
|
|
@ -29,6 +29,8 @@ module fpga_icebreaker (
|
|||
input wire tdi,
|
||||
output wire tdo,
|
||||
|
||||
output wire led,
|
||||
|
||||
output wire mirror_tck,
|
||||
output wire mirror_tms,
|
||||
output wire mirror_tdi,
|
||||
|
@ -61,6 +63,16 @@ reset_sync trst_sync_u (
|
|||
.rst_n_out (trst_n)
|
||||
);
|
||||
|
||||
activity_led #(
|
||||
.WIDTH (1 << 16),
|
||||
.ACTIVE_LEVEL (1'b0)
|
||||
) tck_led_u (
|
||||
.clk (clk_sys),
|
||||
.rst_n (rst_n_sys),
|
||||
.i (tck),
|
||||
.o (led)
|
||||
);
|
||||
|
||||
example_soc #(
|
||||
.MUL_FAST (1),
|
||||
.EXTENSION_C (0)
|
||||
|
@ -69,7 +81,7 @@ example_soc #(
|
|||
.rst_n (rst_n_sys),
|
||||
|
||||
.tck (tck),
|
||||
.trst_n (rst_n_sys), //fixme!
|
||||
.trst_n (trst_n),
|
||||
.tms (tms),
|
||||
.tdi (tdi),
|
||||
.tdo (tdo),
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit f59444817ea754d65fb3c0a0eaf7255da5c77c6b
|
||||
Subproject commit 0b647a3f8e82d93b4b1e78ec72c33ff487f00d33
|
|
@ -20,6 +20,8 @@ set_io tms 19 # FTDI BDBUS3
|
|||
set_io uart_rx 15 # FTDI ADBUS0, flash SCK, iCE SCK
|
||||
set_io uart_tx 14 # FTDI ADBUS1, flash MOSI, iCE SO (if jumper J15 connected)
|
||||
|
||||
set_io led 37 # Green on main board
|
||||
|
||||
# SPI flash
|
||||
# set_io flash_mosi 14
|
||||
# set_io flash_miso 17
|
||||
|
|
Loading…
Reference in New Issue