Lecture 1 - IntroChapter 1
Lecture 1 - IntroChapter 1
Lecture 1 - IntroChapter 1
b. Intellectual Skills
b1. Solve problems related to different number systems and its different applications.
b2. Analyze problems related to different combinational circuits and their different applications.
b3. Analyze problems related to different sequential circuits and their different applications.
b4. Design digital circuits using professional software tools.
(Source: http://www.hitachi-hightech.com/global/products/device/semiconductor/life.html)
(Source: https://www.apple.com/ipad/)
(Source: ihsmarkit.com)
Analytical Engine
https://tinyurl.com/y6jnahhk
Nermin Salem ELE 215 - L1 11
Number of Transistors!
MOSFET scaling
(process nodes)
•10 µm – 1971
•6 µm – 1974
•3 µm – 1977
• 1.5 µm – 1981
•1 µm – 1984
•800 nm – 1987
•600 nm – 1990
•350 nm – 1993
•250 nm – 1996
•180 nm – 1999
•130 nm – 2001
•90 nm – 2003
•65 nm – 2005
•45 nm – 2007
•32 nm – 2009
•22 nm – 2012
•14 nm – 2014
•10 nm – 2016
•7 nm – 2018
•5 nm – 2020
•Future3 nm –
~2022
• Levels of Abstraction
1. The physics, the motion of electrons. The behavior of electrons is
described by quantum mechanics and Maxwell’s equations.
2. Our system is constructed from electronic devices such as transistors.
These devices have well-defined connection points called terminals and
can be modeled by the relationship between voltage and current as
measured at each terminal. In this device level, we can ignore the
individual electrons.
3. The next level of abstraction is analog circuits, in which devices are
assembled to create components such as amplifiers. Analog circuits input
and output a continuous range of voltages.
4. Digital circuits such as logic gates restrict the voltages to discrete ranges,
which we will use to indicate 0 and 1.
5. In logic design, we build more complex structures, such as adders or
memories, from digital circuits.
6. Microarchitecture links the logic and architecture levels of abstraction.
ELE 215
Example:
• Analog: Voice form a microphone
• Digital: Bits stored on a CD
Method 3:
Example: Convert the Example: Convert the binary
hexadecimal number (16.4)16 number 10110.01 2 into
into binary. hexadecimal
(1 6 . 4 )16
( 0001 0 1 1 0 . 0100 )2
Nermin Salem ELE 215 - L1 29
Method 4: Long Division
Conversions A) Integer Numbers:
Methods (Cont.) Example: Convert decimal 41 to binary
Calculations:
The answer, to seven significant figures, is obtained from the integer part of the
products:
(0.513)10 = (0.406517)8
Nermin Salem ELE 215 - L1 33
Complements
• Complements are used in digital computers to simplify the subtraction
operation and for logical manipulation.
Simplifying operations
leads to simpler, less
expensive circuits to
implement the
operations.
Examples:
1. The 1’s complement of 1011000 is 0100111
2. The 1’s complement of 0101101 is 1010010
Similarly, the 2’s complement can be formed by leaving all least significant 0’s and
the first 1 unchanged and replacing 1’s with 0’s and 0’s with 1’s in all other higher
significant digits.
Examples:
1. The 2’s complement of 1101100 is 0010100
2. The 2’s complement of 0110111 is 1001001
• Given the two binary numbers X = 1010100 and Y = 1000011, perform the
subtraction: (a) X - Y and (b) Y - X by using 2’s complements.
There is no end carry. Therefore,
the answer is Y - X = - (2 s’
complement of 1101111) =
- 0010001
Unsigned
2’s Complement
Signed Magnitude
subtract X – Y subtract Y – X
X→ 1010100 Y→ 1000011
+ +
2’s complement of Y → 0111101 2’s complement of X → 0101100
----------------------- -----------------------
Sum → 10010001 Sum → 1101111
Discard end carry No carry
Answer → 10001 Answer is the –(2’s complement of 1101111)→ –10001
Add 6 to
adjust the
number
Needs Adjusting to be from 0-9
Example:
ASCII code of N = 100 1110
In each case, we insert an extra bit in the leftmost position of the code to produce an
even number of 1’s in the character for even parity or an odd number of 1’s in the
character for odd parity. In general, one or the other parity is adopted, with even
parity being more common.