Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
16597 Discussions

Rule C101 and PLL output clock

hazeltet845
Beginner
711 Views

I am using Quartus II 10.1 and keep receiving the critical warning "Critical Warning: (Critical) Rule C101: Gated clock should be implemented according to the Altera standard scheme. Found 1 node(s) related to this rule". It says the node related to this rule is the 200 MHz clock output of my PLL that I created using the ALTPLL Megafunction. I made sure in the .sdc file that I have "derive_pll_clocks" so that the fitter knows that this is a clock. It is only giving me this error when I try to use "rising_edge(clk)" or "falling_edge(clk)"  with the PLL generated clock like in the example below. 

 

 

cnt : process(clk) is

 begin
  if(reset = '1') then
    r_CNT <= (others => '0');
  elsif (rising_edge(clk)) then 
    temp(0) <= input and enable;
    temp(1) <= temp(0);
    temp(2) <= not temp(1) and temp(0);
 
 
    if (temp(2) = '1') then
      r_CNT <= r_CNT + 1;
    else 
      r_CNT <= r_CNT;
    end if;
 
  end if;
end process cnt;
0 Kudos
1 Solution
4 Replies
sstrell
Honored Contributor III
691 Views

If you're coding for an asynchronous clear, you should include reset in the sensitivity list.  If this is supposed to be a synchronous reset, the reset should be after the rising edge check (and not in the sensitivity list).

0 Kudos
hazeltet845
Beginner
684 Views

I added the reset to the sensitivity list and am still getting the critical warning "Critical Warning: (Critical) Rule C101: Gated clock should be implemented according to the Altera standard scheme. Found 1 node(s) related to this rule". Do you know how to fix this critical warning? I think it is possibly the reason I am not meeting timing requirements.

 

0 Kudos
sstrell
Honored Contributor III
679 Views

Is this your full design code?  Can you post your edited code?  Are you sure the design assistant rule warning is applying to this part of the design?  And what is your .sdc look like?

0 Kudos
Reply