Changeset 9101

Show
Ignore:
Timestamp:
07/31/08 20:30:22
Author:
matt
Message:

pass fifo information out

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • usrp2/trunk/fpga/serdes/serdes_tx.v

    r8610 r9101  
    4646     output sent, 
    4747 
     48     // FIFO Levels 
     49     output [15:0] fifo_occupied, 
     50     output fifo_full, 
     51     output fifo_empty, 
     52 
     53     // DEBUG 
    4854     output [31:0] debug 
    4955     ); 
     
    8187     (.clk(clk),.rst(rst),.clear(0), 
    8288      .datain({rd_sop_i,rd_eop_i,rd_dat_i}), .write(write), .full(full), 
    83       .dataout({sop_o,eop_o,data_o}), .read(read), .empty(empty) ); 
     89      .dataout({sop_o,eop_o,data_o}), .read(read), .empty(empty), 
     90      .space(), .occupied(fifo_occupied) ); 
     91   assign      fifo_full = full; 
     92   assign      fifo_empty = empty; 
    8493    
    8594   // Buffer interface to internal FIFO