Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
reset [2013/11/05 16:11]
sky
reset [2013/11/05 16:40] (current)
sky
Line 13: Line 13:
   localparam RST_SYNC_NUM = 15;   localparam RST_SYNC_NUM = 15;
   //  localparam RST_SYNC_NUM = 25;   //  localparam RST_SYNC_NUM = 25;
 +  ...
 +  // Add PLL lock if PLL drives IDELAYCTRL in user design
 +  assign rst_tmp_idelay = sys_rst_act_hi;​
 +  ​
 +  always @(posedge clk_ref_bufg or posedge rst_tmp_idelay)
 +    if (rst_tmp_idelay)
 +      rst_ref_sync_r <= #TCQ {RST_SYNC_NUM{1'​b1}};​
 +    else
 +      rst_ref_sync_r <= #TCQ rst_ref_sync_r << 1;
 +  ​
 +  assign rst_ref ​ = rst_ref_sync_r[RST_SYNC_NUM-1];​
 +
  
 ====== References ====== ====== References ======
 
reset.txt ยท Last modified: 2013/11/05 16:40 by sky
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution 4.0 International
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki