diff options
author | Matt Ettus <matt@ettus.com> | 2010-06-09 17:01:10 -0700 |
---|---|---|
committer | Matt Ettus <matt@ettus.com> | 2010-06-09 17:01:10 -0700 |
commit | 4e34bcbe9608b4adc81c33c6151af104cfe3e613 (patch) | |
tree | 3f06d073701029a332643dc3252f0acaf68b8caf /usrp2/top | |
parent | 443e4b3d276edabee4c80929d14baf30598315b2 (diff) | |
parent | 8dbe0a6f5c4cb4d3d888d94287e788153762d14b (diff) | |
download | uhd-4e34bcbe9608b4adc81c33c6151af104cfe3e613.tar.gz uhd-4e34bcbe9608b4adc81c33c6151af104cfe3e613.tar.bz2 uhd-4e34bcbe9608b4adc81c33c6151af104cfe3e613.zip |
Merge branch 'master' into u2p
* master:
get rid of debug stuff to help timing
move u2_core into u2_rev3 directory to simplify directory structure and save headaches
Diffstat (limited to 'usrp2/top')
-rw-r--r-- | usrp2/top/u2_core/.gitignore | 44 | ||||
-rw-r--r-- | usrp2/top/u2_rev3/Makefile | 2 | ||||
-rw-r--r-- | usrp2/top/u2_rev3/Makefile.udp | 2 | ||||
-rwxr-xr-x | usrp2/top/u2_rev3/u2_core.v (renamed from usrp2/top/u2_core/u2_core.v) | 0 | ||||
-rw-r--r-- | usrp2/top/u2_rev3/u2_core_udp.v (renamed from usrp2/top/u2_core/u2_core_udp.v) | 23 |
5 files changed, 18 insertions, 53 deletions
diff --git a/usrp2/top/u2_core/.gitignore b/usrp2/top/u2_core/.gitignore deleted file mode 100644 index 9728395c1..000000000 --- a/usrp2/top/u2_core/.gitignore +++ /dev/null @@ -1,44 +0,0 @@ -*~ -/xst -/_ngo -/_xmsgs -/*.stx -/*.tspec -/*.xml -/*.gyd -/*.ngr -/*.tim -/*.err -/*.lso -/*.bld -/*.cmd_log -/*.ise_ISE_Backup -/*.mfd -/*.vm6 -/*.syr -/*.xst -/*.csv -/*.html -/*.jed -/*.pad -/*.ng* -/*.pnx -/*.rpt -/*.prj -/*_html -/*_log -/*.lfp -/*.bit -/*.bin -/*.vcd -/*.unroutes -/*.drc -/*_map.* -/*_guide.* -/*.twr -/*.twx -/a.out -/*.xpi -/*_pad.txt -/*.bgn -/*.par diff --git a/usrp2/top/u2_rev3/Makefile b/usrp2/top/u2_rev3/Makefile index 5eb9d9420..3a8edc9ac 100644 --- a/usrp2/top/u2_rev3/Makefile +++ b/usrp2/top/u2_rev3/Makefile @@ -196,7 +196,7 @@ timing/time_sender.v \ timing/time_sync.v \ timing/timer.v \ timing/simple_timer.v \ -top/u2_core/u2_core.v \ +top/u2_rev3/u2_core.v \ top/u2_rev3/u2_rev3.ucf \ top/u2_rev3/u2_rev3.v diff --git a/usrp2/top/u2_rev3/Makefile.udp b/usrp2/top/u2_rev3/Makefile.udp index 3be4203a8..f6e6e5b15 100644 --- a/usrp2/top/u2_rev3/Makefile.udp +++ b/usrp2/top/u2_rev3/Makefile.udp @@ -196,7 +196,7 @@ timing/time_sender.v \ timing/time_sync.v \ timing/timer.v \ timing/simple_timer.v \ -top/u2_core/u2_core_udp.v \ +top/u2_rev3/u2_core_udp.v \ top/u2_rev3/u2_rev3.ucf \ top/u2_rev3/u2_rev3.v diff --git a/usrp2/top/u2_core/u2_core.v b/usrp2/top/u2_rev3/u2_core.v index c2e1bab63..c2e1bab63 100755 --- a/usrp2/top/u2_core/u2_core.v +++ b/usrp2/top/u2_rev3/u2_core.v diff --git a/usrp2/top/u2_core/u2_core_udp.v b/usrp2/top/u2_rev3/u2_core_udp.v index 428a40ad2..cb0ed78c7 100644 --- a/usrp2/top/u2_core/u2_core_udp.v +++ b/usrp2/top/u2_rev3/u2_core_udp.v @@ -690,6 +690,7 @@ module u2_core // /////////////////////////////////////////////////////////////////////////////////// // External RAM Interface + /* localparam PAGE_SIZE = 10; // PAGE SIZE is in bytes, 10 = 1024 bytes wire [15:0] bus2ram, ram2bus; @@ -719,6 +720,7 @@ module u2_core assign RAM_CE1n = 0; assign RAM_D[17:16] = 2'bzz; + */ // ///////////////////////////////////////////////////////////////////////// // VITA Timing @@ -729,7 +731,15 @@ module u2_core // ///////////////////////////////////////////////////////////////////////////////////////// // Debug Pins + + assign debug_clk = 2'b00; + assign debug = 32'd0; + assign debug_gpio_0 = 32'd0; + assign debug_gpio_1 = 32'd0; +endmodule // u2_core + +/* // FIFO Level Debugging reg [31:0] host_to_dsp_fifo,dsp_to_host_fifo,eth_mac_debug,serdes_to_dsp_fifo,dsp_to_serdes_fifo; @@ -755,7 +765,7 @@ module u2_core assign debug_clk[0] = GMII_RX_CLK; // wb_clk; assign debug_clk[1] = dsp_clk; - +*/ /* wire mdio_cpy = MDIO; @@ -776,13 +786,14 @@ module u2_core */ // assign debug = debug_udp; - assign debug = vrc_debug; - assign debug_gpio_0 = { {pps_in, pps_int, 2'd0, vita_state}, + // assign debug = vrc_debug; +/* + assign debug_gpio_0 = { {pps_in, pps_int, 2'd0, vita_state}, {2'd0, rx_dst_rdy, rx_src_rdy, rx_data[99:96]}, {run_rx_d1, run_rx, strobe_rx, overrun, wr1_flags[3:0]} , {wr1_ready_i, wr1_ready_o, rx1_src_rdy, rx1_dst_rdy, rx1_data[35:32]}}; - - assign debug_gpio_1 = {vita_time[63:32] }; +*/ +// assign debug_gpio_1 = {vita_time[63:32] }; /* assign debug_gpio_1 = { { tx_f19_data[15:8] }, @@ -791,8 +802,6 @@ module u2_core { 2'b0, rd2_ready_i, rd2_ready_o, rd2_flags } }; */ -endmodule // u2_core - // wire debug_mux; // setting_reg #(.my_addr(5)) sr_debug (.clk(wb_clk),.rst(wb_rst),.strobe(set_stb),.addr(set_addr), // .in(set_data),.out(debug_mux),.changed()); |