The task is to design a two-bit controlled counter which has two counting bits (Q2, Q1), has one control input C1, and also two extra outputs, one indicating overflow, the other underflow.
When C1=0 the counter counts up by 2s; i.e. 0 becomes 2, 1 becomes 3. In this mode the values 2 and 3 go to the overflow state. When the control input C1=1, the counter counts down by 2s, i.e. 3 becomes 1, and 2 becomes 0, and 1 and 0 go to the underflow state. The counter remains in one of these "error" states until the control bit C1 is changed at which point it goes to state 0. The finite state machine shows this operating sequence.
One way to design this circuit is to set up six states. These are the four output count states: 0, 1, 2, 3, and the two "error" states: OV (overflow) and UN (underflow). In order to provide six internal states, we need a minimum of three flipflops. In the following incomplete transition table six flip flop outputs are assigned, two are left as don't cares.
(a) Complete the transition table by showing the Q3, Q2, Q1 outputs of the "next" state.
(b) Construct three KMaps for the D-FF inputs D3, D2, and D1 and determine the minimised expressions for D3, D2, and D1.
(c) Determine the necessary output circuits which provide the required output signals: Overflow Indicator and Underflow Indicator.
The task is to design a two-bit controlled counter which has two counting bits (Q2, Q1), has one control input C1, and a...
It has four output patterns: 000, 001, 0111 Tho Te two control signals e counter counts when it is 1 and the counter pauses when it is 0 e counter "increases" (circulating through 000, 0011, 01, 111 and .....pping around) when it is 1 and go is 1. The counter "decreases" (circulating in a reversed pattern, ie., 1 1 11, 01 11, 0011, 0001, and wrapping around) when it is 0 and g0 is l The circuit can be constructed...
Design (and then verify your design by simulating it) a two-bit counter that counts up or down. Use an enable input E to determine whether the counter is on or off: if E = 0 the counter is disabled and remains at its present count even if clock pulses are applied. If E = 1, the counter is enabled and a second input, x, determines the direction of the count: if x = 1 the circuit counts upward 00, 01,...
all please Design a 3-bit counter that has only one input, w. It counts down 7, 6,5,... 0, 7,.. whenever w-0, and counts up 0,1,2...7,0... when w 1 The output z-1, when the state of the counter is a prime number. Otherwise, z-0 1. List Inputs, Outputs and the count sequence. (5pts) 2. Draw the finite State machine for the counter. (10pts) 3. Draw the state transition table <extra columns for the flip flops values> (20pts) armed resource/content/1/case%20study.template.docx 4. Design...
Please help Q15. A watch can display one of four items: Time, Alarm, Stopwatch or Date, controlled by two signals Q1 and Q0 (00 time, 01 alarm, 10 stopwatch, 11date). Assume Q1 and Q0 control an N-bit MUX that passes the correct register to the display. Pressing a button B (sets B-1) sequences the display to the next item, releasing the button resets B-0 and the display remains stable. For example, if the current displayed item is the date the...
In this lab, you will design a finite state machine to control the tail lights of an unsual car. There are three lights on each side that operate in sequence to indicate thedirection of a turn. Figure ! shows the tail lights and Figure 2 shows the flashing sequence for (a) left turns and (b) right rums. ZOTTAS Figure 28:8: BCECECece BCECECECes BCECECECB BCECECBCB 8888 Figure 2 Part 1 - FSM Design Start with designing the state transition diagram for...