SlideShare a Scribd company logo
1 of 16
FCI Minia University
Computer Architecture
Section 1
Collected by T.A / Mohamed Hossam
FCI Minia University 2021 © 2
Contents
Introduction.
Boolean Algebra.
Gates & truth table.
The tools.
The And Gate.
FCI Minia University 2021 © 3
Introduction
The structure of computers.
Input output
CPU
Main memory
Interconnection System
FCI Minia University 2021 © 4
Introduction
The component of central processing unit (CPU).
Registers CPU
interconnection
Control
Unit
ALU
FCI Minia University 2021 © 5
Introduction
Imagine we have some problems need to solved by computer, what is
the sequence logic structure to be solved?
Software
Layer
Problem
Algorithm
Programming language
Operating system
Hardware
Layer
Microarchitecture
Gates / Registers
Circuits
Electrons
ISA
FCI Minia University 2021 © 6
Boolean Algebra
 0 + 0 = 0
 0 + 1 = 1
 1 + 0 = 1
 1 + 1 = 1
 0 . 0 = 0
 0 . 1 = 0
 1 . 0 = 0
 1 . 1 = 1
 X + 0 = X
 X + X = X
 X + 1 = 1
 X + X’ = 1
 X . 0 = 0
 X . 1 = X
 X . X = X
 X . X’ = 0
 X + Y = Y + X
 X + (Y + Z) = (X + Y) + Z
 X + (Y . Z) = (X + Y) . (X + Z)
 X + (X . Y) = X
 X . Y = Y . X
 X . (Y . Z) = (X . Y) . Z
 X . (Y + Z) = X . Y + X . Z
 X . (X + Y)= X
FCI Minia University 2021 © 7
Boolean Algebra
 X . Y + X . Y’ = X
 (X + Y) . (X + Y’) = X
 X + (X’ . Y) = X + Y
 X . (X’ + Y)= X . Y
 (X . Y)’ = X’ + Y’
 (X + Y)’ = X’ . Y’
FCI Minia University 2021 © 8
Gates and Truth table
Name Buffer NOT AND NAND OR NOR XOR XNOR
Algebra
Expression
Input = A
Out = A
Input = A
Out = A’
Input = A,B
Out = A . B
Input = A,B
Out = A’ . B’
Input = A,B
Out = A + B
Input = A,B
Out = A’ + B’
Input = A,B
Out =A Ꚛ B
Input = A,B
Out = A’ Ꚛ B’
Symbol
Truth Table
FCI Minia University 2021 © 9
Tools
Java Runtime platform.
Hardware Simulator.
Text Editor.
Nand2teries Application.
Tool Documentation.
FCI Minia University 2021 © 10
Tools
Pin
Values
HDL
Program
Test
Script
Simulator
Control
FCI Minia University 2021 © 11
Tools
For the hardware simulator program, we have 4 files for each gate:
Hardware description language file, EX: And.hdl
Test script file, Ex: And.tst
Output file, Ex: And.out
We
create
Program
create
Compare file, EX: And.cmp
Form
Nand2teries
FCI Minia University 2021 © 12
Tools
Common rules for write gate by hardware decryption language
(HDL):
We write the chip name.
We write the input parameters.
We write the output parameters.
We write the function of the gate.
FCI Minia University 2021 © 13
And Gate
The And gate by the Nand gate.
And(a,b) = Not(Nand(a,b))
FCI Minia University 2021 © 14
And Gate
Build the And gate.
a
b
x out
FCI Minia University 2021 © 15
Assignment
Build the (Or gate) using Nand gate.
FCI Minia University 2021 © 16

More Related Content

Similar to HDL.pptx

Microprocessor Week1: Introduction
Microprocessor Week1: IntroductionMicroprocessor Week1: Introduction
Microprocessor Week1: IntroductionArkhom Jodtang
 
Improving Engagement of Students in Software Engineering Courses through Gami...
Improving Engagement of Students in Software Engineering Courses through Gami...Improving Engagement of Students in Software Engineering Courses through Gami...
Improving Engagement of Students in Software Engineering Courses through Gami...Facultad de Informática UCM
 
Computer Architecture – An Introduction
Computer Architecture – An IntroductionComputer Architecture – An Introduction
Computer Architecture – An IntroductionDilum Bandara
 
software effort estimation
 software effort estimation software effort estimation
software effort estimationBesharam Dil
 
High Definition Fuzzing; Exploring HDMI vulnerabilities
High Definition Fuzzing; Exploring HDMI vulnerabilitiesHigh Definition Fuzzing; Exploring HDMI vulnerabilities
High Definition Fuzzing; Exploring HDMI vulnerabilitiesE Hacking
 
EVIL: Exploiting Software via Natural Language
EVIL: Exploiting Software via Natural LanguageEVIL: Exploiting Software via Natural Language
EVIL: Exploiting Software via Natural LanguagePietro Liguori
 
System Software module 1
System Software module 1System Software module 1
System Software module 1ShwetaNirmanik
 
Csise15 codehunt
Csise15 codehuntCsise15 codehunt
Csise15 codehuntTao Xie
 
Across the Silicon Spectrum: Xeon Phi to Quark – Unleash the Performance in Y...
Across the Silicon Spectrum: Xeon Phi to Quark – Unleash the Performance in Y...Across the Silicon Spectrum: Xeon Phi to Quark – Unleash the Performance in Y...
Across the Silicon Spectrum: Xeon Phi to Quark – Unleash the Performance in Y...Intel Software Brasil
 
Online test program generator for RISC-V processors
Online test program generator for RISC-V processorsOnline test program generator for RISC-V processors
Online test program generator for RISC-V processorsRISC-V International
 
Video lectures for bba
Video lectures for bbaVideo lectures for bba
Video lectures for bbaEdhole.com
 
Unveiling the Early Universe with Intel Xeon Processors and Intel Xeon Phi at...
Unveiling the Early Universe with Intel Xeon Processors and Intel Xeon Phi at...Unveiling the Early Universe with Intel Xeon Processors and Intel Xeon Phi at...
Unveiling the Early Universe with Intel Xeon Processors and Intel Xeon Phi at...Intel IT Center
 

Similar to HDL.pptx (20)

Alina Dėmenienė. Pagrindiniai skirtumai tarp C++ ir Python
Alina Dėmenienė. Pagrindiniai skirtumai tarp C++ ir PythonAlina Dėmenienė. Pagrindiniai skirtumai tarp C++ ir Python
Alina Dėmenienė. Pagrindiniai skirtumai tarp C++ ir Python
 
Microprocessor Week1: Introduction
Microprocessor Week1: IntroductionMicroprocessor Week1: Introduction
Microprocessor Week1: Introduction
 
Improving Engagement of Students in Software Engineering Courses through Gami...
Improving Engagement of Students in Software Engineering Courses through Gami...Improving Engagement of Students in Software Engineering Courses through Gami...
Improving Engagement of Students in Software Engineering Courses through Gami...
 
ELAVARASAN.pdf
ELAVARASAN.pdfELAVARASAN.pdf
ELAVARASAN.pdf
 
Python avinash
Python avinashPython avinash
Python avinash
 
Computer Architecture – An Introduction
Computer Architecture – An IntroductionComputer Architecture – An Introduction
Computer Architecture – An Introduction
 
software effort estimation
 software effort estimation software effort estimation
software effort estimation
 
Tackling Deep Software Variability Together
Tackling Deep Software Variability TogetherTackling Deep Software Variability Together
Tackling Deep Software Variability Together
 
Lecture 12 os
Lecture 12 osLecture 12 os
Lecture 12 os
 
High Definition Fuzzing; Exploring HDMI vulnerabilities
High Definition Fuzzing; Exploring HDMI vulnerabilitiesHigh Definition Fuzzing; Exploring HDMI vulnerabilities
High Definition Fuzzing; Exploring HDMI vulnerabilities
 
Introduction
IntroductionIntroduction
Introduction
 
IT for beginners
IT for beginnersIT for beginners
IT for beginners
 
EVIL: Exploiting Software via Natural Language
EVIL: Exploiting Software via Natural LanguageEVIL: Exploiting Software via Natural Language
EVIL: Exploiting Software via Natural Language
 
System Software module 1
System Software module 1System Software module 1
System Software module 1
 
Csise15 codehunt
Csise15 codehuntCsise15 codehunt
Csise15 codehunt
 
Across the Silicon Spectrum: Xeon Phi to Quark – Unleash the Performance in Y...
Across the Silicon Spectrum: Xeon Phi to Quark – Unleash the Performance in Y...Across the Silicon Spectrum: Xeon Phi to Quark – Unleash the Performance in Y...
Across the Silicon Spectrum: Xeon Phi to Quark – Unleash the Performance in Y...
 
Online test program generator for RISC-V processors
Online test program generator for RISC-V processorsOnline test program generator for RISC-V processors
Online test program generator for RISC-V processors
 
slide05.pdf
slide05.pdfslide05.pdf
slide05.pdf
 
Video lectures for bba
Video lectures for bbaVideo lectures for bba
Video lectures for bba
 
Unveiling the Early Universe with Intel Xeon Processors and Intel Xeon Phi at...
Unveiling the Early Universe with Intel Xeon Processors and Intel Xeon Phi at...Unveiling the Early Universe with Intel Xeon Processors and Intel Xeon Phi at...
Unveiling the Early Universe with Intel Xeon Processors and Intel Xeon Phi at...
 

Recently uploaded

Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...apidays
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxRemote DBA Services
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Bhuvaneswari Subramani
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdfSandro Moreira
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Jeffrey Haguewood
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Zilliz
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsNanddeep Nachan
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxRustici Software
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Orbitshub
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityWSO2
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...apidays
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesrafiqahmad00786416
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 

Recently uploaded (20)

Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 

HDL.pptx

  • 1. FCI Minia University Computer Architecture Section 1 Collected by T.A / Mohamed Hossam
  • 2. FCI Minia University 2021 © 2 Contents Introduction. Boolean Algebra. Gates & truth table. The tools. The And Gate.
  • 3. FCI Minia University 2021 © 3 Introduction The structure of computers. Input output CPU Main memory Interconnection System
  • 4. FCI Minia University 2021 © 4 Introduction The component of central processing unit (CPU). Registers CPU interconnection Control Unit ALU
  • 5. FCI Minia University 2021 © 5 Introduction Imagine we have some problems need to solved by computer, what is the sequence logic structure to be solved? Software Layer Problem Algorithm Programming language Operating system Hardware Layer Microarchitecture Gates / Registers Circuits Electrons ISA
  • 6. FCI Minia University 2021 © 6 Boolean Algebra  0 + 0 = 0  0 + 1 = 1  1 + 0 = 1  1 + 1 = 1  0 . 0 = 0  0 . 1 = 0  1 . 0 = 0  1 . 1 = 1  X + 0 = X  X + X = X  X + 1 = 1  X + X’ = 1  X . 0 = 0  X . 1 = X  X . X = X  X . X’ = 0  X + Y = Y + X  X + (Y + Z) = (X + Y) + Z  X + (Y . Z) = (X + Y) . (X + Z)  X + (X . Y) = X  X . Y = Y . X  X . (Y . Z) = (X . Y) . Z  X . (Y + Z) = X . Y + X . Z  X . (X + Y)= X
  • 7. FCI Minia University 2021 © 7 Boolean Algebra  X . Y + X . Y’ = X  (X + Y) . (X + Y’) = X  X + (X’ . Y) = X + Y  X . (X’ + Y)= X . Y  (X . Y)’ = X’ + Y’  (X + Y)’ = X’ . Y’
  • 8. FCI Minia University 2021 © 8 Gates and Truth table Name Buffer NOT AND NAND OR NOR XOR XNOR Algebra Expression Input = A Out = A Input = A Out = A’ Input = A,B Out = A . B Input = A,B Out = A’ . B’ Input = A,B Out = A + B Input = A,B Out = A’ + B’ Input = A,B Out =A Ꚛ B Input = A,B Out = A’ Ꚛ B’ Symbol Truth Table
  • 9. FCI Minia University 2021 © 9 Tools Java Runtime platform. Hardware Simulator. Text Editor. Nand2teries Application. Tool Documentation.
  • 10. FCI Minia University 2021 © 10 Tools Pin Values HDL Program Test Script Simulator Control
  • 11. FCI Minia University 2021 © 11 Tools For the hardware simulator program, we have 4 files for each gate: Hardware description language file, EX: And.hdl Test script file, Ex: And.tst Output file, Ex: And.out We create Program create Compare file, EX: And.cmp Form Nand2teries
  • 12. FCI Minia University 2021 © 12 Tools Common rules for write gate by hardware decryption language (HDL): We write the chip name. We write the input parameters. We write the output parameters. We write the function of the gate.
  • 13. FCI Minia University 2021 © 13 And Gate The And gate by the Nand gate. And(a,b) = Not(Nand(a,b))
  • 14. FCI Minia University 2021 © 14 And Gate Build the And gate. a b x out
  • 15. FCI Minia University 2021 © 15 Assignment Build the (Or gate) using Nand gate.
  • 16. FCI Minia University 2021 © 16

Editor's Notes

  1. Arithmetic and Login Unit (ALU).
  2. Instruction Set Architecture (ISA): - is interface layer to communicate between the software and hardware layer.
  3. Prove the (X . (X + Y)= X) or (X + (X . Y) = X).
  4. Nand2teries Application have all gates built in functions and compare file to test the results.
  5. Hardware Description Language (HDL).
  6. We build all gates by the built in gates (Nand).