diff options
author | Matt Ettus <matt@ettus.com> | 2010-04-26 17:15:53 -0700 |
---|---|---|
committer | Matt Ettus <matt@ettus.com> | 2010-04-26 17:15:53 -0700 |
commit | 97af4bd12673fbb8d68dd087690dabb3e9488c4d (patch) | |
tree | cf1116f7ead0155cac369975788ba9fb69996d9b /usrp2/top/u1e | |
parent | ae4b885e3533a73f0781e2fdb892f5d505081240 (diff) | |
download | uhd-97af4bd12673fbb8d68dd087690dabb3e9488c4d.tar.gz uhd-97af4bd12673fbb8d68dd087690dabb3e9488c4d.tar.bz2 uhd-97af4bd12673fbb8d68dd087690dabb3e9488c4d.zip |
send bus error to debug pins
Diffstat (limited to 'usrp2/top/u1e')
-rw-r--r-- | usrp2/top/u1e/u1e_core.v | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/usrp2/top/u1e/u1e_core.v b/usrp2/top/u1e/u1e_core.v index e67b1b158..f231791da 100644 --- a/usrp2/top/u1e/u1e_core.v +++ b/usrp2/top/u1e/u1e_core.v @@ -36,6 +36,8 @@ module u1e_core wire tx_src_rdy, tx_dst_rdy, rx_src_rdy, rx_dst_rdy; reg [15:0] tx_frame_len; wire [15:0] rx_frame_len; + + wire bus_error; gpmc_async gpmc (.arst(wb_rst), .EM_CLK(EM_CLK), .EM_D(EM_D), .EM_A(EM_A), .EM_NBE(EM_NBE), @@ -43,7 +45,7 @@ module u1e_core .EM_NOE(EM_NOE), .rx_have_data(rx_have_data), .tx_have_space(tx_have_space), - .bus_error(), .bus_reset(0), + .bus_error(bus_error), .bus_reset(0), .wb_clk(wb_clk), .wb_rst(wb_rst), .wb_adr_o(m0_adr), .wb_dat_mosi(m0_dat_mosi), .wb_dat_miso(m0_dat_miso), @@ -271,6 +273,6 @@ module u1e_core { EM_D } }; assign debug_gpio_0 = { debug_gpmc }; - assign debug_gpio_1 = { misc_gpio }; + assign debug_gpio_1 = { bus_error, misc_gpio[11:0] }; endmodule // u1e_core |