SlideShare a Scribd company logo
1 of 33
Download to read offline
Digital System Design
Course
Amin Foshati (/ˈfɒsˈhati/)
Sharif University of Technology
Department of Computer Engineering
Introduction
Spring Semester
2023
The present lectures have been prepared for an undergraduate course
in Digital System Design (DSD).
Spring Semester
2023
Introduction
Digital System Design
Evaluation
Why is this course
essential?
Course Evaluation
•The grading is based on:
• Assignments (4 points)
• Programming exercises
• Midterm (8 points)
• Open-book exam
• Programming
• Multiple choice exam
• Final (8 points)
• Based on the university announcement
• Bonus assignments & classwork (5 points)
3
Timetable & TAs
• Course Timetable:
• https://docs.google.com/spreadsheets/d/1eC6ObIJd4DHG-
zO8wMWr3w8muHid7XiRVYFAsrKoQJo/edit?usp=sharing
• My email:
• a.foshati@{gmail.com/sharif.edu}
• Teacher Assistants (TAs):
• Ms. Rezazad
• rezazad.shiva@gmail.com
• Ms. Farahani
• Mr. Ghasab
• BSc students
4
Why is this course essential?
•We should evaluate this course on some aspects:
• Prerequisite to research
• Educational funds
• Prerequisite to job vacancies
• Higher salary
• Emerging technologies
• Artificial intelligence technology
• Crypto currency
• Autonomous vehicles
5
What is a digital system?
Digital Signal vs. Analog Signal
• Physical quantities
• Temperature
• Speed
• Distance
• Analog signal
• Continuous
• Digital signal
• Discrete
• Sampling
• Mapping continuous to discrete
• Converting analog to digital
Time
Temprature
10
20
25
4 8 12 16 20 24
Time
Temprature
10
20
25
4 8 12 16 20
Analog Signal
Sampling
Time
Temprature
10
20
25
4 8 12 16 20 24
Analog Signal Digital Signal
7
Digital System
• Digital System
• A digital system is a combination of devices designed to
manipulate a digital signals.
• Because of real-world has the analog quantity, the digital systems
need some mix-signal systems to communicate with the real world.
• Analog to Digital Convertor (ADC)
• Digital to Analog Convertor (DAC)
Source: openlabpro.com
8
Digital System Example
Source: Ronald Tocci
9
Shift from analog to digital
• Analog System
• Digital System
10
Digital Systems
• Advantages:
• Adjustable precision
• High noise immunity
• Ease of diagnosis and repair
• Design Automation
• More digital circuit can fabricated on IC chips
• Disadvantages
• The real world is analog
11
How to Design a Digital
System?
Design a Digital System
Synthesis:
Code Bitstream
FAB
Programmer
Programmer Logic Devices (PLDs)
Writing a code by CAD tools
2 1
13
Computer Aided Design (CAD)
• CAD:
• The use of computer software to aid in design process
• Electronic CAD (ECAD) / Electronic Design Automation (EDA)
• Synthesis
• Convert code to bitstream
• Bitstream: A file that contains the information of your hardware. Like the
"exe" file in the Windows operating system that includes information on
your application.
• Simulation
• Running a hardware code on a computer
14
Programmer Logic Device (PLD)
• A device used in the construction of reconfigurable digital
circuits
• A PLD has an undefined function at the time of construction
• Unlike digital logic IC that defined functionality
• 7400 (two-input NAND gates)
• 7408 (two-input AND gates)
• …
• You can program for specific functionality
• Two types:
• Reconfigurable
• They can only be configured once.
15
Field-Programmable Gate Array (FPGA)
PLD Example:
Basys 3 Artix-7 FPGA Board
16
Computer Aided Design (CAD)
FAB
Programmer
PLDs
Writing a code by CAD tools
2 1
Application-Specific Integrated Chips (ASIC) 17
Which way is a better choice?
ASICs or PLDs?
ASIC
•Cost
• First chip
• Several hundred thousand dollars
• Other chips
• Very cheap
•Time
• We should be patient to produce a chip!
•Reconfigurable after production?
• No
19
PLD
• Cost
• Buy a PLD and programmer
• ZedBoard Zynq-7000
• 500 dollars
• Time
• After Synthesis
• You can program the bitstream file immediately.
• Reconfigurable after production?
• Yes
20
Which solution is chosen?
• Mass production
• ASIC
• Reconfigurable Computing (RC)
• Run some part of product and store result then run another part.
• PLD
• Custom hardware
• PLD
• ASIC
• Prototyping
• Creating a sample product for validation and verification
• PLD
21
Computer Aided Design (CAD)
FAB
Programmer
PLDs
Writing a code by CAD tools
2 1
ASIC
Hardware
Description
Language (HDL)
22
Why are CAD tools and HDLs
essential?
Contemporary Digital System
•More complex designs
•System on Chip (SoC)
•Shorter Time-To-Market (TTM)
•the period of time between the idea of a product
and its release to the market
•Cheaper products
•Reduce cost of designing
24
Integrated Circuits (ICs)
• SSI (Small Scale Integration): 1 to 30 gates
• a small number of gates
• MSI (Medium Scale Integration): 30 to 300 gates
• decoder, register, counter
• LSI (Large Scale Integration): 300 to 300,000 gates
• small memories
• VLSI (Very Large Scale Integration): > 1,000,000 transistors
• microprocessors, memories
25
Circuit Design Solution
•Paper and Pencil
• Suitable for:
• SSI
• MSI
•Algorithmic State Machine (ASM)
• Suitable for:
• LSI
•CAD Tools and HDL
• Suitable for:
• VLSI
26
Why C, Java, Python, and etc.
are not suitable?
Requirements of HDLs
• Concurrency
• Hardware operate parallelly
• Time
• The results should be available before the next clock
• Design Hierarchy
• Divide a system into smaller parts
• Structural Specification
• Defined a system by elements and interconnections
• Pragmatics
• can be physically implemented
28
Requirements of HDLs (Cont.)
•Concurrency
• Hardware operate parallelly
• C language run serially by default
•Timing
• HDL can emulate seconds, milliseconds, etc.
• Order is essential in the C language
29
Combinational Part Combinational Part
Registers Registers Registers
Combinational Part Combinational Part
Registers Registers Registers
Requirements of HDLs (Cont.)
•Design Hierarchy
• Divide a system into smaller parts
• Focus on a manageable portion of the system
•Structural Specification
• Defined a system by elements and interconnections
• A system has many subsystems
• Every subsystem has several inputs and outputs
System
Subsystem 1
…
Subsystem 2
…
…
Subsystem n
…
System
Subsystem 1
3 inputs
2 outputs
30
Example of Design Hierarchy
…
… … …
31
Structural vs. Behavioral
Half Adder
Structural
S = A ^ B;
C = A & B;
Half Adder
Behavioral
32
Course Overview
This course aims to learn how to design a
digital system with Computer-Aided
Design (CAD) tools and Hardware
Description Language (HDL).
33

More Related Content

Similar to DSD-1 (Introduction).pdf

AggreGate IoT Integration Platform
AggreGate IoT Integration PlatformAggreGate IoT Integration Platform
AggreGate IoT Integration Platform
Tibbo
 

Similar to DSD-1 (Introduction).pdf (20)

Embedded systems
Embedded systemsEmbedded systems
Embedded systems
 
Verilog Lecture1
Verilog Lecture1Verilog Lecture1
Verilog Lecture1
 
Digital VLSI Design : Introduction
Digital VLSI Design : IntroductionDigital VLSI Design : Introduction
Digital VLSI Design : Introduction
 
System on Chip (SoC)
System on Chip (SoC)System on Chip (SoC)
System on Chip (SoC)
 
vlsi design summer training ppt
vlsi design summer training pptvlsi design summer training ppt
vlsi design summer training ppt
 
CAD: Layout Extraction
CAD: Layout ExtractionCAD: Layout Extraction
CAD: Layout Extraction
 
DE PPT.pptx
DE PPT.pptxDE PPT.pptx
DE PPT.pptx
 
Overview-UID.ppt
Overview-UID.pptOverview-UID.ppt
Overview-UID.ppt
 
West Coast DevCon 2014: Engine Overview - A Programmers Glimpse at UE4
West Coast DevCon 2014: Engine Overview - A Programmers Glimpse at UE4West Coast DevCon 2014: Engine Overview - A Programmers Glimpse at UE4
West Coast DevCon 2014: Engine Overview - A Programmers Glimpse at UE4
 
coordinates system
coordinates systemcoordinates system
coordinates system
 
Cad cam capp yasir 14 me-ind01
Cad cam capp yasir 14 me-ind01Cad cam capp yasir 14 me-ind01
Cad cam capp yasir 14 me-ind01
 
Unit 1 INTRODUCTION (COMPUTER AIDED DESIGN AND MANUFACTURING )
Unit 1 INTRODUCTION (COMPUTER AIDED DESIGN AND MANUFACTURING )Unit 1 INTRODUCTION (COMPUTER AIDED DESIGN AND MANUFACTURING )
Unit 1 INTRODUCTION (COMPUTER AIDED DESIGN AND MANUFACTURING )
 
Basic Design Flow for Field Programmable Gate Arrays
Basic Design Flow for Field Programmable Gate ArraysBasic Design Flow for Field Programmable Gate Arrays
Basic Design Flow for Field Programmable Gate Arrays
 
Buy Embedded Systems Projects Online
Buy Embedded Systems Projects Online Buy Embedded Systems Projects Online
Buy Embedded Systems Projects Online
 
embedded systems & robotics Projects Based training @Technogroovy
embedded systems & robotics Projects Based training @Technogroovyembedded systems & robotics Projects Based training @Technogroovy
embedded systems & robotics Projects Based training @Technogroovy
 
AggreGate IoT Integration Platform
AggreGate IoT Integration PlatformAggreGate IoT Integration Platform
AggreGate IoT Integration Platform
 
Digital_system_design_A (1).ppt
Digital_system_design_A (1).pptDigital_system_design_A (1).ppt
Digital_system_design_A (1).ppt
 
[DSC Europe 23] Petar Zecevic - ML in Production on Databricks
[DSC Europe 23] Petar Zecevic - ML in Production on Databricks[DSC Europe 23] Petar Zecevic - ML in Production on Databricks
[DSC Europe 23] Petar Zecevic - ML in Production on Databricks
 
IncQuery Suite demo for INCOSE 2022IW
IncQuery Suite demo for INCOSE 2022IWIncQuery Suite demo for INCOSE 2022IW
IncQuery Suite demo for INCOSE 2022IW
 
Implementation of DSP Algorithms on FPGA
Implementation of DSP Algorithms on FPGAImplementation of DSP Algorithms on FPGA
Implementation of DSP Algorithms on FPGA
 

Recently uploaded

BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
SoniaTolstoy
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
heathfieldcps1
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
fonyou31
 

Recently uploaded (20)

Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 

DSD-1 (Introduction).pdf

  • 1. Digital System Design Course Amin Foshati (/ˈfɒsˈhati/) Sharif University of Technology Department of Computer Engineering Introduction Spring Semester 2023
  • 2. The present lectures have been prepared for an undergraduate course in Digital System Design (DSD). Spring Semester 2023 Introduction Digital System Design Evaluation Why is this course essential?
  • 3. Course Evaluation •The grading is based on: • Assignments (4 points) • Programming exercises • Midterm (8 points) • Open-book exam • Programming • Multiple choice exam • Final (8 points) • Based on the university announcement • Bonus assignments & classwork (5 points) 3
  • 4. Timetable & TAs • Course Timetable: • https://docs.google.com/spreadsheets/d/1eC6ObIJd4DHG- zO8wMWr3w8muHid7XiRVYFAsrKoQJo/edit?usp=sharing • My email: • a.foshati@{gmail.com/sharif.edu} • Teacher Assistants (TAs): • Ms. Rezazad • rezazad.shiva@gmail.com • Ms. Farahani • Mr. Ghasab • BSc students 4
  • 5. Why is this course essential? •We should evaluate this course on some aspects: • Prerequisite to research • Educational funds • Prerequisite to job vacancies • Higher salary • Emerging technologies • Artificial intelligence technology • Crypto currency • Autonomous vehicles 5
  • 6. What is a digital system?
  • 7. Digital Signal vs. Analog Signal • Physical quantities • Temperature • Speed • Distance • Analog signal • Continuous • Digital signal • Discrete • Sampling • Mapping continuous to discrete • Converting analog to digital Time Temprature 10 20 25 4 8 12 16 20 24 Time Temprature 10 20 25 4 8 12 16 20 Analog Signal Sampling Time Temprature 10 20 25 4 8 12 16 20 24 Analog Signal Digital Signal 7
  • 8. Digital System • Digital System • A digital system is a combination of devices designed to manipulate a digital signals. • Because of real-world has the analog quantity, the digital systems need some mix-signal systems to communicate with the real world. • Analog to Digital Convertor (ADC) • Digital to Analog Convertor (DAC) Source: openlabpro.com 8
  • 10. Shift from analog to digital • Analog System • Digital System 10
  • 11. Digital Systems • Advantages: • Adjustable precision • High noise immunity • Ease of diagnosis and repair • Design Automation • More digital circuit can fabricated on IC chips • Disadvantages • The real world is analog 11
  • 12. How to Design a Digital System?
  • 13. Design a Digital System Synthesis: Code Bitstream FAB Programmer Programmer Logic Devices (PLDs) Writing a code by CAD tools 2 1 13
  • 14. Computer Aided Design (CAD) • CAD: • The use of computer software to aid in design process • Electronic CAD (ECAD) / Electronic Design Automation (EDA) • Synthesis • Convert code to bitstream • Bitstream: A file that contains the information of your hardware. Like the "exe" file in the Windows operating system that includes information on your application. • Simulation • Running a hardware code on a computer 14
  • 15. Programmer Logic Device (PLD) • A device used in the construction of reconfigurable digital circuits • A PLD has an undefined function at the time of construction • Unlike digital logic IC that defined functionality • 7400 (two-input NAND gates) • 7408 (two-input AND gates) • … • You can program for specific functionality • Two types: • Reconfigurable • They can only be configured once. 15
  • 16. Field-Programmable Gate Array (FPGA) PLD Example: Basys 3 Artix-7 FPGA Board 16
  • 17. Computer Aided Design (CAD) FAB Programmer PLDs Writing a code by CAD tools 2 1 Application-Specific Integrated Chips (ASIC) 17
  • 18. Which way is a better choice? ASICs or PLDs?
  • 19. ASIC •Cost • First chip • Several hundred thousand dollars • Other chips • Very cheap •Time • We should be patient to produce a chip! •Reconfigurable after production? • No 19
  • 20. PLD • Cost • Buy a PLD and programmer • ZedBoard Zynq-7000 • 500 dollars • Time • After Synthesis • You can program the bitstream file immediately. • Reconfigurable after production? • Yes 20
  • 21. Which solution is chosen? • Mass production • ASIC • Reconfigurable Computing (RC) • Run some part of product and store result then run another part. • PLD • Custom hardware • PLD • ASIC • Prototyping • Creating a sample product for validation and verification • PLD 21
  • 22. Computer Aided Design (CAD) FAB Programmer PLDs Writing a code by CAD tools 2 1 ASIC Hardware Description Language (HDL) 22
  • 23. Why are CAD tools and HDLs essential?
  • 24. Contemporary Digital System •More complex designs •System on Chip (SoC) •Shorter Time-To-Market (TTM) •the period of time between the idea of a product and its release to the market •Cheaper products •Reduce cost of designing 24
  • 25. Integrated Circuits (ICs) • SSI (Small Scale Integration): 1 to 30 gates • a small number of gates • MSI (Medium Scale Integration): 30 to 300 gates • decoder, register, counter • LSI (Large Scale Integration): 300 to 300,000 gates • small memories • VLSI (Very Large Scale Integration): > 1,000,000 transistors • microprocessors, memories 25
  • 26. Circuit Design Solution •Paper and Pencil • Suitable for: • SSI • MSI •Algorithmic State Machine (ASM) • Suitable for: • LSI •CAD Tools and HDL • Suitable for: • VLSI 26
  • 27. Why C, Java, Python, and etc. are not suitable?
  • 28. Requirements of HDLs • Concurrency • Hardware operate parallelly • Time • The results should be available before the next clock • Design Hierarchy • Divide a system into smaller parts • Structural Specification • Defined a system by elements and interconnections • Pragmatics • can be physically implemented 28
  • 29. Requirements of HDLs (Cont.) •Concurrency • Hardware operate parallelly • C language run serially by default •Timing • HDL can emulate seconds, milliseconds, etc. • Order is essential in the C language 29 Combinational Part Combinational Part Registers Registers Registers Combinational Part Combinational Part Registers Registers Registers
  • 30. Requirements of HDLs (Cont.) •Design Hierarchy • Divide a system into smaller parts • Focus on a manageable portion of the system •Structural Specification • Defined a system by elements and interconnections • A system has many subsystems • Every subsystem has several inputs and outputs System Subsystem 1 … Subsystem 2 … … Subsystem n … System Subsystem 1 3 inputs 2 outputs 30
  • 31. Example of Design Hierarchy … … … … 31
  • 32. Structural vs. Behavioral Half Adder Structural S = A ^ B; C = A & B; Half Adder Behavioral 32
  • 33. Course Overview This course aims to learn how to design a digital system with Computer-Aided Design (CAD) tools and Hardware Description Language (HDL). 33