1 Introduction
1 Introduction
DIGITAL DESIGN
Dr. Alper SARIKAN
Spring 2023
OUTLINE
○ Introduction
○ History of VHDL
○ History of Verilog
○ VHDL or Verilog
○ Digital Design Flow
○ FPGA or ASIC
○ FPGA or Microcontroller
○ FPGA Internal Structure
○ Number Systems
○ Boolean Algebra
Introduction 2
INTRODUCTION
Introduction 3
HISTORY OF VHDL
Introduction 4
HISTORY OF VERILOG
Introduction 5
VHDL OR VERILOG
○ VHDL ○ Verilog
● Similar to ADA ● Similar to C
● I/O and Operation in ● I/O and Operation in the
different blocks same block
● Allow new types ● Does not allow new types
● Package, Library concepts ● No Library concept for
for complex system design complex system design
● Switch models are not ● Switch models are available
supported by default for low level modeling
Introduction 6
VHDL OR VERILOG
Introduction 8
FPGA OR ASIC
Introduction 9
FPGA OR MICROCONTROLLER
○ FPGA ○ Microcontroller
● Programmed using HDL, such ● Programmed using C or
as VHDL or Verilog assembly
● Allows real-time parallel ● Real-time parallel processing
processing is not available.
● Peripheral circuits need to be ● Peripheral circuits are
designed. predesigned.
● Peripheral circuits operation is ● Peripheral circuits operation is
determined by design. controlled using registers
● Response to any situation at ● Response to any situation
nanoseconds requires couple of clock cycles
● Most I/O pads are general ● I/O pads are shared between
purpose different peripheral circuits
● It can operate at any clock ● Allowed clock rates are
rate determined by manufacturer
Introduction 10
FPGA OR MICROCONTROLLER
○ FPGA ○ Microcontroller
● Timing of digital circuits ● Timing of digital circuits is
should be guaranteed by the guaranteed by the
designer manufacturer
● Usually, more expensive ● As cheap as couple of dollars
Introduction 11
FPGA INTERNAL STRUCTURE
Introduction 12
FPGA INTERNAL STRUCTURE
Introduction 13
FPGA INTERNAL STRUCTURE
Introduction 15
NUMBER SYSTEMS
Introduction 16
Introduction 17
Introduction 18
BOOLEAN ALGEBRA
Introduction 19
Introduction 20
Introduction 21
Introduction 22
Introduction 23
Introduction 24
BOOLEAN ALGEBRA
Introduction 25
BOOLEAN ALGEBRA
Introduction 26
BOOLEAN ALGEBRA
Introduction 27
BOOLEAN ALGEBRA
○ The select one of the input idea can be generalized for n-to-1
MUX
○ The control input is considered as n-bit number and to
determine the input to select, it is converted to base-10.
Introduction 28
BOOLEAN ALGEBRA
Introduction 29