PART 1 - Design a state machine solution for the state diagram in Figure 5-1. Use...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
PART 1 - Design a state machine solution for the state diagram in Figure 5-1. Use D flip-flops and only equations (assign statements) to implement this design. (No "if else" OR "case" statements can be used here, [just for RESET]). Use K-maps to find the equations for each of the inputs to the D flip-flops. Implement your equations from the K-maps into Verilog code, and bring your Verilog file to lab. Compile your file and assign pins, download and test your solution. Since this type of state machine has an "implied" system clock you will have to provide a clock for your testing. Monitor the outputs of your state machine. You will have four types of outputs: the present state of the flip-flops, the Next State logic outputs for the D-F/Fs the Moore output and the Mealy output. These should all be assigned to LEDs. ~X/~Y ~X/Y SO W=0 S4, S5, S6 W=1 X/Y X/~Y ~X/~Y Reset = 0 Figure 5-1: State Diagram S2 W=1 X/Y S7 W=0 ~X/Y ~X/~Y X/Y S3 W=1 ~X/Y X/Y X-INPUT Y- Mealy OUTPUT W - Moore OUTPUT S1 W=0 X/~Y PART 1 - Design a state machine solution for the state diagram in Figure 5-1. Use D flip-flops and only equations (assign statements) to implement this design. (No "if else" OR "case" statements can be used here, [just for RESET]). Use K-maps to find the equations for each of the inputs to the D flip-flops. Implement your equations from the K-maps into Verilog code, and bring your Verilog file to lab. Compile your file and assign pins, download and test your solution. Since this type of state machine has an "implied" system clock you will have to provide a clock for your testing. Monitor the outputs of your state machine. You will have four types of outputs: the present state of the flip-flops, the Next State logic outputs for the D-F/Fs the Moore output and the Mealy output. These should all be assigned to LEDs. ~X/~Y ~X/Y SO W=0 S4, S5, S6 W=1 X/Y X/~Y ~X/~Y Reset = 0 Figure 5-1: State Diagram S2 W=1 X/Y S7 W=0 ~X/Y ~X/~Y X/Y S3 W=1 ~X/Y X/Y X-INPUT Y- Mealy OUTPUT W - Moore OUTPUT S1 W=0 X/~Y
Expert Answer:
Related Book For
Database Systems Design Implementation and Management
ISBN: 978-1285196145
11th edition
Authors: Carlos Coronel, Steven Morris
Posted Date:
Students also viewed these programming questions
-
The p-V diagram in Figure shows two paths along which a sample of gas can be taken from state a to state 4 where Vb = 3.0V1. Path 1 requires that energy equal to 5.0p1V1 be transferred to the gas as...
-
The dependency diagram in Figure indicates that authors are paid royalties for each book that they write for a publisher. The amount of the royalty can vary by author, by book, and by edition of the...
-
Find the requested probabilities using the tree diagram in Figure 11.4. P(S) 0.9 A 0.1 0.6 0.4 0.2 0.8
-
Assume that n is a positive integer. For each of the following algorithm segments, how many times will the innermost loop be iterated when the algorithm segment is implemented and run? 1) for k:=1 to...
-
Mower-Blower Sales Co. started business on January 20. 2016. Products sold were snow blowers and lawn mowers. Each product sold for $1,400. Purchases during 2016 were as follows: The December 31,...
-
How well is Costco performing from a financial perspective? Do some number-crunching using the data in case Exhibit 1 to support your answer. Use the financial ratios presented in Table 4.1 of...
-
What is the mirror-image rule?
-
Bao Wao Designs Inc. purchased a computerized blueprint printer that will assist in the design and display of plans for factory layouts. The cost of the printer was $22,500, and its expected useful...
-
Should court fines for offenses (i.e. traffic, quality of life, shoplifting, property damage, etc.) be the same for the poor and the wealthy? Should it be dollar for dollar equal, or should it be a...
-
Teresina Amusement Park, SA has a fiscal year ending on September 30. Selected data from the September 30 worksheet are as follows. Instructions (a) Prepare a complete worksheet. (b) Prepare a...
-
11 Complete independence forms for all firm employees. NA Electronically signed by all firm employees and filed on firm intranet as of December 31, 2020.
-
The personnel department wants to estimate the cost of hiring a new secretary. The following data are collected on 8 new secretaries: Estimate the average cost of hiring. Construct a 90 % confidence...
-
The manager in the local supermarket wanted to know whether it is worth the trouble to keep the store open 24 h a day. He randomly sampled and recorded 20 nights sales and got Use M1NITAB to answer...
-
In question 87, what is the 95 % confidence interval for the variance of the soda pumped into the cans? Question 87 A soft drink producer installs a new assembly line to fill 12-oz soda cans. After a...
-
In question 85, if the dean wants to narrow the 90 % confidence interval to 1 %, how many students should he ask? Question 85 The dean of student activities wants to estimate the average spending on...
-
What distinguishes intellectual property from other types of property, such as land, buildings, and inventory? Provide several examples of intellectual property and describe their importance to a...
-
I need help on the assignment. I have already finished step 1 and 2. I do not know how to do step 3, I wish I can send you my word documents but i cannot. This is a database class I need help with...
-
Where are the olfactory sensory neurons, and why is that site poorly suited for their job?
-
Martial Arts R Us (MARU) needs a database. MARU is a martial arts school with hundreds of students. It is necessary to keep track of all the different classes that are being offered, who is assigned...
-
Write the trigger to update the CUST_BALANCE in the CUSTOMER table when a new invoice record is entered. (Assume that the sale is a credit sale.) Test the trigger using the following new INVOICE...
-
Using the example of a medical clinic with patients and tests, provide a simple representation of how to model this example using the relational model and how it would be represented using the...
-
Use five different websites to investigate three companies in your career field. Look at salary guides for your level of qualifications, product/service information, news articles about the...
-
Interview someone working in a field youre interested in. Use the following questions to get started: How did you get started in this field? What do you like about your job? What do you dislike...
-
Using a cover letter you have written, review your online presence. What key words do you see in your social networking profiles? What job experience, education, and skills are highlighted? How can...
Study smarter with the SolutionInn App