30.12.2014 Views

Lecture 12 - Webstaff.kmutt.ac.th - kmutt

Lecture 12 - Webstaff.kmutt.ac.th - kmutt

Lecture 12 - Webstaff.kmutt.ac.th - kmutt

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Summary<br />

Resetting <strong>th</strong>e Count wi<strong>th</strong> a Decoder<br />

The divide-by-60 counter in <strong>th</strong>e text also uses partial<br />

decoding to clear <strong>th</strong>e tens count when a 6 was detected.<br />

HIGH<br />

CLR<br />

CTR DIV 10<br />

CTEN TC = 9<br />

RCO<br />

CLR CLR CTR DIV 6<br />

CTEN<br />

CLK<br />

C<br />

Q 3<br />

Q 2 Q 1 Q 0<br />

C<br />

Decode 59<br />

Q 3 Q 2 Q 1 Q 0<br />

Decode 6<br />

TC = 59<br />

To ENABLE<br />

of next CTR<br />

To next<br />

counter<br />

units<br />

The divide char<strong>ac</strong>teristic illustrated here is a good way to obtain a<br />

lower frequency using a counter. For example, <strong>th</strong>e 60 Hz power line<br />

can be converted to 1 Hz.<br />

tens<br />

Floyd, Digital Fundamentals, 10 <strong>th</strong> ed<br />

© 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!