[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] r8927 - usrp2/trunk/fpga/top/u2_rev3
From: |
matt |
Subject: |
[Commit-gnuradio] r8927 - usrp2/trunk/fpga/top/u2_rev3 |
Date: |
Thu, 17 Jul 2008 15:07:53 -0600 (MDT) |
Author: matt
Date: 2008-07-17 15:07:52 -0600 (Thu, 17 Jul 2008)
New Revision: 8927
Modified:
usrp2/trunk/fpga/top/u2_rev3/u2_rev3.v
Log:
run the watchdog timer on the rev3
Modified: usrp2/trunk/fpga/top/u2_rev3/u2_rev3.v
===================================================================
--- usrp2/trunk/fpga/top/u2_rev3/u2_rev3.v 2008-07-17 20:45:56 UTC (rev
8926)
+++ usrp2/trunk/fpga/top/u2_rev3/u2_rev3.v 2008-07-17 21:07:52 UTC (rev
8927)
@@ -155,13 +155,20 @@
inout [15:0] io_rx
);
- assign WDI = 0;
-
assign cpld_init_b = 0;
// FPGA-specific pins connections
wire clk_fpga, dsp_clk, clk_div, dcm_out, wb_clk, clock_ready;
wire clk90, clk180, clk270;
+ // reset the watchdog continuously
+ reg [15:0] wd;
+ always @(posedge wb_clk)
+ if(POR)
+ wd <= 0;
+ else
+ wd <= wd + 1;
+ assign WDI = wd[15];
+
IBUFGDS clk_fpga_pin (.O(clk_fpga),.I(clk_fpga_p),.IB(clk_fpga_n));
defparam clk_fpga_pin.IOSTANDARD = "LVPECL_25";
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Commit-gnuradio] r8927 - usrp2/trunk/fpga/top/u2_rev3,
matt <=