summaryrefslogtreecommitdiffstats
path: root/usrp2/vrt
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2012-02-13 10:21:46 -0800
committerJosh Blum <josh@joshknows.com>2012-02-13 10:21:46 -0800
commit42e906a3345c772f71b57126f754f87c0112d740 (patch)
tree0a0c31e0f5229c5b9bfb9c2d7a2d37acefe0dda0 /usrp2/vrt
parentbada7617a2941712b68421b647c03623ef21c928 (diff)
downloaduhd-42e906a3345c772f71b57126f754f87c0112d740.tar.gz
uhd-42e906a3345c772f71b57126f754f87c0112d740.tar.bz2
uhd-42e906a3345c772f71b57126f754f87c0112d740.zip
dsp rework: minor simplification in vita_tx_deframer
all n-series devices meet timing
Diffstat (limited to 'usrp2/vrt')
-rw-r--r--usrp2/vrt/vita_tx_deframer.v5
1 files changed, 1 insertions, 4 deletions
diff --git a/usrp2/vrt/vita_tx_deframer.v b/usrp2/vrt/vita_tx_deframer.v
index b187ab97c..6919da11a 100644
--- a/usrp2/vrt/vita_tx_deframer.v
+++ b/usrp2/vrt/vita_tx_deframer.v
@@ -85,7 +85,6 @@ module vita_tx_deframer
localparam VITA_TICS = 6;
localparam VITA_TICS2 = 7;
localparam VITA_PAYLOAD = 8;
- localparam VITA_STORE = 9;
localparam VITA_TRAILER = 10;
localparam VITA_DUMP = 11;
@@ -205,15 +204,13 @@ module vita_tx_deframer
VITA_DUMP :
if(eof)
vita_state <= (USE_TRANS_HEADER==1) ? VITA_TRANS_HEADER : VITA_HEADER;
- VITA_STORE :
- ;
default :
vita_state <= (USE_TRANS_HEADER==1) ? VITA_TRANS_HEADER : VITA_HEADER;
endcase // case (vita_state)
end //valid read
- assign line_done = (vector_phase == numchan);
+ assign line_done = (MAXCHAN == 1)? 1 : (vector_phase == numchan);
wire [FIFOWIDTH-1:0] fifo_i;
reg [63:0] send_time;