aboutsummaryrefslogtreecommitdiffstats
path: root/fpga/usrp2/control_lib/wb_readback_mux.v
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2014-10-07 11:25:20 +0200
committerMartin Braun <martin.braun@ettus.com>2014-10-07 11:25:20 +0200
commitfd3e84941de463fa1a7ebab0a69515b4bf2614cd (patch)
tree3fa721a13d41d2c0451d663a59a220a38fd5e614 /fpga/usrp2/control_lib/wb_readback_mux.v
parent3b66804e41891e358c790b453a7a59ec7462dba4 (diff)
downloaduhd-fd3e84941de463fa1a7ebab0a69515b4bf2614cd.tar.gz
uhd-fd3e84941de463fa1a7ebab0a69515b4bf2614cd.tar.bz2
uhd-fd3e84941de463fa1a7ebab0a69515b4bf2614cd.zip
Removed copy of FPGA source files.
Diffstat (limited to 'fpga/usrp2/control_lib/wb_readback_mux.v')
-rw-r--r--fpga/usrp2/control_lib/wb_readback_mux.v77
1 files changed, 0 insertions, 77 deletions
diff --git a/fpga/usrp2/control_lib/wb_readback_mux.v b/fpga/usrp2/control_lib/wb_readback_mux.v
deleted file mode 100644
index a5bf224b8..000000000
--- a/fpga/usrp2/control_lib/wb_readback_mux.v
+++ /dev/null
@@ -1,77 +0,0 @@
-//
-// Copyright 2011 Ettus Research LLC
-//
-// This program is free software: you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation, either version 3 of the License, or
-// (at your option) any later version.
-//
-// This program is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU General Public License for more details.
-//
-// You should have received a copy of the GNU General Public License
-// along with this program. If not, see <http://www.gnu.org/licenses/>.
-//
-
-
-
-// Note -- clocks must be synchronous (derived from the same source)
-// Assumes alt_clk is running at a multiple of wb_clk
-
-module wb_readback_mux
- (input wb_clk_i,
- input wb_rst_i,
- input wb_stb_i,
- input [15:0] wb_adr_i,
- output reg [31:0] wb_dat_o,
- output reg wb_ack_o,
-
- input [31:0] word00,
- input [31:0] word01,
- input [31:0] word02,
- input [31:0] word03,
- input [31:0] word04,
- input [31:0] word05,
- input [31:0] word06,
- input [31:0] word07,
- input [31:0] word08,
- input [31:0] word09,
- input [31:0] word10,
- input [31:0] word11,
- input [31:0] word12,
- input [31:0] word13,
- input [31:0] word14,
- input [31:0] word15
- );
-
- always @(posedge wb_clk_i)
- if(wb_rst_i)
- wb_ack_o <= 0;
- else
- wb_ack_o <= wb_stb_i & ~wb_ack_o;
-
- always @(posedge wb_clk_i)
- case(wb_adr_i[5:2])
- 0 : wb_dat_o <= word00;
- 1 : wb_dat_o <= word01;
- 2 : wb_dat_o <= word02;
- 3 : wb_dat_o <= word03;
- 4 : wb_dat_o <= word04;
- 5 : wb_dat_o <= word05;
- 6 : wb_dat_o <= word06;
- 7 : wb_dat_o <= word07;
- 8 : wb_dat_o <= word08;
- 9 : wb_dat_o <= word09;
- 10: wb_dat_o <= word10;
- 11: wb_dat_o <= word11;
- 12: wb_dat_o <= word12;
- 13: wb_dat_o <= word13;
- 14: wb_dat_o <= word14;
- 15: wb_dat_o <= word15;
- endcase // case(addr_reg[3:0])
-
-endmodule // wb_readback_mux
-
-