Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please Give me correct and full answer...! 5. Design a Finite State machine that will control a 16 word FIFO Data path: You are to

Please Give me correct and full answer...!

image text in transcribed

5. Design a Finite State machine that will control a 16 word FIFO Data path: You are to design the Controller FSM that will control the Data Path for a 16-word FIFO organized a as a circular buffer. 1. This Data path uses two(2) four-bit counters whose outputs are each decoded by a corresponding 4:16 decoder and compared to each other by a 4-bit to 4-bit comparator, as a shown in the Data Path Diagram shown below. 2. The Wire Counter (WCntr) decoder output always points to or selects) the FIFO word that is going to be written during the next write into the FIFO input (in effect points to one location behind the location that is tail to the queue). Assume this counter is an incrementing counter with wrap-up from 15 to 0. Your state machine should take this into consideration when ordering the counter to increment after a write operation. After a write increment, if the new value of the counter is the same as that of the Read Counter your state machine should move to a state that indicates that the FIFO queue is FULL and no more Write operations can be satisfied until the Read Counter is incremented after a Read operation. 3. The Read Counter (RCntr) decoder output is used to select which FIFO word is at the head of the queue and is going to be output from the FIFO during the next read operation. Assume this counter is an incrementing counter with wrap-up after a valid read operation from 15 to 0. Your state machine should take this into consideration when ordering the counter to increment after read operation. After a read increment, if the new value of the counter is the same as that of the Write Counter your state machine should move to a state that indicates that the FIFO queue is EMPTY and no more Read operations can be satisfied until the Write counter is incremented. 4. Thus when both counters are equal the FIFO could be FULL or EMPTY depending on what was the last operation that took place. This condition is indicated by the Comparator (EO_H) output being asserted. 5. The Write Counter and Read Counter start both at the same value (could be zero or any value) meaning that the FIFO queue is EMPTY 6. Your FIFO Controller FSM should wait for RESET signal and go to the EMPTY state, from there it should go to other states that you will have to determine as part of your solution b. Draw the FIFO Controller FSM Block Diagram

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Current Trends In Database Technology Edbt 2006 Edbt 2006 Workshops Phd Datax Iidb Iiha Icsnw Qlqp Pim Parma And Reactivity On The Web Munich Germany March 2006 Revised Selected Papers Lncs 4254

Authors: Torsten Grust ,Hagen Hopfner ,Arantza Illarramendi ,Stefan Jablonski ,Marco Mesiti ,Sascha Muller ,Paula-Lavinia Patranjan ,Kai-Uwe Sattler ,Myra Spiliopoulou ,Jef Wijsen

2006th Edition

3540467882, 978-3540467885

More Books

Students also viewed these Databases questions

Question

DESCRIBE the three steps in the collective bargaining process.

Answered: 1 week ago

Question

Question What are the advantages of a written bonus plan?

Answered: 1 week ago