commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] r8022 - usrp2/trunk/fpga/serdes


From: matt
Subject: [Commit-gnuradio] r8022 - usrp2/trunk/fpga/serdes
Date: Fri, 14 Mar 2008 12:28:07 -0600 (MDT)

Author: matt
Date: 2008-03-14 12:28:06 -0600 (Fri, 14 Mar 2008)
New Revision: 8022

Modified:
   usrp2/trunk/fpga/serdes/serdes_tx.v
Log:
added some debug output


Modified: usrp2/trunk/fpga/serdes/serdes_tx.v
===================================================================
--- usrp2/trunk/fpga/serdes/serdes_tx.v 2008-03-14 17:57:20 UTC (rev 8021)
+++ usrp2/trunk/fpga/serdes/serdes_tx.v 2008-03-14 18:28:06 UTC (rev 8022)
@@ -43,7 +43,9 @@
      input inhibit_tx,
      input send_xon,
      input send_xoff,
-     output sent
+     output sent,
+
+     output [31:0] debug
      );
 
    localparam K_COMMA = 8'b101_11100;     // 0xBC K28.5
@@ -180,6 +182,8 @@
        CRC <= nextCRC;
    
    CRC16_D16 crc_blk( (state==RUN1) ? data_o[15:0] : data_o[31:16], CRC, 
nextCRC);
+
+   assign debug = { 26'd0, full, empty, xfer_active, state[2:0] };
    
 endmodule // serdes_tx
 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]