From: matt Date: Thu, 2 Apr 2009 21:19:56 +0000 (+0000) Subject: debug ports for fifo level testing. Normally I wouldn't check this in, but adding... X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=8352532036a0721c7812f032091d0ae8d15bb4f0;p=debian%2Fgnuradio debug ports for fifo level testing. Normally I wouldn't check this in, but adding these ports actually improves timing. XST strikes again... git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10747 221aa14e-8319-0410-a670-987f0aec2ac5 --- diff --git a/usrp2/fpga/top/u2_core/u2_core.v b/usrp2/fpga/top/u2_core/u2_core.v index 90bfb747..a2b52401 100755 --- a/usrp2/fpga/top/u2_core/u2_core.v +++ b/usrp2/fpga/top/u2_core/u2_core.v @@ -695,14 +695,14 @@ module u2_core {dsp_rx_full,dsp_rx_empty,dsp_rx_occ[13:0]} }; always @(posedge dsp_clk) - eth_mac_debug <= { { GMII_TX_EN, GMII_RX_DV, debug_txc[13:0]}, + eth_mac_debug <= { { 6'd0, GMII_TX_EN, GMII_RX_DV, debug_mac0[7:0]}, {eth_rx_full2, eth_rx_empty2, eth_rx_occ2[13:0]} }; assign debug_clk[0] = 0; assign debug_clk[1] = dsp_clk; - assign debug = 0; - assign debug_gpio_0 = 0; + assign debug = host_to_dsp_fifo; // debug_mux ? host_to_dsp_fifo : dsp_to_host_fifo; + assign debug_gpio_0 = eth_mac_debug; assign debug_gpio_1 = 0; endmodule // u2_core