Page 199 - MDP2020-2
P. 199

················································································  명장양성프로젝트  【MDP】  과제발표회  자료집  Ⅱ    |  193



                                                    begin
                                                      channel  =  0;
                                                      ale  =  1;
                                                      start  =  0;
                                                    end
                                                else  if(adc_time  <  8)
                                                    begin
                                                      channel  =  0;
                                                      ale  =  1;
                                                      start  =  1;
                                                    end
                                                else  if(adc_time  <  10)
                                                    begin
                                                      channel  =  0;
                                                      ale  =  0;
                                                      start  =  1;
                                                    end
                                                else
                                                    begin
                                                      channel  =  0;
                                                      ale  =  0;
                                                      start  =  0;
                                                    end
                                              end
                      s_WAIT:  begin
                                              channel  =  0;

                                              ale  =  0;
                                              start  =  0;
                                              oe  =  0;
                                            end
                      s_OE_SIG:  begin
                                                  channel  =  0;
                                                  ale  =  0;
                                                  start  =  0;
                                                  oe  =  (adc_time  <  8)?  0  :  1;
                                                end
                      s_CAPTURE:  begin
                                                      channel  =  0;
                                                      ale  =  0;
                                                      start  =  0;
                                                      oe  =  1;
                                                  end
                      default:  begin
                                                channel  =  0;
                                                ale  =  0;
   194   195   196   197   198   199   200   201   202   203   204