commit-gnuradio
[Top][All Lists]
Advanced

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

[Commit-gnuradio] r4934 - gnuradio/branches/developers/matt/u2f/top/safe


From: matt
Subject: [Commit-gnuradio] r4934 - gnuradio/branches/developers/matt/u2f/top/safe_bringup
Date: Sun, 8 Apr 2007 22:24:02 -0600 (MDT)

Author: matt
Date: 2007-04-08 22:24:02 -0600 (Sun, 08 Apr 2007)
New Revision: 4934

Modified:
   gnuradio/branches/developers/matt/u2f/top/safe_bringup/safe_bringup.v
Log:
now locks the osc if there is a reference present


Modified: gnuradio/branches/developers/matt/u2f/top/safe_bringup/safe_bringup.v
===================================================================
--- gnuradio/branches/developers/matt/u2f/top/safe_bringup/safe_bringup.v       
2007-04-09 03:08:43 UTC (rev 4933)
+++ gnuradio/branches/developers/matt/u2f/top/safe_bringup/safe_bringup.v       
2007-04-09 04:24:02 UTC (rev 4934)
@@ -111,7 +111,7 @@
    input clk_status,
 
    // Clocks
-   input clk_fpga_p,
+   input clk_fpga_p,
        input clk_fpga_n,  // Diff
    input clk_to_mac,
    input pps_in,
@@ -157,20 +157,20 @@
 
    input [15:0] io_rx
    );
-
-       wire clk_fpga;
-       IBUFGDS clk_fpga_pin (.O(clk_fpga),.I(clk_fpga_p),.IB(clk_fpga_n));
-       defparam clk_fpga_pin.IOSTANDARD = "LVPECL_25";
-
+
+       wire clk_fpga;
+       IBUFGDS clk_fpga_pin (.O(clk_fpga),.I(clk_fpga_p),.IB(clk_fpga_n));
+       defparam clk_fpga_pin.IOSTANDARD = "LVPECL_25";
+
        wire exp_pps_in;
        IBUFGDS exp_pps_in_pin 
(.O(exp_pps_in),.I(exp_pps_in_p),.IB(exp_pps_in_n));
        defparam exp_pps_in_pin.IOSTANDARD = "LVDS_25";
-
+
        wire exp_pps_out;
        OBUFDS exp_pps_out_pin 
(.O(exp_pps_out_p),.OB(exp_pps_out_n),.I(exp_pps_out));
        defparam exp_pps_out_pin.IOSTANDARD = "LVDS_25";
        // defparam exp_pps_out_pin.DRIVE = 12;   // FIXME  These seem to give 
errors...
-       // defparam exp_pps_out_pin.SLEW = "SLOW";
+       // defparam exp_pps_out_pin.SLEW = "SLOW";
 
        wire reset;
        reg [31:0] rst_ctr;
@@ -186,7 +186,7 @@
        always @(posedge aux_clk)
                counter <= #1 counter + 24'd1;
 
-       assign debug = {rst_ctr[31:5], reset, sen_clk, sclk, sdi, sdo};
+       assign debug = {clk_status, reset, sen_clk, sclk, sdi, sdo};
        assign led1 = counter[23];
        assign led2 = 1'b0;
        assign debug_clk[0] = aux_clk;





reply via email to

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