09.12.2012 Views

DIGITAL DESIGN

DIGITAL DESIGN

DIGITAL DESIGN

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

• • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • •<br />

DO NOT<br />

COPY<br />

DO NOT<br />

COPY<br />

DDO<br />

NOT<br />

COPY<br />

DO NOT<br />

COPY<br />

DO NOT<br />

Number Systems and Codes<br />

Copyright © 1999 by John F. Wakerly Copying Prohibited<br />

2<br />

c h a p t e r<br />

igital systems are built from circuits that process binary digits—<br />

0s and 1s—yet very few real-life problems are based on binary<br />

numbers or any numbers at all. Therefore, a digital system<br />

designer must establish some correspondence between the binary<br />

digits processed by digital circuits and real-life numbers,<br />

events, and conditions. The purpose of this chapter is to show you how<br />

familiar numeric quantities can be represented and manipulated in a digital<br />

system, and how nonnumeric data, events, and conditions also can be<br />

represented.<br />

The first nine sections describe binary number systems and show how<br />

addition, subtraction, multiplication, and division are performed in these<br />

systems. Sections 2.10–2.13 show how other things, such as decimal numbers,<br />

text characters, mechanical positions, and arbitrary conditions, can be<br />

encoded using strings of binary digits.<br />

Section 2.14 introduces “n-cubes,” which provide a way to visualize<br />

the relationship between different bit strings. The n-cubes are especially<br />

useful in the study of error-detecting codes in Section 2.15. We conclude the<br />

chapter with an introduction to codes for transmitting and storing data one<br />

bit at a time.<br />

21

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

Saved successfully!

Ooh no, something went wrong!