process(h_clk)

begin

           If h_clk’event and h_clk= ‘1’  then

                      If hour >= 23;

                        hour <= 0;

                      else

                        hour <= hour + 1;

                      end if;

           end if;

end process;

 

process(CLO_S, hour_1)

begin

           if CLO_S = ‘0’ and (hour_1’event and hour_1 = ‘0’)  then

                      If hour >= 23;

                        hour <= 0;

                      else

                        hour <= hour + 1;

                      end if;

           end if;

end process;

 

시계 만드는데 프로세스 구문 두개 합쳐야하는데  If (h_clk’event and h_clk= ‘1’) or  (CLO_S = ‘0’ and (hour_1’event and hour_1 = ‘0’)) then

이렇게 묶어버리니까 Xst 797 : Unsupported clock state ment 뜨면서 안돼네요


자일링스 홈페이지 들어가니까 복잡한 조건문은 지원하지 않는다고 하는데 어떻게 묶어야할까요 ?