Changeset 4287

Show
Ignore:
Timestamp:
01/17/07 15:44:13
Author:
eb
Message:

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.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • gnuradio/trunk/usrp/fpga/sdr_lib/tx_buffer.v

    r3534 r4287  
    6767       end 
    6868     else 
    69        if((load_next != channels) & !tx_empty
     69       if(load_next != channels
    7070         begin 
    7171            load_next <= #1 load_next + 4'd1; 
    7272            case(load_next) 
    73               4'd0 : tx_i_0 <= #1 fifodata; 
    74               4'd1 : tx_q_0 <= #1 fifodata; 
    75               4'd2 : tx_i_1 <= #1 fifodata; 
    76               4'd3 : tx_q_1 <= #1 fifodata; 
    77               4'd4 : tx_i_2 <= #1 fifodata; 
    78               4'd5 : tx_q_2 <= #1 fifodata; 
    79               4'd6 : tx_i_3 <= #1 fifodata; 
    80               4'd7 : tx_q_3 <= #1 fifodata; 
     73              4'd0 : tx_i_0 <= #1 tx_empty ? 16'd0 : fifodata; 
     74              4'd1 : tx_q_0 <= #1 tx_empty ? 16'd0 : fifodata; 
     75              4'd2 : tx_i_1 <= #1 tx_empty ? 16'd0 : fifodata; 
     76              4'd3 : tx_q_1 <= #1 tx_empty ? 16'd0 : fifodata; 
     77              4'd4 : tx_i_2 <= #1 tx_empty ? 16'd0 : fifodata; 
     78              4'd5 : tx_q_2 <= #1 tx_empty ? 16'd0 : fifodata; 
     79              4'd6 : tx_i_3 <= #1 tx_empty ? 16'd0 : fifodata; 
     80              4'd7 : tx_q_3 <= #1 tx_empty ? 16'd0 : fifodata; 
    8181            endcase // case(load_next) 
    82          end // if ((load_next != channels) & !tx_empty
     82         end // if (load_next != channels
    8383       else if(txstrobe & (load_next == channels)) 
    8484         begin 
  • gnuradio/trunk/usrp/fpga/toplevel/usrp_std/usrp_std.qsf

    r4004 r4287  
    2828set_global_assignment -name ORIGINAL_QUARTUS_VERSION 3.0 
    2929set_global_assignment -name PROJECT_CREATION_TIME_DATE "00:14:04  JULY 13, 2003" 
    30 set_global_assignment -name LAST_QUARTUS_VERSION "6.0 SP1" 
     30set_global_assignment -name LAST_QUARTUS_VERSION 6.1 
    3131 
    3232# Pin & Location Assignments