aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-10-11 17:11:28 -0700
committerJosh Blum <josh@joshknows.com>2011-10-11 17:11:28 -0700
commit2849b0912bf251cfd1c0d9e89d39870ca54bef00 (patch)
treeb9aa027e3734cc5f82e18558558889f5fb353e75
parent24b07e1b0dbe8ab9d72c46f65c14c34e84347554 (diff)
downloaduhd-2849b0912bf251cfd1c0d9e89d39870ca54bef00.tar.gz
uhd-2849b0912bf251cfd1c0d9e89d39870ca54bef00.tar.bz2
uhd-2849b0912bf251cfd1c0d9e89d39870ca54bef00.zip
connect and map b100 and e100 front-panel leds
-rw-r--r--usrp2/top/B100/u1plus_core.v2
-rw-r--r--usrp2/top/E1x0/u1e_core.v2
2 files changed, 2 insertions, 2 deletions
diff --git a/usrp2/top/B100/u1plus_core.v b/usrp2/top/B100/u1plus_core.v
index 61c1df04c..e11a4c37e 100644
--- a/usrp2/top/B100/u1plus_core.v
+++ b/usrp2/top/B100/u1plus_core.v
@@ -341,7 +341,7 @@ module u1plus_core
assign test_rate = xfer_rate[7:0];
assign test_len = reg_test[15:0];
- assign { debug_led[2],debug_led[0],debug_led[1] } = reg_leds; // LEDs are arranged funny on board
+ assign debug_led = {run_tx, (run_rx0 | run_rx1), cgen_st_ld};
assign { cgen_sync_b, cgen_ref_sel } = reg_cgen_ctrl;
assign s0_dat_miso = (s0_adr[6:0] == REG_LEDS) ? reg_leds :
diff --git a/usrp2/top/E1x0/u1e_core.v b/usrp2/top/E1x0/u1e_core.v
index e1bb50890..adc3c5aab 100644
--- a/usrp2/top/E1x0/u1e_core.v
+++ b/usrp2/top/E1x0/u1e_core.v
@@ -335,7 +335,7 @@ module u1e_core
assign test_ctrl = xfer_rate[11:8];
assign test_rate = xfer_rate[7:0];
- assign { debug_led[3:0] } = ~{run_rx0 | run_rx1,run_tx,reg_leds[1:0]};
+ assign { debug_led[3:0] } = ~{1'b1, run_tx, run_rx0 | run_rx1, cgen_st_ld};
assign { cgen_sync_b, cgen_ref_sel } = reg_cgen_ctrl;
assign s0_dat_miso = (s0_adr[6:0] == REG_LEDS) ? reg_leds :