Changeset 8927

Show
Ignore:
Timestamp:
07/17/08 15:07:52
Author:
matt
Message:

run the watchdog timer on the rev3

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • usrp2/trunk/fpga/top/u2_rev3/u2_rev3.v

    r8847 r8927  
    156156   ); 
    157157 
    158    assign       WDI = 0; 
    159     
    160158   assign       cpld_init_b = 0; 
    161159   // FPGA-specific pins connections 
     
    163161   wire         clk90, clk180, clk270; 
    164162 
     163   // reset the watchdog continuously 
     164   reg [15:0]   wd; 
     165   always @(posedge wb_clk) 
     166     if(POR) 
     167       wd <= 0; 
     168     else 
     169       wd <= wd + 1; 
     170   assign       WDI = wd[15]; 
     171    
    165172   IBUFGDS clk_fpga_pin (.O(clk_fpga),.I(clk_fpga_p),.IB(clk_fpga_n)); 
    166173   defparam     clk_fpga_pin.IOSTANDARD = "LVPECL_25";