summaryrefslogtreecommitdiff
path: root/usrp2/fpga/top
diff options
context:
space:
mode:
authormatt2009-04-02 21:19:56 +0000
committermatt2009-04-02 21:19:56 +0000
commit8352532036a0721c7812f032091d0ae8d15bb4f0 (patch)
tree8fcfce34aaf853a14194cc3fabd6b9ff85bbcf07 /usrp2/fpga/top
parent7df2a4181682fc55eebfc2a3b080a9ae4b594198 (diff)
downloadgnuradio-8352532036a0721c7812f032091d0ae8d15bb4f0.tar.gz
gnuradio-8352532036a0721c7812f032091d0ae8d15bb4f0.tar.bz2
gnuradio-8352532036a0721c7812f032091d0ae8d15bb4f0.zip
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
Diffstat (limited to 'usrp2/fpga/top')
-rwxr-xr-xusrp2/fpga/top/u2_core/u2_core.v6
1 files changed, 3 insertions, 3 deletions
diff --git a/usrp2/fpga/top/u2_core/u2_core.v b/usrp2/fpga/top/u2_core/u2_core.v
index 90bfb7479..a2b52401e 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