aboutsummaryrefslogtreecommitdiffstats
path: root/fpga/usrp3/lib/dsp/round_sd.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/usrp3/lib/dsp/round_sd.v
parent3b66804e41891e358c790b453a7a59ec7462dba4 (diff)
downloaduhd-fd3e84941de463fa1a7ebab0a69515b4bf2614cd.tar.gz
uhd-fd3e84941de463fa1a7ebab0a69515b4bf2614cd.tar.bz2
uhd-fd3e84941de463fa1a7ebab0a69515b4bf2614cd.zip
Removed copy of FPGA source files.
Diffstat (limited to 'fpga/usrp3/lib/dsp/round_sd.v')
-rw-r--r--fpga/usrp3/lib/dsp/round_sd.v23
1 files changed, 0 insertions, 23 deletions
diff --git a/fpga/usrp3/lib/dsp/round_sd.v b/fpga/usrp3/lib/dsp/round_sd.v
deleted file mode 100644
index 94584f6ef..000000000
--- a/fpga/usrp3/lib/dsp/round_sd.v
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-module round_sd
- #(parameter WIDTH_IN=18,
- parameter WIDTH_OUT=16,
- parameter DISABLE_SD=0)
- (input clk, input reset,
- input [WIDTH_IN-1:0] in, input strobe_in,
- output [WIDTH_OUT-1:0] out, output strobe_out);
-
- localparam ERR_WIDTH = WIDTH_IN - WIDTH_OUT + 1;
-
- wire [ERR_WIDTH-1:0] err;
- wire [WIDTH_IN-1:0] err_ext, sum;
-
- sign_extend #(.bits_in(ERR_WIDTH),.bits_out(WIDTH_IN)) ext_err (.in(err), .out(err_ext));
-
- add2_and_clip_reg #(.WIDTH(WIDTH_IN)) add2_and_clip_reg
- (.clk(clk), .rst(reset), .in1(in), .in2((DISABLE_SD == 0) ? err_ext : 0), .strobe_in(strobe_in), .sum(sum), .strobe_out(strobe_out));
-
- round #(.bits_in(WIDTH_IN),.bits_out(WIDTH_OUT)) round_sum (.in(sum), .out(out), .err(err));
-
-endmodule // round_sd