commit-gnuradio
[Top][All Lists]
Advanced

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

[Commit-gnuradio] r6835 - in gnuradio/branches/developers/matt/u2f/top:


From: matt
Subject: [Commit-gnuradio] r6835 - in gnuradio/branches/developers/matt/u2f/top: u2_basic u2_fpga u2_sim
Date: Thu, 8 Nov 2007 11:58:30 -0700 (MST)

Author: matt
Date: 2007-11-08 11:58:29 -0700 (Thu, 08 Nov 2007)
New Revision: 6835

Modified:
   gnuradio/branches/developers/matt/u2f/top/u2_basic/u2_basic.v
   gnuradio/branches/developers/matt/u2f/top/u2_fpga/u2_fpga_top.v
   gnuradio/branches/developers/matt/u2f/top/u2_sim/u2_sim_top.v
Log:
ability to query whether this is a sim or not from the firmware


Modified: gnuradio/branches/developers/matt/u2f/top/u2_basic/u2_basic.v
===================================================================
--- gnuradio/branches/developers/matt/u2f/top/u2_basic/u2_basic.v       
2007-11-08 18:33:03 UTC (rev 6834)
+++ gnuradio/branches/developers/matt/u2f/top/u2_basic/u2_basic.v       
2007-11-08 18:58:29 UTC (rev 6835)
@@ -113,7 +113,8 @@
    
    // GPIO to DBoards
    inout [15:0] io_tx,
-   inout [15:0] io_rx
+   inout [15:0] io_rx,
+   input sim_mode
    );
    
    wire [7:0]  set_addr;
@@ -337,7 +338,7 @@
       
       
.word00(status_b0),.word01(status_b1),.word02(status_b2),.word03(status_b3),
       
.word04(status_b4),.word05(status_b5),.word06(status_b6),.word07(status_b7),
-      .word08(status),.word09(),.word10(),.word11(),
+      .word08(status),.word09({31'b0,sim_mode}),.word10(),.word11(),
       .word12(),.word13(),.word14(),.word15()
       );
 

Modified: gnuradio/branches/developers/matt/u2f/top/u2_fpga/u2_fpga_top.v
===================================================================
--- gnuradio/branches/developers/matt/u2f/top/u2_fpga/u2_fpga_top.v     
2007-11-08 18:33:03 UTC (rev 6834)
+++ gnuradio/branches/developers/matt/u2f/top/u2_fpga/u2_fpga_top.v     
2007-11-08 18:58:29 UTC (rev 6835)
@@ -319,6 +319,8 @@
                     .sen_rx_adc        (sen_rx_adc),
                     .sen_rx_dac        (sen_rx_dac),
                     .io_tx             (io_tx[15:0]),
-                    .io_rx             (io_rx[15:0]));
+                    .io_rx             (io_rx[15:0]),
+                    .sim_mode          (1'b0)
+                    );
    
 endmodule // u2_fpga_top

Modified: gnuradio/branches/developers/matt/u2f/top/u2_sim/u2_sim_top.v
===================================================================
--- gnuradio/branches/developers/matt/u2f/top/u2_sim/u2_sim_top.v       
2007-11-08 18:33:03 UTC (rev 6834)
+++ gnuradio/branches/developers/matt/u2f/top/u2_sim/u2_sim_top.v       
2007-11-08 18:58:29 UTC (rev 6835)
@@ -254,7 +254,9 @@
                     .sen_rx_adc        (sen_rx_adc),
                     .sen_rx_dac        (sen_rx_dac),
                     .io_tx             (io_tx[15:0]),
-                    .io_rx             (io_rx[15:0]));
+                    .io_rx             (io_rx[15:0]),
+                    .sim_mode          (1'b1)
+                    );
 
    // Experimental printf-like function
    reg               print_edge_det;





reply via email to

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