Design a state machine that implements the following description:
Let’s design a simple controller for an elevator. The elevator can be at one of two floors: first or second. There is a button that controls the elevator (one input), and it has two values: up or down. Also, there are two lights in the elevator that indicate the current floor: blue for first, and yellow for second. At each time step, the controller checks the current floor and current input and changes floors and lights. Consider implementing this state machine as a Moore machine.
a. How many states do you need? How many outputs? Select variables to represent the state, input, and output signals
b. Draw the state diagram for your state machine
c. Draw the state table for your state machine
d. Create a truth table with multiple output columns. The inputs should be in button value and the present state value. The outputs should be the next state values and the light outputs.
e. Draw the final combinational and sequential circuit for the state machine and output using D flip flops, logic gates, and inverters. Use K-maps to minimize the circuit size.
Design a state machine that implements the following description: Let’s design a simple controller for an...
Design an elevator control which takes floor number (0, 1, 2, and 3) as input and outputs the direction of movement of the elevator (up (1), down(0), stay (2)) and the number of floors to move. Floors: 0, 1, 2, 3 (Ground, First, Second, Third) Input: Press the floor to move to button (0, 1, 2, 3) . o Present State- Current Floor o Next State Next Floor i.e., floor to move to Outputl up/down/stay (1/0/2) Output2 Floors to move...
Problem 3:(10 pts) Design a synchronous machine (Transition Table, K-maps, Final Equations, Circuit Diagram) that counts through the following sequence in the order shown below. Note, there are no inputs or output variables, so your Q values must reflect the Hex value listed B 742 D 9 3 0 and repeat a) using all D flip-flops and combinational logic (AND/OR/NOT gates only) b) using all T flip-flops and a multiplexer of size 8:1 Problem 3:(10 pts) Design a synchronous machine...
(a) Design an asynchronous Binary Coded Decimal (BCD) count-up counter using JK flip-flops. Draw the counter circuit clearly showing the configuration of the JK flip-flops and the necessary logic gate(s). Sketch the input and output waveforms of this counter (7 Marks) (b) The binary up/down counter for a cargo lift controller in a 7-storey building has an up-down (UID) control input and a buzzer output (B). The buzzer will sound B 1) when the lift is at level 1 or...
6. Develop the state diagram for a Moore state machine that detects a sequence of two or more consecutive 0's in a serial string of bits coming through an input line "X". (When two consecutive zeros are detected, the output is set to 1 and stays there is the zeros keep arriving. If a one occurs in between the zeros, the machine will go back the initial state) Additionally, make sure that the design is self-correcting. Complete the design using...
Design a Mealy FSM that will model an elevator that can be at any of 4 floors of EPIC (Ground, First, Second, and Third). There are 2 input buttons that are active High – U to move UP and D to move DOWN. The input buttons are mutually exclusive, that is, only one of them can be active at any point in time (U = 0 and D = 1 makes it go DOWN, and U = 1 and D...
Design a 4-bit serial bit sequence detector. The input to your state detector is called DIN and the output is called FOUND. Your detector will assert FOUND anytime there is a 4-bit sequence of "0101". For all other input sequuences the output is not asserted. (a) (b) Provide the state diagram for this FSM. Encode your states using binary encoding. How many D-Flip-Flops does it take to implement the state memory for this FSM? (c) Provide the state transition table...
Using D flip-flops, design a Moore circuit that detects the sequence 1100. The circuit outputs I when the sequence 1100 is received and outputs 0 otherwise. Draw the state diagram and state table, and find the D flip-flops input equations and the output equation x- Z Clock Hint: X: 01011 00011001100011 Z: 0 0 0 0 0 0 100000000000
Design the following finite state machine (FSM). It has two 1-bit inputs (in1 and in2) and two 1-bit outputs (out1 and out2). The first output (out1) bit should be equal to one if, on both of the last two cycles, in1 and in2 were EQUAL to each other; otherwise, out1 should equal zero. The second output (out2) should be equal to 1 if, on the last cycle, in1 and in2 were NOT EQUAL to each other; otherwise, out2 should equal...
Draw a Moore-type state diagram and design a synchronous sequential circuit using D flip flops for a 1-input/1-output "sequence detector" for the sequence 110 (be sure to recognize overlapping sequences). Draw the final circuit.
Draw a Moore-type state diagram and design a synchronous sequential circuit using D flip flops for a 1-input/1-output "sequence detector" for the sequence 1001 (be sure to recognize overlapping sequences). Draw the final circuit.