SlideShare une entreprise Scribd logo
1  sur  1
Télécharger pour lire hors ligne
1. [23 points ]. (1). Write the Verilog program for the following combinational circuit. module cir1
(A, B, C, D, E, S, Y); input output wire assign M= assignF= assign G= assign Y= endmodule (2).
Complete the testbench for the above circuit by generating testing cases for all possible values of
A,B,C,D,E, and S. module tb; A, B, C, D, E, S; Y i initial begin {A,B,C,D,E,S}= $monitor( // monitor
A, B, C, D, E, S, Y values. for (i=0;i<;i=1+1) begin end #5 $stop; end endmodule

Contenu connexe

Plus de adhikaribrothers

1 A firms production process uses labor L and capital K.pdf
1 A firms production process uses labor L and capital K.pdf1 A firms production process uses labor L and capital K.pdf
1 A firms production process uses labor L and capital K.pdfadhikaribrothers
 
1 A company may periodically undertake projects but these .pdf
1 A company may periodically undertake projects but these .pdf1 A company may periodically undertake projects but these .pdf
1 A company may periodically undertake projects but these .pdfadhikaribrothers
 
1 A dsallklar nelerdir A Oluturma Etkilerinde nasl bir rol.pdf
1 A dsallklar nelerdir A Oluturma Etkilerinde nasl bir rol.pdf1 A dsallklar nelerdir A Oluturma Etkilerinde nasl bir rol.pdf
1 A dsallklar nelerdir A Oluturma Etkilerinde nasl bir rol.pdfadhikaribrothers
 
1 A 32yearold man is admitted to the emergency department.pdf
1 A 32yearold man is admitted to the emergency department.pdf1 A 32yearold man is admitted to the emergency department.pdf
1 A 32yearold man is admitted to the emergency department.pdfadhikaribrothers
 
1 7 Find the Order of Growth of the algorithm Procedure .pdf
1 7 Find the Order of Growth of the algorithm Procedure .pdf1 7 Find the Order of Growth of the algorithm Procedure .pdf
1 7 Find the Order of Growth of the algorithm Procedure .pdfadhikaribrothers
 
1 A bag contains a collection of distinguishable marbles T.pdf
1 A bag contains a collection of distinguishable marbles T.pdf1 A bag contains a collection of distinguishable marbles T.pdf
1 A bag contains a collection of distinguishable marbles T.pdfadhikaribrothers
 
1 4 marks What external features of birds and sharks are.pdf
1 4 marks What external features of birds and sharks are.pdf1 4 marks What external features of birds and sharks are.pdf
1 4 marks What external features of birds and sharks are.pdfadhikaribrothers
 
1 5 pts Let X be a random variable uniformly distributed .pdf
1 5 pts Let X be a random variable uniformly distributed .pdf1 5 pts Let X be a random variable uniformly distributed .pdf
1 5 pts Let X be a random variable uniformly distributed .pdfadhikaribrothers
 
1 8 pts Show if a random variable XBinnp with the pmf .pdf
1 8 pts Show if a random variable XBinnp with the pmf .pdf1 8 pts Show if a random variable XBinnp with the pmf .pdf
1 8 pts Show if a random variable XBinnp with the pmf .pdfadhikaribrothers
 
1 8 Annotations 4 pts C code 4 pts A function with .pdf
1 8 Annotations 4 pts C code 4 pts A function with .pdf1 8 Annotations 4 pts C code 4 pts A function with .pdf
1 8 Annotations 4 pts C code 4 pts A function with .pdfadhikaribrothers
 
1 2000 ylndan bu yana ABD Hollywood film almalar iin k.pdf
1 2000 ylndan bu yana ABD Hollywood film almalar iin k.pdf1 2000 ylndan bu yana ABD Hollywood film almalar iin k.pdf
1 2000 ylndan bu yana ABD Hollywood film almalar iin k.pdfadhikaribrothers
 
1 6 points Which one of the two terms flavor or buck.pdf
1 6 points Which one of the two terms flavor or buck.pdf1 6 points Which one of the two terms flavor or buck.pdf
1 6 points Which one of the two terms flavor or buck.pdfadhikaribrothers
 
1 64 yanda bir erkek oyun oynadktan sonra hafif ila orta i.pdf
1 64 yanda bir erkek oyun oynadktan sonra hafif ila orta i.pdf1 64 yanda bir erkek oyun oynadktan sonra hafif ila orta i.pdf
1 64 yanda bir erkek oyun oynadktan sonra hafif ila orta i.pdfadhikaribrothers
 
1 4 2 It pelints y3 3 h 10 2 What is the defieition of dr.pdf
1 4 2 It pelints y3 3 h 10 2 What is the defieition of dr.pdf1 4 2 It pelints y3 3 h 10 2 What is the defieition of dr.pdf
1 4 2 It pelints y3 3 h 10 2 What is the defieition of dr.pdfadhikaribrothers
 
1 What are some of the opportunities and challenges that G.pdf
1  What are some of the opportunities and challenges that G.pdf1  What are some of the opportunities and challenges that G.pdf
1 What are some of the opportunities and challenges that G.pdfadhikaribrothers
 
1 4 pts Imagine that you have found a rock made almost en.pdf
1 4 pts Imagine that you have found a rock made almost en.pdf1 4 pts Imagine that you have found a rock made almost en.pdf
1 4 pts Imagine that you have found a rock made almost en.pdfadhikaribrothers
 
1 4 points Consider the word UNCOPYRIGHTABLE Assume th.pdf
1 4 points Consider the word UNCOPYRIGHTABLE Assume th.pdf1 4 points Consider the word UNCOPYRIGHTABLE Assume th.pdf
1 4 points Consider the word UNCOPYRIGHTABLE Assume th.pdfadhikaribrothers
 
1 _____ is the most important workrelated value for those.pdf
1  _____ is the most important workrelated value for those.pdf1  _____ is the most important workrelated value for those.pdf
1 _____ is the most important workrelated value for those.pdfadhikaribrothers
 
1 2 a1 2 3 bI fop panet A TH cell binds.pdf
1 2 a1 2 3 bI fop panet A TH cell binds.pdf1 2 a1 2 3 bI fop panet A TH cell binds.pdf
1 2 a1 2 3 bI fop panet A TH cell binds.pdfadhikaribrothers
 
1 2 3A Dendritic cell engulfs antigen processe.pdf
1 2 3A Dendritic cell engulfs antigen processe.pdf1 2 3A Dendritic cell engulfs antigen processe.pdf
1 2 3A Dendritic cell engulfs antigen processe.pdfadhikaribrothers
 

Plus de adhikaribrothers (20)

1 A firms production process uses labor L and capital K.pdf
1 A firms production process uses labor L and capital K.pdf1 A firms production process uses labor L and capital K.pdf
1 A firms production process uses labor L and capital K.pdf
 
1 A company may periodically undertake projects but these .pdf
1 A company may periodically undertake projects but these .pdf1 A company may periodically undertake projects but these .pdf
1 A company may periodically undertake projects but these .pdf
 
1 A dsallklar nelerdir A Oluturma Etkilerinde nasl bir rol.pdf
1 A dsallklar nelerdir A Oluturma Etkilerinde nasl bir rol.pdf1 A dsallklar nelerdir A Oluturma Etkilerinde nasl bir rol.pdf
1 A dsallklar nelerdir A Oluturma Etkilerinde nasl bir rol.pdf
 
1 A 32yearold man is admitted to the emergency department.pdf
1 A 32yearold man is admitted to the emergency department.pdf1 A 32yearold man is admitted to the emergency department.pdf
1 A 32yearold man is admitted to the emergency department.pdf
 
1 7 Find the Order of Growth of the algorithm Procedure .pdf
1 7 Find the Order of Growth of the algorithm Procedure .pdf1 7 Find the Order of Growth of the algorithm Procedure .pdf
1 7 Find the Order of Growth of the algorithm Procedure .pdf
 
1 A bag contains a collection of distinguishable marbles T.pdf
1 A bag contains a collection of distinguishable marbles T.pdf1 A bag contains a collection of distinguishable marbles T.pdf
1 A bag contains a collection of distinguishable marbles T.pdf
 
1 4 marks What external features of birds and sharks are.pdf
1 4 marks What external features of birds and sharks are.pdf1 4 marks What external features of birds and sharks are.pdf
1 4 marks What external features of birds and sharks are.pdf
 
1 5 pts Let X be a random variable uniformly distributed .pdf
1 5 pts Let X be a random variable uniformly distributed .pdf1 5 pts Let X be a random variable uniformly distributed .pdf
1 5 pts Let X be a random variable uniformly distributed .pdf
 
1 8 pts Show if a random variable XBinnp with the pmf .pdf
1 8 pts Show if a random variable XBinnp with the pmf .pdf1 8 pts Show if a random variable XBinnp with the pmf .pdf
1 8 pts Show if a random variable XBinnp with the pmf .pdf
 
1 8 Annotations 4 pts C code 4 pts A function with .pdf
1 8 Annotations 4 pts C code 4 pts A function with .pdf1 8 Annotations 4 pts C code 4 pts A function with .pdf
1 8 Annotations 4 pts C code 4 pts A function with .pdf
 
1 2000 ylndan bu yana ABD Hollywood film almalar iin k.pdf
1 2000 ylndan bu yana ABD Hollywood film almalar iin k.pdf1 2000 ylndan bu yana ABD Hollywood film almalar iin k.pdf
1 2000 ylndan bu yana ABD Hollywood film almalar iin k.pdf
 
1 6 points Which one of the two terms flavor or buck.pdf
1 6 points Which one of the two terms flavor or buck.pdf1 6 points Which one of the two terms flavor or buck.pdf
1 6 points Which one of the two terms flavor or buck.pdf
 
1 64 yanda bir erkek oyun oynadktan sonra hafif ila orta i.pdf
1 64 yanda bir erkek oyun oynadktan sonra hafif ila orta i.pdf1 64 yanda bir erkek oyun oynadktan sonra hafif ila orta i.pdf
1 64 yanda bir erkek oyun oynadktan sonra hafif ila orta i.pdf
 
1 4 2 It pelints y3 3 h 10 2 What is the defieition of dr.pdf
1 4 2 It pelints y3 3 h 10 2 What is the defieition of dr.pdf1 4 2 It pelints y3 3 h 10 2 What is the defieition of dr.pdf
1 4 2 It pelints y3 3 h 10 2 What is the defieition of dr.pdf
 
1 What are some of the opportunities and challenges that G.pdf
1  What are some of the opportunities and challenges that G.pdf1  What are some of the opportunities and challenges that G.pdf
1 What are some of the opportunities and challenges that G.pdf
 
1 4 pts Imagine that you have found a rock made almost en.pdf
1 4 pts Imagine that you have found a rock made almost en.pdf1 4 pts Imagine that you have found a rock made almost en.pdf
1 4 pts Imagine that you have found a rock made almost en.pdf
 
1 4 points Consider the word UNCOPYRIGHTABLE Assume th.pdf
1 4 points Consider the word UNCOPYRIGHTABLE Assume th.pdf1 4 points Consider the word UNCOPYRIGHTABLE Assume th.pdf
1 4 points Consider the word UNCOPYRIGHTABLE Assume th.pdf
 
1 _____ is the most important workrelated value for those.pdf
1  _____ is the most important workrelated value for those.pdf1  _____ is the most important workrelated value for those.pdf
1 _____ is the most important workrelated value for those.pdf
 
1 2 a1 2 3 bI fop panet A TH cell binds.pdf
1 2 a1 2 3 bI fop panet A TH cell binds.pdf1 2 a1 2 3 bI fop panet A TH cell binds.pdf
1 2 a1 2 3 bI fop panet A TH cell binds.pdf
 
1 2 3A Dendritic cell engulfs antigen processe.pdf
1 2 3A Dendritic cell engulfs antigen processe.pdf1 2 3A Dendritic cell engulfs antigen processe.pdf
1 2 3A Dendritic cell engulfs antigen processe.pdf
 

Dernier

COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxannathomasp01
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentationcamerronhm
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxDr. Ravikiran H M Gowda
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - Englishneillewis46
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...ZurliaSoop
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfDr Vijay Vishwakarma
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxCeline George
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Pooja Bhuva
 
OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsSandeep D Chaudhary
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxDr. Sarita Anand
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSCeline George
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxmarlenawright1
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the ClassroomPooky Knightsmith
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
Philosophy of china and it's charactistics
Philosophy of china and it's charactisticsPhilosophy of china and it's charactistics
Philosophy of china and it's charactisticshameyhk98
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.MaryamAhmad92
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfNirmal Dwivedi
 

Dernier (20)

Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & Systems
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Philosophy of china and it's charactistics
Philosophy of china and it's charactisticsPhilosophy of china and it's charactistics
Philosophy of china and it's charactistics
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 

1 23 points 1 Write the Verilog program for the foll.pdf

  • 1. 1. [23 points ]. (1). Write the Verilog program for the following combinational circuit. module cir1 (A, B, C, D, E, S, Y); input output wire assign M= assignF= assign G= assign Y= endmodule (2). Complete the testbench for the above circuit by generating testing cases for all possible values of A,B,C,D,E, and S. module tb; A, B, C, D, E, S; Y i initial begin {A,B,C,D,E,S}= $monitor( // monitor A, B, C, D, E, S, Y values. for (i=0;i<;i=1+1) begin end #5 $stop; end endmodule