Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

2rnblem (35 points) Figure 1 shows an eaghteen-inch-long multicolor foam baton LED light stick. Foam light batons serve as party props. birthday favors for kids,

image text in transcribedimage text in transcribed

2rnblem (35 points) Figure 1 shows an eaghteen-inch-long multicolor foam baton LED light stick. Foam light batons serve as party props. birthday favors for kids, and wedding favors for guests A single push button cycles through an off-state and three light modes fast blinking, fast random, and slow random. Figure 1: Multi color foam baton LED light stick This semester you will realize a Moore finite state machine for realizing a multicolor LED foam stick glom baton using four different design tools: Discrete logic using NAND gates and D type lip flops The myDAQ using the LabVIEW programming environment .A complex programmable logic device (CPLD) using a hardware descriptive language (HDL. This problem provides design specifications and requires you to represent the finite state machine using a state diagram and state table. The system has three inputs which are a reset push button R, and two input buttons A and B that determine the LED lashing pattern. The system has three outputs, a green, yellow, and red LED. The finite state machine must use the four states defined in Table 1. The notation GYR indicates that the yellow LED is turned off while the green and red LEDs are lit Stae Output Table I: State assignments The design specifications are as follows Use a clock rate o 1.5 Hx so that the instructor can observe the changes in lighting patterns. . If the reset signal R is true, the system must immediately return to state SD, regardless of the inputs or present The system remains in state S0 if neither the A button or B button is pressed. the clock pulse, all three LEDs must turn on the rising clock edges the light pattern must cycle from GYt to GYR to GYR and then back to GYR where .If all three LEDS are turned off and if either the A or B button, or both, are pressed during the rising edge of . After the system enters state Si, if neither the A or B button is pressed, or if jast the A button is pressed, on this lighting pattern then repents. . If the system is in state S1 and the user presses and holds the B button,while the A button is not pressed, on the rising clock edges the light pattern must cycle fro GY to GYR to GYR and then back to GYR where this lighting pattern then repests. If the user presses and holds the A and B buttons in any state, on the ising clock edge the system must tun on all three LEDs 1. (18 points) Complete the state diagram of the finite state machine or the baton LED light stick in Figure 2 Figure 2: Partially complete state diagram of the finite state machine 2. (17 points) Complete the state table in Figure 3. The notation AB means that the A button is not pressed while the B button is pressed. Present State Next State Output QQ AB AB AB AB GYR SI 0I s3 II Figure 3: Partially complete state table of the finite state machine

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

Oracle9i Database Administrator Implementation And Administration

Authors: Carol McCullough-Dieter

1st Edition

0619159006, 978-0619159009

More Books

Students also viewed these Databases questions

Question

a. When did your ancestors come to the United States?

Answered: 1 week ago

Question

d. What language(s) did they speak?

Answered: 1 week ago

Question

e. What difficulties did they encounter?

Answered: 1 week ago