SlideShare a Scribd company logo
1 of 17
ECE 287 – Lecture 15
Finite State Machines - II
Announcements
• Next Quiz on Wednesday
• Exam II – Nov 15th
FSM Example
For the given circuit, we want to use it to
store 16 bits of information and check if all
the 4 bit individual numbers (4 of them) are
all equal.
input
valid
clk

out
Algorithm
State Diagram
State Table
State Machine Circuit
What if clock is fast?

How does the system start up?
Actual Comparison Circuit
Verilog for FSMs
reset

In = 0

In = 0

B

A

Out = 1

Out = 0
In = 1
In = 1
Try and build the Verilog for bit
matching example at the start of class…
Problem Set
1. Build a verilog system for:
In = 0

In = 1
In = 0

B
Out = 1

A
Out = 0
In = 0

In = 1

G
Out = 1

In = 1
Problem Set
1. Build a verilog system for:
•

Design a state machine controller for an elevator. The elevator can be at one of two
floors: Ground or First. There is one button that controls the elevator, and it has two
values: Up or Down. Also, there are two lights in the elevator that indicate the current
floor: Red for Ground, and Green for First. At each time step (clock), the controller
checks the current floor and current input, changes floors and lights in the obvious way.

More Related Content

What's hot

Reactive programming at scale
Reactive programming at scale Reactive programming at scale
Reactive programming at scale John McClean
 
06 - HAMS implementation
06 - HAMS implementation06 - HAMS implementation
06 - HAMS implementationHAMSproject
 
Cape2013 scilab-workshop-19Oct13
Cape2013 scilab-workshop-19Oct13Cape2013 scilab-workshop-19Oct13
Cape2013 scilab-workshop-19Oct13Naren P.R.
 
Mikio Braun – Data flow vs. procedural programming
Mikio Braun – Data flow vs. procedural programming Mikio Braun – Data flow vs. procedural programming
Mikio Braun – Data flow vs. procedural programming Flink Forward
 
eventnet asynchronous recursive event processing
eventnet asynchronous recursive event processingeventnet asynchronous recursive event processing
eventnet asynchronous recursive event processingRyuta Shitomi
 
Functional Scala
Functional ScalaFunctional Scala
Functional ScalaStan Lea
 
Microprocessor Week2: Data Transfer
Microprocessor Week2: Data TransferMicroprocessor Week2: Data Transfer
Microprocessor Week2: Data TransferArkhom Jodtang
 
Abstract presentation on feature engineering on streaming data for pycon
Abstract presentation on feature engineering on streaming data for pyconAbstract presentation on feature engineering on streaming data for pycon
Abstract presentation on feature engineering on streaming data for pyconMayankPrasoon2
 
Linear and Binary Search Algorithms.(Discrete Mathematics)
Linear and Binary Search Algorithms.(Discrete Mathematics)Linear and Binary Search Algorithms.(Discrete Mathematics)
Linear and Binary Search Algorithms.(Discrete Mathematics)Shanawaz Ahamed
 
Clocked Sequential circuit analysis and design
Clocked Sequential circuit analysis and designClocked Sequential circuit analysis and design
Clocked Sequential circuit analysis and designDr Naim R Kidwai
 
Pantheon Demo
Pantheon DemoPantheon Demo
Pantheon DemoZac Ayers
 

What's hot (15)

Reactive programming at scale
Reactive programming at scale Reactive programming at scale
Reactive programming at scale
 
IPMR Box 6
IPMR Box 6IPMR Box 6
IPMR Box 6
 
06 - HAMS implementation
06 - HAMS implementation06 - HAMS implementation
06 - HAMS implementation
 
Cape2013 scilab-workshop-19Oct13
Cape2013 scilab-workshop-19Oct13Cape2013 scilab-workshop-19Oct13
Cape2013 scilab-workshop-19Oct13
 
LR(0) PARSER
LR(0) PARSERLR(0) PARSER
LR(0) PARSER
 
Mikio Braun – Data flow vs. procedural programming
Mikio Braun – Data flow vs. procedural programming Mikio Braun – Data flow vs. procedural programming
Mikio Braun – Data flow vs. procedural programming
 
Scilab-by-dr-gomez-june2014
Scilab-by-dr-gomez-june2014Scilab-by-dr-gomez-june2014
Scilab-by-dr-gomez-june2014
 
eventnet asynchronous recursive event processing
eventnet asynchronous recursive event processingeventnet asynchronous recursive event processing
eventnet asynchronous recursive event processing
 
Lect4 organization
Lect4 organizationLect4 organization
Lect4 organization
 
Functional Scala
Functional ScalaFunctional Scala
Functional Scala
 
Microprocessor Week2: Data Transfer
Microprocessor Week2: Data TransferMicroprocessor Week2: Data Transfer
Microprocessor Week2: Data Transfer
 
Abstract presentation on feature engineering on streaming data for pycon
Abstract presentation on feature engineering on streaming data for pyconAbstract presentation on feature engineering on streaming data for pycon
Abstract presentation on feature engineering on streaming data for pycon
 
Linear and Binary Search Algorithms.(Discrete Mathematics)
Linear and Binary Search Algorithms.(Discrete Mathematics)Linear and Binary Search Algorithms.(Discrete Mathematics)
Linear and Binary Search Algorithms.(Discrete Mathematics)
 
Clocked Sequential circuit analysis and design
Clocked Sequential circuit analysis and designClocked Sequential circuit analysis and design
Clocked Sequential circuit analysis and design
 
Pantheon Demo
Pantheon DemoPantheon Demo
Pantheon Demo
 

Viewers also liked

Introduction to Cambridge Mercantile
Introduction to Cambridge MercantileIntroduction to Cambridge Mercantile
Introduction to Cambridge Mercantilemarkfrey14
 
Mbi121 13 f12ctrlgrthnotes
Mbi121 13 f12ctrlgrthnotesMbi121 13 f12ctrlgrthnotes
Mbi121 13 f12ctrlgrthnotesKonsta Anttila
 
Mbi121 8 f12-classnotes
Mbi121 8 f12-classnotesMbi121 8 f12-classnotes
Mbi121 8 f12-classnotesKonsta Anttila
 
World expeditions permanent campsites
World expeditions permanent campsitesWorld expeditions permanent campsites
World expeditions permanent campsitesWorldExpeditionsUK
 
Cambridge Risk Management Strategy
Cambridge Risk Management StrategyCambridge Risk Management Strategy
Cambridge Risk Management Strategymarkfrey14
 
Lacquer Project - EN - ViiN & BTS
Lacquer Project - EN - ViiN & BTSLacquer Project - EN - ViiN & BTS
Lacquer Project - EN - ViiN & BTSviin_biznet
 
KILIKA presentación
KILIKA presentaciónKILIKA presentación
KILIKA presentaciónpunkry
 
North Carolina Preservation Consortium Grant Opportunities
North Carolina Preservation Consortium Grant OpportunitiesNorth Carolina Preservation Consortium Grant Opportunities
North Carolina Preservation Consortium Grant Opportunitiesmaryg0321
 
Presentación1
Presentación1Presentación1
Presentación1inyis
 
An Assessment Of The Advantages and disadvantages Of LASIK Surgery
An Assessment Of The Advantages and disadvantages Of LASIK SurgeryAn Assessment Of The Advantages and disadvantages Of LASIK Surgery
An Assessment Of The Advantages and disadvantages Of LASIK Surgeryendurablealloy685
 

Viewers also liked (20)

Lecture14 fsm ic
Lecture14 fsm icLecture14 fsm ic
Lecture14 fsm ic
 
Lecture verilog ii_c
Lecture verilog ii_cLecture verilog ii_c
Lecture verilog ii_c
 
Lecture16 fsm iii_c
Lecture16 fsm iii_cLecture16 fsm iii_c
Lecture16 fsm iii_c
 
Introduction to Cambridge Mercantile
Introduction to Cambridge MercantileIntroduction to Cambridge Mercantile
Introduction to Cambridge Mercantile
 
Mbi121 9 f12-notes
Mbi121 9 f12-notesMbi121 9 f12-notes
Mbi121 9 f12-notes
 
Mbi121 13 f12ctrlgrthnotes
Mbi121 13 f12ctrlgrthnotesMbi121 13 f12ctrlgrthnotes
Mbi121 13 f12ctrlgrthnotes
 
Mbi121 8 f12-classnotes
Mbi121 8 f12-classnotesMbi121 8 f12-classnotes
Mbi121 8 f12-classnotes
 
Mbi121 11 f12notes
Mbi121 11 f12notesMbi121 11 f12notes
Mbi121 11 f12notes
 
World expeditions permanent campsites
World expeditions permanent campsitesWorld expeditions permanent campsites
World expeditions permanent campsites
 
Cambridge Risk Management Strategy
Cambridge Risk Management StrategyCambridge Risk Management Strategy
Cambridge Risk Management Strategy
 
Lecture12 memory
Lecture12 memoryLecture12 memory
Lecture12 memory
 
Lecture verilog ii_c
Lecture verilog ii_cLecture verilog ii_c
Lecture verilog ii_c
 
Lacquer Project - EN - ViiN & BTS
Lacquer Project - EN - ViiN & BTSLacquer Project - EN - ViiN & BTS
Lacquer Project - EN - ViiN & BTS
 
KILIKA presentación
KILIKA presentaciónKILIKA presentación
KILIKA presentación
 
MI FANTÁSTICA CARRERA EN LOGÍSTICA
MI FANTÁSTICA CARRERA EN LOGÍSTICAMI FANTÁSTICA CARRERA EN LOGÍSTICA
MI FANTÁSTICA CARRERA EN LOGÍSTICA
 
North Carolina Preservation Consortium Grant Opportunities
North Carolina Preservation Consortium Grant OpportunitiesNorth Carolina Preservation Consortium Grant Opportunities
North Carolina Preservation Consortium Grant Opportunities
 
Presentación1
Presentación1Presentación1
Presentación1
 
An Assessment Of The Advantages and disadvantages Of LASIK Surgery
An Assessment Of The Advantages and disadvantages Of LASIK SurgeryAn Assessment Of The Advantages and disadvantages Of LASIK Surgery
An Assessment Of The Advantages and disadvantages Of LASIK Surgery
 
Will be present
Will be presentWill be present
Will be present
 
Aniversário sintuperj
Aniversário sintuperjAniversário sintuperj
Aniversário sintuperj
 

Similar to Lecture15 fsm i_ic

Analysis sequential circuits
Analysis sequential circuitsAnalysis sequential circuits
Analysis sequential circuitsG Subramaniamg
 
Application Of The Three-In-One Control Platform Based On OPC In The Lifting-...
Application Of The Three-In-One Control Platform Based On OPC In The Lifting-...Application Of The Three-In-One Control Platform Based On OPC In The Lifting-...
Application Of The Three-In-One Control Platform Based On OPC In The Lifting-...IJRES Journal
 
Top schools in delhi ncr
Top schools in delhi ncrTop schools in delhi ncr
Top schools in delhi ncrEdhole.com
 
Top schools in delhi ncr
Top schools in delhi ncrTop schools in delhi ncr
Top schools in delhi ncrEdhole.com
 
final Line balancing slide12.ppt
final Line balancing slide12.pptfinal Line balancing slide12.ppt
final Line balancing slide12.pptxicohos114
 
Introduction state machine
Introduction state machineIntroduction state machine
Introduction state machineShreyans Pathak
 
Optimistic Algorithm and Concurrency Control Algorithm
Optimistic Algorithm and Concurrency Control AlgorithmOptimistic Algorithm and Concurrency Control Algorithm
Optimistic Algorithm and Concurrency Control AlgorithmShounak Katyayan
 
Synchronous down counter
Synchronous down counterSynchronous down counter
Synchronous down counterRONAK SUTARIYA
 
Analysis and Design of PID controller with control parameters in MATLAB and S...
Analysis and Design of PID controller with control parameters in MATLAB and S...Analysis and Design of PID controller with control parameters in MATLAB and S...
Analysis and Design of PID controller with control parameters in MATLAB and S...MIbrar4
 
state_machines1.pdf
state_machines1.pdfstate_machines1.pdf
state_machines1.pdfrdjo
 
-10 Points- Description In this assignment you will translate a system.docx
-10 Points- Description In this assignment you will translate a system.docx-10 Points- Description In this assignment you will translate a system.docx
-10 Points- Description In this assignment you will translate a system.docxjanettjz6sfehrle
 
lecture25_algorithmic_state_machines.ppt
lecture25_algorithmic_state_machines.pptlecture25_algorithmic_state_machines.ppt
lecture25_algorithmic_state_machines.pptssuser2ae35a
 
Elevator Control System using Verilog
Elevator Control System using VerilogElevator Control System using Verilog
Elevator Control System using VerilogVijayMaheshwari12
 
Lectures upto block diagram reduction
Lectures upto block diagram reductionLectures upto block diagram reduction
Lectures upto block diagram reductionUthsoNandy
 
Digital logic and microprocessors
Digital logic and microprocessorsDigital logic and microprocessors
Digital logic and microprocessorsMilind Pelagade
 
D. CHAPTER dffrtgfffffffgggfffdddFIVE.pdf
D. CHAPTER dffrtgfffffffgggfffdddFIVE.pdfD. CHAPTER dffrtgfffffffgggfffdddFIVE.pdf
D. CHAPTER dffrtgfffffffgggfffdddFIVE.pdfinteraman123
 

Similar to Lecture15 fsm i_ic (20)

Analysis sequential circuits
Analysis sequential circuitsAnalysis sequential circuits
Analysis sequential circuits
 
Application Of The Three-In-One Control Platform Based On OPC In The Lifting-...
Application Of The Three-In-One Control Platform Based On OPC In The Lifting-...Application Of The Three-In-One Control Platform Based On OPC In The Lifting-...
Application Of The Three-In-One Control Platform Based On OPC In The Lifting-...
 
Top schools in delhi ncr
Top schools in delhi ncrTop schools in delhi ncr
Top schools in delhi ncr
 
Top schools in delhi ncr
Top schools in delhi ncrTop schools in delhi ncr
Top schools in delhi ncr
 
final Line balancing slide12.ppt
final Line balancing slide12.pptfinal Line balancing slide12.ppt
final Line balancing slide12.ppt
 
Introduction state machine
Introduction state machineIntroduction state machine
Introduction state machine
 
Optimistic Algorithm and Concurrency Control Algorithm
Optimistic Algorithm and Concurrency Control AlgorithmOptimistic Algorithm and Concurrency Control Algorithm
Optimistic Algorithm and Concurrency Control Algorithm
 
Synchronous down counter
Synchronous down counterSynchronous down counter
Synchronous down counter
 
Analysis and Design of PID controller with control parameters in MATLAB and S...
Analysis and Design of PID controller with control parameters in MATLAB and S...Analysis and Design of PID controller with control parameters in MATLAB and S...
Analysis and Design of PID controller with control parameters in MATLAB and S...
 
state_machines1.pdf
state_machines1.pdfstate_machines1.pdf
state_machines1.pdf
 
-10 Points- Description In this assignment you will translate a system.docx
-10 Points- Description In this assignment you will translate a system.docx-10 Points- Description In this assignment you will translate a system.docx
-10 Points- Description In this assignment you will translate a system.docx
 
lecture25_algorithmic_state_machines.ppt
lecture25_algorithmic_state_machines.pptlecture25_algorithmic_state_machines.ppt
lecture25_algorithmic_state_machines.ppt
 
Elevator Control System using Verilog
Elevator Control System using VerilogElevator Control System using Verilog
Elevator Control System using Verilog
 
Lectures upto block diagram reduction
Lectures upto block diagram reductionLectures upto block diagram reduction
Lectures upto block diagram reduction
 
Digital logic and microprocessors
Digital logic and microprocessorsDigital logic and microprocessors
Digital logic and microprocessors
 
D. CHAPTER dffrtgfffffffgggfffdddFIVE.pdf
D. CHAPTER dffrtgfffffffgggfffdddFIVE.pdfD. CHAPTER dffrtgfffffffgggfffdddFIVE.pdf
D. CHAPTER dffrtgfffffffgggfffdddFIVE.pdf
 
CS-1(Ch.1).pdf
CS-1(Ch.1).pdfCS-1(Ch.1).pdf
CS-1(Ch.1).pdf
 
9920Lec12 FSM.ppt
9920Lec12 FSM.ppt9920Lec12 FSM.ppt
9920Lec12 FSM.ppt
 
Documentation
DocumentationDocumentation
Documentation
 
Python - Lecture 10
Python - Lecture 10Python - Lecture 10
Python - Lecture 10
 

Recently uploaded

Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
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
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesBoston Institute of Analytics
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
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
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilV3cube
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfhans926745
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 

Recently uploaded (20)

Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
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
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
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...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 

Lecture15 fsm i_ic

  • 1. ECE 287 – Lecture 15 Finite State Machines - II
  • 2. Announcements • Next Quiz on Wednesday • Exam II – Nov 15th
  • 3.
  • 4.
  • 5.
  • 6.
  • 7. FSM Example For the given circuit, we want to use it to store 16 bits of information and check if all the 4 bit individual numbers (4 of them) are all equal. input valid clk out
  • 12. What if clock is fast? How does the system start up?
  • 14. Verilog for FSMs reset In = 0 In = 0 B A Out = 1 Out = 0 In = 1 In = 1
  • 15. Try and build the Verilog for bit matching example at the start of class…
  • 16. Problem Set 1. Build a verilog system for: In = 0 In = 1 In = 0 B Out = 1 A Out = 0 In = 0 In = 1 G Out = 1 In = 1
  • 17. Problem Set 1. Build a verilog system for: • Design a state machine controller for an elevator. The elevator can be at one of two floors: Ground or First. There is one button that controls the elevator, and it has two values: Up or Down. Also, there are two lights in the elevator that indicate the current floor: Red for Ground, and Green for First. At each time step (clock), the controller checks the current floor and current input, changes floors and lights in the obvious way.