SlideShare a Scribd company logo
PRESENTED TO:
Touhid Ahmed,
Lecturer,
Department of Computer Science and Engineering.
Course Title: Digital Logic Design
Course Code: CSE345
Section: 4
Semester: Spring 2021
Name ID
Md. Mizanur Rahman Riad Khan 2019-1-60-094
Md. Asad Chowdhury Dipu 2019-1-60-093
Asif Mahmud 2018-3-60-074
PRESENTED BY:
Mini Project Title:
Prime Number
Generator
Problem Statement:
Prime Numbers Generator.
4 bits input to 6 bits output.
Introduction:
Prime numbers is a common task in mathematics.
Prime numbers is also a common task in basic programming languages.
Prime numbers are important in the real world.
Design Process:
Design a logic circuit and simulate the circuit with Verilog HDL processes
are given below:
 Create a Truth Table for the Boolean expression of the logic gate.
 Simplifying Equation using Karnaugh maps (K-map).
 Verilog Code and Simulation.
 Circuit Drawing and Simulation.
 Analysis of the results.
Logic Design
: Truth Table:
A B C D F1 F2 F3 F4 F5 F6 Prime
Numbers
0 0 0 0 0 0 0 0 0 0 0
1 0 0 0 1 0 0 0 0 1 0 2
2 0 0 1 0 0 0 0 0 1 1 3
3 0 0 1 1 0 0 0 1 0 1 5
4 0 1 0 0 0 0 0 1 1 1 7
5 0 1 0 1 0 0 1 0 1 1 11
6 0 1 1 0 0 0 1 1 0 1 13
7 0 1 1 1 0 1 0 0 0 1 17
8 1 0 0 0 0 1 0 0 1 1 19
9 1 0 0 1 0 1 0 1 1 1 23
10 1 0 1 0 0 1 1 1 0 1 29
11 1 0 1 1 0 1 1 1 1 1 31
12 1 1 0 0 1 0 0 1 0 1 37
13 1 1 0 1 1 0 1 0 0 1 41
14 1 1 1 0 1 0 1 0 1 1 43
15 1 1 1 1 1 0 1 1 1 1 47
Simplifying Equation:
 Karnaugh maps (K-map) are used to facilitate the simplification of
Boolean algebra functions.
 Used Sum of Product (SOP) form.
Karnaugh maps (K-map):
KARNAUGH MAPS (K-MAP) FOR F1: KARNAUGH MAPS (K-MAP) FOR F2:
F1 = (A.B) F2 = (A.B
̅ + A
̅ .B.C.D)
Karnaugh maps (K-map):
KARNAUGH MAPS (K-MAP) FOR F3: KARNAUGH MAPS (K-MAP) FOR F4:
F3 = (A.C + B.C
̅ .D + B.C.D
̅ ) F4 = (B
̅ .C.D + A
̅ .B.D
̅ + B.C
̅ .D
̅ + A.B
̅ .D + A.B
̅ .C + A.C.D)
Karnaugh maps (K-map):
KARNAUGH MAPS (K-MAP) FOR F5: KARNAUGH MAPS (K-MAP) FOR F6:
F5 = (A
̅ .C
̅ .D + A
̅ .B.C
̅ + A.B
̅ .C
̅ + A.B
̅ .D +
A.B.C + A
̅ .B
̅ .C.D
̅ )
F6 = (C + B + A)
K-map Simplification output
From the above Karnaugh maps (K-map) simplification, we got the output,
 F1 = (A.B)
 F2 = (A.B
̅ + A
̅ .B.C.D)
 F3 = (A.C + B.C
̅ .D + B.C.D
̅ )
 F4 = (B
̅ .C.D + A
̅ .B.D
̅ + B.C
̅ .D
̅ + A.B
̅ .D + A.B
̅ .C + A.C.D)
 F5 = (A
̅ .C
̅ .D + A
̅ .B.C
̅ + A.B
̅ .C
̅ + A.B
̅ .D + A.B.C + A
̅ .B
̅ .C.D
̅ )
 F6 = (C + B + A)
Circuit Diagram:
Simulation:
Verilog
Code:
Verilog Code Simulation :
Binary Form:
Verilog Code Simulation :
Decimal Form:
Analysis:
 Verilog Code:
 End time is 160 ns.
 Grid Size is 1 ns.
 Functional simulation mode.
 Circuit Diagram:
 Grid Size is 1 ns.
 Functional simulation mode.
Discussions:
 Could not be generated more than 15 prime numbers.
 Implement the circuit on the breadboard will be better to analyze the results.
Conclusion:
Learned:
 Create a Truth Table for a specific problem.
 Simplification Boolean algebra functions using Karnaugh maps (K-map).
 Design a circuit diagram.
 Proper way to use the Quartus Simulation software.
 Analyze the results of the logic circuit and Verilog Code.
Thank you
 Any Question!

More Related Content

What's hot

AI_Session 10 Local search in continious space.pptx
AI_Session 10 Local search in continious space.pptxAI_Session 10 Local search in continious space.pptx
AI_Session 10 Local search in continious space.pptx
Asst.prof M.Gokilavani
 
Lab report for Prolog program in artificial intelligence.
Lab report for Prolog program in artificial intelligence.Lab report for Prolog program in artificial intelligence.
Lab report for Prolog program in artificial intelligence.
Alamgir Hossain
 
Course outline [csc241 object oriented programming]
Course outline [csc241 object oriented programming]Course outline [csc241 object oriented programming]
Course outline [csc241 object oriented programming]
Asfand Hassan
 
Unit I & II in Principles of Soft computing
Unit I & II in Principles of Soft computing Unit I & II in Principles of Soft computing
Unit I & II in Principles of Soft computing
Sivagowry Shathesh
 
simple problem to convert NFA with epsilon to without epsilon
simple problem to convert NFA with epsilon to without epsilonsimple problem to convert NFA with epsilon to without epsilon
simple problem to convert NFA with epsilon to without epsilon
kanikkk
 
Lecture 21 problem reduction search ao star search
Lecture 21 problem reduction search ao star searchLecture 21 problem reduction search ao star search
Lecture 21 problem reduction search ao star search
Hema Kashyap
 
Gradient descent method
Gradient descent methodGradient descent method
Gradient descent method
Sanghyuk Chun
 
Introduction Artificial Intelligence a modern approach by Russel and Norvig 1
Introduction Artificial Intelligence a modern approach by Russel and Norvig 1Introduction Artificial Intelligence a modern approach by Russel and Norvig 1
Introduction Artificial Intelligence a modern approach by Russel and Norvig 1
Garry D. Lasaga
 
Convolution Codes
Convolution CodesConvolution Codes
Convolution Codes
Pratishtha Ram
 
Ch8 (1) morris mano
Ch8 (1) morris manoCh8 (1) morris mano
Ch8 (1) morris mano
KIRTI89
 
03 Single layer Perception Classifier
03 Single layer Perception Classifier03 Single layer Perception Classifier
03 Single layer Perception Classifier
Tamer Ahmed Farrag, PhD
 
Logic microoperations
Logic microoperationsLogic microoperations
Logic microoperations
Nitesh Singh
 
Closure properties
Closure propertiesClosure properties
Closure properties
Dr. ABHISHEK K PANDEY
 
Recursion
RecursionRecursion
Recursion
Ssankett Negi
 
Theory of Computation Lecture Notes
Theory of Computation Lecture NotesTheory of Computation Lecture Notes
Theory of Computation Lecture Notes
FellowBuddy.com
 
Syntax-Directed Translation into Three Address Code
Syntax-Directed Translation into Three Address CodeSyntax-Directed Translation into Three Address Code
Syntax-Directed Translation into Three Address Code
sanchi29
 
Clustering in artificial intelligence
Clustering in artificial intelligence Clustering in artificial intelligence
Clustering in artificial intelligence
Karam Munir Butt
 
Displacement addressing
Displacement addressingDisplacement addressing
Displacement addressing
Rajon
 
Computer architecture cache memory
Computer architecture cache memoryComputer architecture cache memory
Computer architecture cache memory
Mazin Alwaaly
 
AI Propositional logic
AI Propositional logicAI Propositional logic
AI Propositional logic
SURBHI SAROHA
 

What's hot (20)

AI_Session 10 Local search in continious space.pptx
AI_Session 10 Local search in continious space.pptxAI_Session 10 Local search in continious space.pptx
AI_Session 10 Local search in continious space.pptx
 
Lab report for Prolog program in artificial intelligence.
Lab report for Prolog program in artificial intelligence.Lab report for Prolog program in artificial intelligence.
Lab report for Prolog program in artificial intelligence.
 
Course outline [csc241 object oriented programming]
Course outline [csc241 object oriented programming]Course outline [csc241 object oriented programming]
Course outline [csc241 object oriented programming]
 
Unit I & II in Principles of Soft computing
Unit I & II in Principles of Soft computing Unit I & II in Principles of Soft computing
Unit I & II in Principles of Soft computing
 
simple problem to convert NFA with epsilon to without epsilon
simple problem to convert NFA with epsilon to without epsilonsimple problem to convert NFA with epsilon to without epsilon
simple problem to convert NFA with epsilon to without epsilon
 
Lecture 21 problem reduction search ao star search
Lecture 21 problem reduction search ao star searchLecture 21 problem reduction search ao star search
Lecture 21 problem reduction search ao star search
 
Gradient descent method
Gradient descent methodGradient descent method
Gradient descent method
 
Introduction Artificial Intelligence a modern approach by Russel and Norvig 1
Introduction Artificial Intelligence a modern approach by Russel and Norvig 1Introduction Artificial Intelligence a modern approach by Russel and Norvig 1
Introduction Artificial Intelligence a modern approach by Russel and Norvig 1
 
Convolution Codes
Convolution CodesConvolution Codes
Convolution Codes
 
Ch8 (1) morris mano
Ch8 (1) morris manoCh8 (1) morris mano
Ch8 (1) morris mano
 
03 Single layer Perception Classifier
03 Single layer Perception Classifier03 Single layer Perception Classifier
03 Single layer Perception Classifier
 
Logic microoperations
Logic microoperationsLogic microoperations
Logic microoperations
 
Closure properties
Closure propertiesClosure properties
Closure properties
 
Recursion
RecursionRecursion
Recursion
 
Theory of Computation Lecture Notes
Theory of Computation Lecture NotesTheory of Computation Lecture Notes
Theory of Computation Lecture Notes
 
Syntax-Directed Translation into Three Address Code
Syntax-Directed Translation into Three Address CodeSyntax-Directed Translation into Three Address Code
Syntax-Directed Translation into Three Address Code
 
Clustering in artificial intelligence
Clustering in artificial intelligence Clustering in artificial intelligence
Clustering in artificial intelligence
 
Displacement addressing
Displacement addressingDisplacement addressing
Displacement addressing
 
Computer architecture cache memory
Computer architecture cache memoryComputer architecture cache memory
Computer architecture cache memory
 
AI Propositional logic
AI Propositional logicAI Propositional logic
AI Propositional logic
 

Similar to Mini project title prime number generator

SMU BCA SEM 1 FALL 2016 ASSIGNMENTS
SMU BCA SEM 1 FALL 2016 ASSIGNMENTSSMU BCA SEM 1 FALL 2016 ASSIGNMENTS
SMU BCA SEM 1 FALL 2016 ASSIGNMENTS
solved_assignments
 
Kmaps.ppt
Kmaps.pptKmaps.ppt
Kmaps.ppt
AshwiniMate10
 
Kmaps.ppt
Kmaps.pptKmaps.ppt
Kmaps.ppt
Kmaps.pptKmaps.ppt
Kmaps.ppt
ShaekAhmed
 
kmaps
 kmaps kmaps
kmaps
Unsa Shakir
 
Ai4 heuristic2
Ai4 heuristic2Ai4 heuristic2
Ai4 heuristic2
Mohammad Faizan
 
Ec2203 digital electronics questions anna university by www.annaunivedu.org
Ec2203 digital electronics questions anna university by www.annaunivedu.orgEc2203 digital electronics questions anna university by www.annaunivedu.org
Ec2203 digital electronics questions anna university by www.annaunivedu.org
annaunivedu
 
WEEK 4- DLD-GateLvelMinimization.pptx
WEEK 4- DLD-GateLvelMinimization.pptxWEEK 4- DLD-GateLvelMinimization.pptx
WEEK 4- DLD-GateLvelMinimization.pptx
TaoqeerRajput
 
A109211002 switchingtheoryandlogicdesign1
A109211002 switchingtheoryandlogicdesign1A109211002 switchingtheoryandlogicdesign1
A109211002 switchingtheoryandlogicdesign1
jntuworld
 
Chapter 2
Chapter 2Chapter 2
Chapter 2
EasyStudy3
 
ECCV2008: MAP Estimation Algorithms in Computer Vision - Part 1
ECCV2008: MAP Estimation Algorithms in Computer Vision - Part 1ECCV2008: MAP Estimation Algorithms in Computer Vision - Part 1
ECCV2008: MAP Estimation Algorithms in Computer Vision - Part 1
zukun
 
Unit 4 dica
Unit 4 dicaUnit 4 dica
Unit 4 dica
Pavan Mukku
 
Digital logic assn
Digital logic assnDigital logic assn
Digital logic assn
jyothir19
 
3rd Semester Computer Science and Engineering (ACU-2022) Question papers
3rd Semester Computer Science and Engineering  (ACU-2022) Question papers3rd Semester Computer Science and Engineering  (ACU-2022) Question papers
3rd Semester Computer Science and Engineering (ACU-2022) Question papers
BGS Institute of Technology, Adichunchanagiri University (ACU)
 
Exam1 (example with solutions)
Exam1 (example with solutions)Exam1 (example with solutions)
Exam1 (example with solutions)
Abdul Ghaffar Niazi
 
Digital electronics k map comparators and their function
Digital electronics k map comparators and their functionDigital electronics k map comparators and their function
Digital electronics k map comparators and their function
kumarankit06875
 
Unit 2 Boolean Algebra and Logic Gates.pdf
Unit 2 Boolean Algebra and Logic Gates.pdfUnit 2 Boolean Algebra and Logic Gates.pdf
Unit 2 Boolean Algebra and Logic Gates.pdf
ShirazHusain4
 
Sample Exam Questions on Python for revision
Sample Exam Questions on Python for revisionSample Exam Questions on Python for revision
Sample Exam Questions on Python for revision
afsheenfaiq2
 
Combinational circuit
Combinational circuitCombinational circuit
Combinational circuit
saravana kumaar
 
Module 2 logic gates
Module 2  logic gatesModule 2  logic gates
Module 2 logic gates
Deepak John
 

Similar to Mini project title prime number generator (20)

SMU BCA SEM 1 FALL 2016 ASSIGNMENTS
SMU BCA SEM 1 FALL 2016 ASSIGNMENTSSMU BCA SEM 1 FALL 2016 ASSIGNMENTS
SMU BCA SEM 1 FALL 2016 ASSIGNMENTS
 
Kmaps.ppt
Kmaps.pptKmaps.ppt
Kmaps.ppt
 
Kmaps.ppt
Kmaps.pptKmaps.ppt
Kmaps.ppt
 
Kmaps.ppt
Kmaps.pptKmaps.ppt
Kmaps.ppt
 
kmaps
 kmaps kmaps
kmaps
 
Ai4 heuristic2
Ai4 heuristic2Ai4 heuristic2
Ai4 heuristic2
 
Ec2203 digital electronics questions anna university by www.annaunivedu.org
Ec2203 digital electronics questions anna university by www.annaunivedu.orgEc2203 digital electronics questions anna university by www.annaunivedu.org
Ec2203 digital electronics questions anna university by www.annaunivedu.org
 
WEEK 4- DLD-GateLvelMinimization.pptx
WEEK 4- DLD-GateLvelMinimization.pptxWEEK 4- DLD-GateLvelMinimization.pptx
WEEK 4- DLD-GateLvelMinimization.pptx
 
A109211002 switchingtheoryandlogicdesign1
A109211002 switchingtheoryandlogicdesign1A109211002 switchingtheoryandlogicdesign1
A109211002 switchingtheoryandlogicdesign1
 
Chapter 2
Chapter 2Chapter 2
Chapter 2
 
ECCV2008: MAP Estimation Algorithms in Computer Vision - Part 1
ECCV2008: MAP Estimation Algorithms in Computer Vision - Part 1ECCV2008: MAP Estimation Algorithms in Computer Vision - Part 1
ECCV2008: MAP Estimation Algorithms in Computer Vision - Part 1
 
Unit 4 dica
Unit 4 dicaUnit 4 dica
Unit 4 dica
 
Digital logic assn
Digital logic assnDigital logic assn
Digital logic assn
 
3rd Semester Computer Science and Engineering (ACU-2022) Question papers
3rd Semester Computer Science and Engineering  (ACU-2022) Question papers3rd Semester Computer Science and Engineering  (ACU-2022) Question papers
3rd Semester Computer Science and Engineering (ACU-2022) Question papers
 
Exam1 (example with solutions)
Exam1 (example with solutions)Exam1 (example with solutions)
Exam1 (example with solutions)
 
Digital electronics k map comparators and their function
Digital electronics k map comparators and their functionDigital electronics k map comparators and their function
Digital electronics k map comparators and their function
 
Unit 2 Boolean Algebra and Logic Gates.pdf
Unit 2 Boolean Algebra and Logic Gates.pdfUnit 2 Boolean Algebra and Logic Gates.pdf
Unit 2 Boolean Algebra and Logic Gates.pdf
 
Sample Exam Questions on Python for revision
Sample Exam Questions on Python for revisionSample Exam Questions on Python for revision
Sample Exam Questions on Python for revision
 
Combinational circuit
Combinational circuitCombinational circuit
Combinational circuit
 
Module 2 logic gates
Module 2  logic gatesModule 2  logic gates
Module 2 logic gates
 

More from Md. Asad Chowdhury Dipu

East West University Annex Building
East West University Annex BuildingEast West University Annex Building
East West University Annex Building
Md. Asad Chowdhury Dipu
 
Role of e-Governance Against Corruption in Public Administration in Bangladesh
Role of e-Governance Against Corruption in Public Administration in BangladeshRole of e-Governance Against Corruption in Public Administration in Bangladesh
Role of e-Governance Against Corruption in Public Administration in Bangladesh
Md. Asad Chowdhury Dipu
 
Phy109 Kinetic and Potential Energy
Phy109 Kinetic and Potential EnergyPhy109 Kinetic and Potential Energy
Phy109 Kinetic and Potential Energy
Md. Asad Chowdhury Dipu
 
Mat 104 practical use of vector differentiation
Mat 104 practical use of vector differentiationMat 104 practical use of vector differentiation
Mat 104 practical use of vector differentiation
Md. Asad Chowdhury Dipu
 
Practical use of vector differentiation
Practical use of vector differentiationPractical use of vector differentiation
Practical use of vector differentiation
Md. Asad Chowdhury Dipu
 
Cse325(OS) amherst candy factory problem
Cse325(OS) amherst candy factory problemCse325(OS) amherst candy factory problem
Cse325(OS) amherst candy factory problem
Md. Asad Chowdhury Dipu
 
Bus 231-term-paper-group-a-report-on-students-perceptions-on-online-classes
Bus 231-term-paper-group-a-report-on-students-perceptions-on-online-classesBus 231-term-paper-group-a-report-on-students-perceptions-on-online-classes
Bus 231-term-paper-group-a-report-on-students-perceptions-on-online-classes
Md. Asad Chowdhury Dipu
 
The pursuit of happyness Movie review Bus 231(business communication)
The pursuit of happyness Movie review Bus 231(business communication)The pursuit of happyness Movie review Bus 231(business communication)
The pursuit of happyness Movie review Bus 231(business communication)
Md. Asad Chowdhury Dipu
 

More from Md. Asad Chowdhury Dipu (8)

East West University Annex Building
East West University Annex BuildingEast West University Annex Building
East West University Annex Building
 
Role of e-Governance Against Corruption in Public Administration in Bangladesh
Role of e-Governance Against Corruption in Public Administration in BangladeshRole of e-Governance Against Corruption in Public Administration in Bangladesh
Role of e-Governance Against Corruption in Public Administration in Bangladesh
 
Phy109 Kinetic and Potential Energy
Phy109 Kinetic and Potential EnergyPhy109 Kinetic and Potential Energy
Phy109 Kinetic and Potential Energy
 
Mat 104 practical use of vector differentiation
Mat 104 practical use of vector differentiationMat 104 practical use of vector differentiation
Mat 104 practical use of vector differentiation
 
Practical use of vector differentiation
Practical use of vector differentiationPractical use of vector differentiation
Practical use of vector differentiation
 
Cse325(OS) amherst candy factory problem
Cse325(OS) amherst candy factory problemCse325(OS) amherst candy factory problem
Cse325(OS) amherst candy factory problem
 
Bus 231-term-paper-group-a-report-on-students-perceptions-on-online-classes
Bus 231-term-paper-group-a-report-on-students-perceptions-on-online-classesBus 231-term-paper-group-a-report-on-students-perceptions-on-online-classes
Bus 231-term-paper-group-a-report-on-students-perceptions-on-online-classes
 
The pursuit of happyness Movie review Bus 231(business communication)
The pursuit of happyness Movie review Bus 231(business communication)The pursuit of happyness Movie review Bus 231(business communication)
The pursuit of happyness Movie review Bus 231(business communication)
 

Recently uploaded

Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
Nicholas Montgomery
 
Types of Herbal Cosmetics its standardization.
Types of Herbal Cosmetics its standardization.Types of Herbal Cosmetics its standardization.
Types of Herbal Cosmetics its standardization.
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
History of Stoke Newington
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
Scholarhat
 
Digital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental DesignDigital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental Design
amberjdewit93
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
David Douglas School District
 
Liberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdfLiberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdf
WaniBasim
 
How to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRMHow to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRM
Celine George
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
Priyankaranawat4
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Akanksha trivedi rama nursing college kanpur.
 
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
RitikBhardwaj56
 
Main Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docxMain Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docx
adhitya5119
 
The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
heathfieldcps1
 
How to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP ModuleHow to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP Module
Celine George
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
heathfieldcps1
 
Digital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments UnitDigital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments Unit
chanes7
 
Assessment and Planning in Educational technology.pptx
Assessment and Planning in Educational technology.pptxAssessment and Planning in Educational technology.pptx
Assessment and Planning in Educational technology.pptx
Kavitha Krishnan
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
camakaiclarkmusic
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
Peter Windle
 

Recently uploaded (20)

Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
 
Types of Herbal Cosmetics its standardization.
Types of Herbal Cosmetics its standardization.Types of Herbal Cosmetics its standardization.
Types of Herbal Cosmetics its standardization.
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
 
Digital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental DesignDigital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental Design
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
 
Liberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdfLiberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdf
 
How to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRMHow to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRM
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
 
clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
 
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
 
Main Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docxMain Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docx
 
The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
 
How to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP ModuleHow to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP Module
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
 
Digital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments UnitDigital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments Unit
 
Assessment and Planning in Educational technology.pptx
Assessment and Planning in Educational technology.pptxAssessment and Planning in Educational technology.pptx
Assessment and Planning in Educational technology.pptx
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
 

Mini project title prime number generator

  • 1.
  • 2. PRESENTED TO: Touhid Ahmed, Lecturer, Department of Computer Science and Engineering. Course Title: Digital Logic Design Course Code: CSE345 Section: 4 Semester: Spring 2021 Name ID Md. Mizanur Rahman Riad Khan 2019-1-60-094 Md. Asad Chowdhury Dipu 2019-1-60-093 Asif Mahmud 2018-3-60-074 PRESENTED BY:
  • 3. Mini Project Title: Prime Number Generator
  • 4. Problem Statement: Prime Numbers Generator. 4 bits input to 6 bits output. Introduction: Prime numbers is a common task in mathematics. Prime numbers is also a common task in basic programming languages. Prime numbers are important in the real world.
  • 5. Design Process: Design a logic circuit and simulate the circuit with Verilog HDL processes are given below:  Create a Truth Table for the Boolean expression of the logic gate.  Simplifying Equation using Karnaugh maps (K-map).  Verilog Code and Simulation.  Circuit Drawing and Simulation.  Analysis of the results.
  • 6. Logic Design : Truth Table: A B C D F1 F2 F3 F4 F5 F6 Prime Numbers 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 0 1 0 2 2 0 0 1 0 0 0 0 0 1 1 3 3 0 0 1 1 0 0 0 1 0 1 5 4 0 1 0 0 0 0 0 1 1 1 7 5 0 1 0 1 0 0 1 0 1 1 11 6 0 1 1 0 0 0 1 1 0 1 13 7 0 1 1 1 0 1 0 0 0 1 17 8 1 0 0 0 0 1 0 0 1 1 19 9 1 0 0 1 0 1 0 1 1 1 23 10 1 0 1 0 0 1 1 1 0 1 29 11 1 0 1 1 0 1 1 1 1 1 31 12 1 1 0 0 1 0 0 1 0 1 37 13 1 1 0 1 1 0 1 0 0 1 41 14 1 1 1 0 1 0 1 0 1 1 43 15 1 1 1 1 1 0 1 1 1 1 47
  • 7. Simplifying Equation:  Karnaugh maps (K-map) are used to facilitate the simplification of Boolean algebra functions.  Used Sum of Product (SOP) form.
  • 8. Karnaugh maps (K-map): KARNAUGH MAPS (K-MAP) FOR F1: KARNAUGH MAPS (K-MAP) FOR F2: F1 = (A.B) F2 = (A.B ̅ + A ̅ .B.C.D)
  • 9. Karnaugh maps (K-map): KARNAUGH MAPS (K-MAP) FOR F3: KARNAUGH MAPS (K-MAP) FOR F4: F3 = (A.C + B.C ̅ .D + B.C.D ̅ ) F4 = (B ̅ .C.D + A ̅ .B.D ̅ + B.C ̅ .D ̅ + A.B ̅ .D + A.B ̅ .C + A.C.D)
  • 10. Karnaugh maps (K-map): KARNAUGH MAPS (K-MAP) FOR F5: KARNAUGH MAPS (K-MAP) FOR F6: F5 = (A ̅ .C ̅ .D + A ̅ .B.C ̅ + A.B ̅ .C ̅ + A.B ̅ .D + A.B.C + A ̅ .B ̅ .C.D ̅ ) F6 = (C + B + A)
  • 11. K-map Simplification output From the above Karnaugh maps (K-map) simplification, we got the output,  F1 = (A.B)  F2 = (A.B ̅ + A ̅ .B.C.D)  F3 = (A.C + B.C ̅ .D + B.C.D ̅ )  F4 = (B ̅ .C.D + A ̅ .B.D ̅ + B.C ̅ .D ̅ + A.B ̅ .D + A.B ̅ .C + A.C.D)  F5 = (A ̅ .C ̅ .D + A ̅ .B.C ̅ + A.B ̅ .C ̅ + A.B ̅ .D + A.B.C + A ̅ .B ̅ .C.D ̅ )  F6 = (C + B + A)
  • 15. Verilog Code Simulation : Binary Form:
  • 16. Verilog Code Simulation : Decimal Form:
  • 17. Analysis:  Verilog Code:  End time is 160 ns.  Grid Size is 1 ns.  Functional simulation mode.  Circuit Diagram:  Grid Size is 1 ns.  Functional simulation mode.
  • 18. Discussions:  Could not be generated more than 15 prime numbers.  Implement the circuit on the breadboard will be better to analyze the results. Conclusion: Learned:  Create a Truth Table for a specific problem.  Simplification Boolean algebra functions using Karnaugh maps (K-map).  Design a circuit diagram.  Proper way to use the Quartus Simulation software.  Analyze the results of the logic circuit and Verilog Code.
  • 19. Thank you  Any Question!