summaryrefslogtreecommitdiff
path: root/usrp/fpga
diff options
context:
space:
mode:
authoreb2007-01-17 22:44:13 +0000
committereb2007-01-17 22:44:13 +0000
commit4b5e1238492fe40727d19abefe22ae448c720419 (patch)
tree5e351e65a1dbe006734145f34a1bb8d18981115f /usrp/fpga
parent01eb527e0c1f445fab7c7cef039ba623e93f8c7c (diff)
downloadgnuradio-4b5e1238492fe40727d19abefe22ae448c720419.tar.gz
gnuradio-4b5e1238492fe40727d19abefe22ae448c720419.tar.bz2
gnuradio-4b5e1238492fe40727d19abefe22ae448c720419.zip
Applied patch from Brett Trotter that stuffs zeros into the head of
the tx signal processing pipeline when the Tx FIFO is empty. This results in the DACs outputing zeros when there's no data, unless the tx pipeline is disabled on the host. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@4287 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'usrp/fpga')
-rwxr-xr-xusrp/fpga/rbf/rev2/std_2rxhb_2tx.rbfbin176948 -> 177079 bytes
-rwxr-xr-xusrp/fpga/rbf/rev2/std_4rx_0tx.rbfbin173865 -> 174171 bytes
-rwxr-xr-xusrp/fpga/rbf/rev4/std_2rxhb_2tx.rbfbin176948 -> 177079 bytes
-rwxr-xr-xusrp/fpga/rbf/rev4/std_4rx_0tx.rbfbin173865 -> 174171 bytes
-rw-r--r--usrp/fpga/sdr_lib/tx_buffer.v20
-rw-r--r--usrp/fpga/toplevel/usrp_std/usrp_std.qsf2
6 files changed, 11 insertions, 11 deletions
diff --git a/usrp/fpga/rbf/rev2/std_2rxhb_2tx.rbf b/usrp/fpga/rbf/rev2/std_2rxhb_2tx.rbf
index 44fd06f77..966bae865 100755
--- a/usrp/fpga/rbf/rev2/std_2rxhb_2tx.rbf
+++ b/usrp/fpga/rbf/rev2/std_2rxhb_2tx.rbf
Binary files differ
diff --git a/usrp/fpga/rbf/rev2/std_4rx_0tx.rbf b/usrp/fpga/rbf/rev2/std_4rx_0tx.rbf
index e8a8b6ee9..a5a5cf99d 100755
--- a/usrp/fpga/rbf/rev2/std_4rx_0tx.rbf
+++ b/usrp/fpga/rbf/rev2/std_4rx_0tx.rbf
Binary files differ
diff --git a/usrp/fpga/rbf/rev4/std_2rxhb_2tx.rbf b/usrp/fpga/rbf/rev4/std_2rxhb_2tx.rbf
index 44fd06f77..966bae865 100755
--- a/usrp/fpga/rbf/rev4/std_2rxhb_2tx.rbf
+++ b/usrp/fpga/rbf/rev4/std_2rxhb_2tx.rbf
Binary files differ
diff --git a/usrp/fpga/rbf/rev4/std_4rx_0tx.rbf b/usrp/fpga/rbf/rev4/std_4rx_0tx.rbf
index e8a8b6ee9..a5a5cf99d 100755
--- a/usrp/fpga/rbf/rev4/std_4rx_0tx.rbf
+++ b/usrp/fpga/rbf/rev4/std_4rx_0tx.rbf
Binary files differ
diff --git a/usrp/fpga/sdr_lib/tx_buffer.v b/usrp/fpga/sdr_lib/tx_buffer.v
index ff8fd839d..63202c9df 100644
--- a/usrp/fpga/sdr_lib/tx_buffer.v
+++ b/usrp/fpga/sdr_lib/tx_buffer.v
@@ -66,20 +66,20 @@ module tx_buffer
load_next <= #1 4'd0;
end
else
- if((load_next != channels) & !tx_empty)
+ if(load_next != channels)
begin
load_next <= #1 load_next + 4'd1;
case(load_next)
- 4'd0 : tx_i_0 <= #1 fifodata;
- 4'd1 : tx_q_0 <= #1 fifodata;
- 4'd2 : tx_i_1 <= #1 fifodata;
- 4'd3 : tx_q_1 <= #1 fifodata;
- 4'd4 : tx_i_2 <= #1 fifodata;
- 4'd5 : tx_q_2 <= #1 fifodata;
- 4'd6 : tx_i_3 <= #1 fifodata;
- 4'd7 : tx_q_3 <= #1 fifodata;
+ 4'd0 : tx_i_0 <= #1 tx_empty ? 16'd0 : fifodata;
+ 4'd1 : tx_q_0 <= #1 tx_empty ? 16'd0 : fifodata;
+ 4'd2 : tx_i_1 <= #1 tx_empty ? 16'd0 : fifodata;
+ 4'd3 : tx_q_1 <= #1 tx_empty ? 16'd0 : fifodata;
+ 4'd4 : tx_i_2 <= #1 tx_empty ? 16'd0 : fifodata;
+ 4'd5 : tx_q_2 <= #1 tx_empty ? 16'd0 : fifodata;
+ 4'd6 : tx_i_3 <= #1 tx_empty ? 16'd0 : fifodata;
+ 4'd7 : tx_q_3 <= #1 tx_empty ? 16'd0 : fifodata;
endcase // case(load_next)
- end // if ((load_next != channels) & !tx_empty)
+ end // if (load_next != channels)
else if(txstrobe & (load_next == channels))
begin
load_next <= #1 4'd0;
diff --git a/usrp/fpga/toplevel/usrp_std/usrp_std.qsf b/usrp/fpga/toplevel/usrp_std/usrp_std.qsf
index 1503c8cc6..8297f0f7b 100644
--- a/usrp/fpga/toplevel/usrp_std/usrp_std.qsf
+++ b/usrp/fpga/toplevel/usrp_std/usrp_std.qsf
@@ -27,7 +27,7 @@
# ========================
set_global_assignment -name ORIGINAL_QUARTUS_VERSION 3.0
set_global_assignment -name PROJECT_CREATION_TIME_DATE "00:14:04 JULY 13, 2003"
-set_global_assignment -name LAST_QUARTUS_VERSION "6.0 SP1"
+set_global_assignment -name LAST_QUARTUS_VERSION 6.1
# Pin & Location Assignments
# ==========================