commit-gnuradio
[Top][All Lists]
Advanced

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

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


From: gnychis
Subject: [Commit-gnuradio] r8449 - gnuradio/branches/developers/gnychis/fpga/usrp/fpga/inband_lib/testbenches
Date: Mon, 19 May 2008 15:30:59 -0600 (MDT)

Author: gnychis
Date: 2008-05-19 15:30:58 -0600 (Mon, 19 May 2008)
New Revision: 8449

Modified:
   
gnuradio/branches/developers/gnychis/fpga/usrp/fpga/inband_lib/testbenches/fx2.v
Log:
trying to fix up fx2

Modified: 
gnuradio/branches/developers/gnychis/fpga/usrp/fpga/inband_lib/testbenches/fx2.v
===================================================================
--- 
gnuradio/branches/developers/gnychis/fpga/usrp/fpga/inband_lib/testbenches/fx2.v
    2008-05-19 21:21:50 UTC (rev 8448)
+++ 
gnuradio/branches/developers/gnychis/fpga/usrp/fpga/inband_lib/testbenches/fx2.v
    2008-05-19 21:30:58 UTC (rev 8449)
@@ -3,18 +3,24 @@
     input                   fx2_2,
     input                   fx2_3,
 
-    output                  usbclk,
-    output          [2:0]   usbctl,
-    output          [1:0]   usbrdy,
-    inout           [15:0]  usbdata
+    output reg              usbclk,
+    output reg      [2:0]   usbctl,
+    output reg      [1:0]   usbrdy,
+    inout           [15:0]  usbdata    
 ) ;
+    
+    reg         [15:0]  usbdata_write ;
+    reg         [15:0]  usbdata_read ;
+    assign      usbdata = usbctl[0] ? 16'bz : usbdata_read ;
 
+
     initial begin
+        usbdata_write <= 16'd0 ;
         usbclk = 0 ;
-        fx2_1 = 0 ;
-        usbctl = 3'd0 ;
-        usbrdy = 2'd0 ;
-        usbdata = 16'd0 ;
+//        fx2_1 = 0 ;
+//        usbctl = 3'd0 ;
+//        usbrdy = 2'd0 ;
+//        usbdata = 16'd0 ;
     end
 
     always #(1.0/24.0) usbclk = ~usbclk ;





reply via email to

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