diff options
author | Matt Ettus <matt@ettus.com> | 2010-07-19 14:32:13 -0700 |
---|---|---|
committer | Matt Ettus <matt@ettus.com> | 2010-07-19 14:32:13 -0700 |
commit | 5cd32136a24138de33020bb91d38efd8d6517773 (patch) | |
tree | 17de74bc9a9db05c4c4d9a8199230d49a9eee52e /usrp2/top/u2_rev3 | |
parent | ed0679e33f7405e33816b7d6a4dce80a54a5cf40 (diff) | |
download | uhd-5cd32136a24138de33020bb91d38efd8d6517773.tar.gz uhd-5cd32136a24138de33020bb91d38efd8d6517773.tar.bz2 uhd-5cd32136a24138de33020bb91d38efd8d6517773.zip |
put run_tx and run_rx on the displayed LEDs
Diffstat (limited to 'usrp2/top/u2_rev3')
-rw-r--r-- | usrp2/top/u2_rev3/u2_core_udp.v | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/usrp2/top/u2_rev3/u2_core_udp.v b/usrp2/top/u2_rev3/u2_core_udp.v index 798022adc..a074f099e 100644 --- a/usrp2/top/u2_rev3/u2_core_udp.v +++ b/usrp2/top/u2_rev3/u2_core_udp.v @@ -509,12 +509,13 @@ module u2_core // In Rev3 there are only 6 leds, and the highest one is on the ETH connector wire [7:0] led_src, led_sw; - wire [7:0] led_hw = {clk_status,serdes_link_up}; + wire [7:0] led_hw = {run_tx, run_rx, clk_status, serdes_link_up, 1'b0}; setting_reg #(.my_addr(3),.width(8)) sr_led (.clk(wb_clk),.rst(wb_rst),.strobe(set_stb),.addr(set_addr), .in(set_data),.out(led_sw),.changed()); - setting_reg #(.my_addr(8),.width(8)) sr_led_src (.clk(wb_clk),.rst(wb_rst),.strobe(set_stb),.addr(set_addr), - .in(set_data),.out(led_src),.changed()); + + setting_reg #(.my_addr(8),.width(8), .at_reset(8'b0001_1110)) + sr_led_src (.clk(wb_clk),.rst(wb_rst), .strobe(set_stb),.addr(set_addr), .in(set_data),.out(led_src),.changed()); assign leds = (led_src & led_hw) | (~led_src & led_sw); |