aboutsummaryrefslogtreecommitdiffstats
path: root/fpga
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2012-04-03 15:53:18 -0700
committerJosh Blum <josh@joshknows.com>2012-04-03 15:53:18 -0700
commita1d8b94647b6149ca38282eefac6a5f1e89fad5b (patch)
tree7d1fcc50bee55159aa0206f148ee45188da963ec /fpga
parent40884c9411bf7d4bc91d24c939c22a3a04193d82 (diff)
parent51c81a39cc15ac221376e5acc4eceb572e0467f9 (diff)
downloaduhd-a1d8b94647b6149ca38282eefac6a5f1e89fad5b.tar.gz
uhd-a1d8b94647b6149ca38282eefac6a5f1e89fad5b.tar.bz2
uhd-a1d8b94647b6149ca38282eefac6a5f1e89fad5b.zip
Merge branch 'master' into next
Conflicts: host/examples/CMakeLists.txt
Diffstat (limited to 'fpga')
-rw-r--r--fpga/usrp2/gpif/slave_fifo.v8
-rw-r--r--fpga/usrp2/top/B100/u1plus_core.v2
2 files changed, 5 insertions, 5 deletions
diff --git a/fpga/usrp2/gpif/slave_fifo.v b/fpga/usrp2/gpif/slave_fifo.v
index b1d642fca..e75f28913 100644
--- a/fpga/usrp2/gpif/slave_fifo.v
+++ b/fpga/usrp2/gpif/slave_fifo.v
@@ -150,7 +150,7 @@ module slave_fifo
STATE_DATA_RX:
begin
- if(data_rx_src_rdy && data_rx_dst_rdy && (transfer_count != data_transfer_size))
+ if(data_rx_src_rdy && data_rx_dst_rdy)
transfer_count <= transfer_count + 1;
else
state <= STATE_IDLE;
@@ -170,7 +170,7 @@ module slave_fifo
STATE_DATA_TX:
begin
- if(data_tx_dst_rdy && data_tx_src_rdy && (transfer_count != data_transfer_size))
+ if(data_tx_dst_rdy && data_tx_src_rdy)
transfer_count <= transfer_count + 1;
else
state <= STATE_IDLE;
@@ -197,8 +197,8 @@ module slave_fifo
// fifo signal assignments and enables
//enable fifos
- assign data_rx_dst_rdy = (state == STATE_DATA_RX) && ~FX2_DF;
- assign data_tx_src_rdy = (state == STATE_DATA_TX) && ~FX2_DE;
+ assign data_rx_dst_rdy = (state == STATE_DATA_RX) && ~FX2_DF && (transfer_count != data_transfer_size);
+ assign data_tx_src_rdy = (state == STATE_DATA_TX) && ~FX2_DE && (transfer_count != data_transfer_size);
assign ctrl_rx_dst_rdy = (state == STATE_CTRL_RX) && ~FX2_CF;
assign ctrl_tx_src_rdy = (state == STATE_CTRL_TX) && ~FX2_CE;
diff --git a/fpga/usrp2/top/B100/u1plus_core.v b/fpga/usrp2/top/B100/u1plus_core.v
index 26714b669..09b7e11f1 100644
--- a/fpga/usrp2/top/B100/u1plus_core.v
+++ b/fpga/usrp2/top/B100/u1plus_core.v
@@ -413,7 +413,7 @@ module u1plus_core
// Readback mux 32 -- Slave #7
//compatibility number -> increment when the fpga has been sufficiently altered
- localparam compat_num = {16'd9, 16'd1}; //major, minor
+ localparam compat_num = {16'd9, 16'd2}; //major, minor
wire [31:0] reg_test32;