01 Introduction
01 Introduction
Introduction
Neeraj Goel
IIT Ropar
Introduction
• What is a digital systems
– Takes digital input
– Digital output
– Process digital information
• Digital
– Discrete and discontinuous
– Example – decimal digits 0, 1, 2, ...9
– Combination of digits become number – still digital
• We perceive real world as analog – continuous in
values as well as in time
• Can digital system be of any use?
Hardware description
2. Boolean algebra, Logic gates,
Language (Verilog)
optimizations
Simulation and
3. Combinational Synthesis
4. Sequential Logic
Logic
FPGA Implementation
5. System Design
6. Technology aspects,
Synthesis, FPGA
Digital Logic Design:Introduction. 5
Learning Objectives
1. To learn fundamentals of digital design, including
boolean algebra, basic gates, logic minimization, finite
state machines, state minimization.
2. To learn to design standard logic blocks like arithmetic
operations, encoders, multiplexers, counters, registers
using basic logic gates
3. To learn to analyze a digital system for area and delay
4. To learn to design a digital system using basic gates,
standard logic blocks. Digital system may be
combinational or sequential or both
5(101)
4(100)
3(011)
2(010)
1(001)
1 2 3 4 5 6 Time
ADC
Sensors (image,
microphone, piezoelectric) Digital Input
Digital System
Analog System
Digital Output
DAC
Transducers and
Actuators Analog Output
• Technology
• Compute
requirements
• Design
automation
Digital Logic Design:Introduction. 19
Summary M1.02
• Analog to digital conversion
0 1 1 1 1 0
Overflow
Underflow
Discontinuity - Breakpoint
https://thesis.laszlokorte.de/demo/number-circle.html
https://thesis.laszlokorte.de/demo/number-circle.html
Clockwise – addition
Anticlockwise – subtraction
Positive number
- u clockwise steps from 0
Negative number
- u steps anticlockwise from 0
u clockwise steps =
2N – u anticlockwise u steps
https://thesis.laszlokorte.de/demo/number-circle.html
0 0000
1 0001 Another sequence for gray code
2 0011 ->0000 -> 0001 -> 0011 -> 0010
->0110 -> 0111 -> 0101 -> 0100
3 0010
->1100 -> 1101 -> 1111 -> 1110
4 0110 ->1010 -> 1011 -> 1001 -> 1000
5 1110
6 1010
Good for counting!
7 1011
8 1001
9 1000
• No decimal point
– Maximum range (0 to 65536) or (-32768 to 32767)
• Decimal point after 4 bits
– Range -2048 to 2047 and 4 bits for fraction
• Decimal point after 8 bits
– Range -256 to 255 and 8 bits for fraction
Limited range and precision – with given number of bits
Digital Logic Design:Introduction. 65
Real numbers
Number of atoms in 1 gram of Hydrogen
602000000000000000000000
Size of transistor
In latest chips
7nm
• Binary number: 1
• Normal scientific form : 1.0 x 20
• Sign: 0
• Mantinssa: 000 0000 0000 0000 0000 0000
• Exponent: (127 +0)10 = (127)10 = (011 1111 1)2
• Floating point number
0011 1111 1000 0000 0000 0000 0000 0000
0x3F800000
– 1 bit of sign
– 15 bit of exponent
– 64 bit of mantissa