Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Prnblem 10 (35 points) This problem requires you to design a discrete-logic circuit that renlizes the Moore finite state machine for the baton LED light
Prnblem 10 (35 points) This problem requires you to design a discrete-logic circuit that renlizes the Moore finite state machine for the baton LED light stick described in Problem 9. To receive credit you must base your design on the notation, state diagram and state table froan Probiem 9 1. (14 points) Using the four-variable Karnaugh map in Figure 4(A), determine the input equations for the two D-type lip-lop inputs D2 and Di. To receive credit, your solution mast use the variable assignments appearing in Figure 4(A). No credit will be given if you alter the location of variables in the Karnangh map provided. 2. (6 points) Using the two-variable Karnaugh map in Figure 4(B), determine the output equations or G, Y and R. To receive credit, your solution must use the variable assignments appearing in Figure 4 B). No credit will be given if you alter the lacation of variables in the Karnaugh map provided 3. (15 points) Realize the finite state machine using at mast eight two-input NAND gates, six three-inpat NAND gates, four four-input NAND gates, one eight-inpat NAND gate, and two D-type lip-los. Assume that each D-type flip-Bop bas an asyuchronous input labeled CLR that drives the ip-flop output to logic low whenever the value of CLR is logic high. If it is necessary to invert a logic level, use one of the NAND gates. Neatly sbetch the logic diagram that clearly shows the inputs CLK, A, B and R, and the output signals G, Y, R. AB Figure 4: (A) Four-variable and (B) two-variable Karaugh maps. 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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started