commit-gnuradio
[Top][All Lists]
Advanced

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

[Commit-gnuradio] r9059 - gnuradio/branches/developers/gnychis/fpga/usrp


From: gnychis
Subject: [Commit-gnuradio] r9059 - gnuradio/branches/developers/gnychis/fpga/usrp/fpga/inband_lib/testbenches
Date: Wed, 30 Jul 2008 13:33:46 -0600 (MDT)

Author: gnychis
Date: 2008-07-30 13:33:46 -0600 (Wed, 30 Jul 2008)
New Revision: 9059

Modified:
   
gnuradio/branches/developers/gnychis/fpga/usrp/fpga/inband_lib/testbenches/tb_timestamps.v
Log:
dumping out

Modified: 
gnuradio/branches/developers/gnychis/fpga/usrp/fpga/inband_lib/testbenches/tb_timestamps.v
===================================================================
--- 
gnuradio/branches/developers/gnychis/fpga/usrp/fpga/inband_lib/testbenches/tb_timestamps.v
  2008-07-30 19:17:00 UTC (rev 9058)
+++ 
gnuradio/branches/developers/gnychis/fpga/usrp/fpga/inband_lib/testbenches/tb_timestamps.v
  2008-07-30 19:33:46 UTC (rev 9059)
@@ -80,6 +80,11 @@
       channels = 1;
       signal  = 0;
       RD      = 0;
+      count   = 0;
+      rssi_0  = 0;
+      rssi_1  = 0;
+      rssi_2  = 0;
+      rssi_3  = 0;
 
       #40 reset = 1'b0; 
       #40 bus_reset = 1'b0;
@@ -94,8 +99,11 @@
   always @(posedge rxclk)
     begin
       timestamp_clock <= timestamp_clock + 32'd1;
+    end
+
+  always @(posedge rxstrobe)
+    begin
       signal <= signal + 16'd1;
-
     end
   
   always @(posedge usbclk)
@@ -116,7 +124,9 @@
 
       if(RD == 1'b1)
         begin
-          $fwrite(out_file, usbdata);
+          $fwriteh(out_file, usbdata);
+          if(count==0)
+            $fdisplay(out_file,"");
         end
     end
 





reply via email to

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