Chapter 1 Binary System
Chapter 1 Binary System
[CSC-151]
Nature of course: Theory + Lab
Text Book:
• Digital Systems
• Binary Numbers
• Number base conversion
• Octal and hexadecimal numbers
• Binary Systems
• Integrated Circuits
Binary Systems:
Analog System
Analog systems process analog signals (continuous time signals) which
can take any value within a range, for example the output from a
speaker or a microphone.
Digital System
• Digital systems process digital signals which can take only a limited
number of values (discrete steps), usually just two values are used:
the positive supply voltage (+Vs) and zero volts (0V).
• Digital systems contain devices such as logic gates, flip-flops, shift
registers and counters.
• The general purpose digital computer is a best known example of
digital system.
Working principle of generic digital computer:
Memory stores programs as well as input, output and intermediate
data. The data path performs arithmetic and other data-processing
operations as specified by the program. The control unit supervises
the flow of information between the various units. A data path, when
combined with the control unit, forms a component referred to as a
central processing unit, or CPU. The program and data prepared by
the user are transferred into memory by means of an input device
such as a keyboard. An output device, such as a CRT (cathode-ray
tube) monitor, displays the results of the computations and presents
them to the user.
Assignment I:
Advantages and Disadvantages of Digital System over Analog
System.
Difference between Analog System and Digital System.
Advantages of digital system:
• Have made possible many scientific, industrial, and commercial
advances that would have been unattainable otherwise.
• Less expensive
• More reliable
• Easy to manipulate
• Flexibility and Compatibility
• Information storage can be easier in digital computer systems than
in analog ones.
• New features can often be added to a digital system more easily too.
Disadvantages of digital system:
• Use more energy than analog circuits to accomplish the same tasks,
thus producing more heat as well.
• Digital circuits are often fragile, in that if a single piece of digital
data is lost or misinterpreted, the meaning of large blocks of related
data can completely change.
• Quantization error during analog signal sampling.
Information Representation
Signals
Information variables represented by physical quantities.
For digital systems, the variables take on discrete values.
Two level or binary values are the most prevalent values in digital
systems.
Binary values are represented abstractly by:
• digits 0 and 1
• words (symbols) False (F) and True (T)
• words (symbols) Low (L) and High (H)
• and words On and Off.
Binary values are represented by values or ranges of values of
physical quantities
Number Systems
Examples:
B6A16 = 11 × 162 + 6 × 161 + 10 × 160 = 2816 + 96 + 10 = 292210
A74816 = 1010 0111 0100 1000 = 001 010 011 101 001 000 =
1235108
Basic Arithmetic of Binary Numbers
Eg:
10110 Binary No. to Gray Code
1 + 0 + 1 + 1 + 0 Binary Number
1 1 1 0 1 Gray Code
Eg:
Gray Code 11101 to Binary Code
1 1 1 0 1 Gray Code
1 0 1 1 0 Binary Number
SIMM
Short for Single In-line Memory Module, SIMM is a circuit board
that holds six to nine memory chips per board, the ninth chip usually an
error checking chip (parity/non parity) and were commonly used
with Intel Pentium or Pentium compatible motherboards. SIMMs are
rarely used today and have been widely replaced by DIMMs. SIMMs
are available in two flavors: 30 pin and 72 pin. 30-pin SIMMs are the
older standard, and were popular on third and fourth generation
motherboards. 72-pin SIMMs are used on fourth, fifth and sixth
generation PCs.
DIMM
Short for Dual In-line Memory Module, DIMM is a circuit board
that holds memory chips. DIMMs have a 64-bit path because of the
Pentium Processor requirements. Because of the new bit path,
DIMMs can be installed one at a time, unlike SIMMs on a Pentium
that would require two to be added. Above is an example image of a
512MB DIMM memory stick.
SO-DIMM is short for Small Outline DIMM and is available as a
72-pin and 144-pin configuration. SODIMMs are commonly utilized
in laptop computers.
Some of the advantages DIMMs have over SIMMs:
• DIMMs have separate contacts on each side of the board, thereby
providing twice as much data as a single SIMM
• The command address and control signals are buffered on the
DIMMs. With heavy memory requirements this will reduce the
loading effort of the memory.