Here I have assumed Q0 to be the most significant bit(MSB) and Q3 as the least significant bit.
Explanation:
A counter with a parallel load can be used to generate
any desired count sequence. There is an additional COUNT
control. The Count control is set to 1 to enable the count through
the CLK input. Also we know that the Load control inhibits the
count and that the clear operation is independent of other control
inputs.
The AND gate detects the occurrence of state 1010. The
counter is initially cleared to 2(i.e.preset to 0010), and
then the Clear and Count inputs are set to 1, so the counter is
active at all times.
As long as the output of the AND gate is 0, each positive‐edge clock increments the counter by 1. When the output reaches the count of 1010, both Q0 and Q2 become 1, making the output of the AND gate equal to 1.
Hence this condition will activate the Load input; therefore, on
the next clock edge the register does not count, but is
loaded from its four inputs. Since inputs are connected to 0010 ,a
reloading of the register occurs following the count of 0010.
Thus, the circuit goes through the count from 0010 through 1010 and back to 0010.
Number of states encountered are 9.Hence it is MOD-9 modulo counter.
Module 72: Using this 4 Do bit up-counter, draw the Di diagram for a modulo counter...
Design C-1 (modulo-10 up-counter): Using the behavioral VHDL coding, create an up-counter to count upward. The up counter has the following control inputs En.reset, CLK. The counting outputs are Q0, O1, Q2. and O3 reset clears the outputs of the counter to 0. En enables the counting when En-1. When En-0, the counter stops. The counter sequentially counts all the possible numbers and loops again, from 0 to 9, back to 0 and 9, etc Design C-2: Ten-second Counter with...
ECEN3233 Digital Logic Design Name 3. Use a synchronous 4-bit binary up counter (with load and enable) to design a modulo-8 counter (also called offset counter) that begins with 0100, which means the counting sequence is: 0100-0101-0110->0111->1000->1001->1010->1011->0100-0101... Please complete your design using the figure on the next page. Use some logic gates if you need. (10 points) Enable Load Clock
Finite state machine (FSM) counter design: Gray
codes have a useful property in that consecutive numbers differ in
only a single bit position. Table 1 lists a 3-bit modulo 8 Gray
code representing the numbers 0 to 7. Design a 3-bit modulo 8 Gray
code counter FSM.
a) First design and sketch a 3-bit modulo 8 Gray code counter
FSM with no inputs and three outputs, the 3-bit signal
Q2:0. (A modulo N counter counts from 0 to N −...
Consider the circuit in Figure 1. It is a 4-bit (QQ2Q3) synchronous counter which uses four T-type flip-flops. The counter increases its value on each positive edge of the clock if the Enable signal is asserted. The counter is reset to 0 by setting the Clear signal low. You are to implement an 8-bit counter of this type Enable T Q Clock Clear Figure 1. 4-bit synchronous counter (but you need to implement 8-bit counter in this lab) Specific notes:...
Q3. Synchronous Counter Figure 8.3(a) shows a modulo-8 synchronous up-counter (Modulo-8 because this counter can count only from 0 to 7 with its 3 bits qo, q1 and 92.). Treat each gray cell in the figure as a component and write generic VHDL codes to create a modulo-2N counter, where N is the number of flip-flops required. Use nominal mapping for this problem while instantiating components. When the asynchronous reset signal rst is high, the counter is set to 0...
5. (7 points) Shown in the following block diagram is a 4-bit up-counter with parallel load, clk Dc BA load clr where clr and load are asynchronous inputsi.e., one of the following operations will be performed “simultaneously" (independently of the clock) when the inputs change values: clr load operations 1 X clear 0 0parallel load 1 up-counting 0 the above block diagram and any logic gates you want to build an offset down-counter to count from QpQcQBQA 0111 0110010 ....
Problem 4 [40 Points]: Finite State Machines Show the FSM diagram of a 3-bit up/down counter that counts through the sequence 0, 1, 2, 3, 4, 5, 6, 7, 0, 1,2, The counter has two input signals a co up and a count down. Thus, the counter can with a change of input count 5, 4, 3,
Up-Down counter with enable using JK flip-flops: Design, construct and test a 2-bit counter that counts up or down. An enable input E determines whether the counter is on or off. If E = 0, the counter is disabled and remains in the present count even though clock pulses are applied to the flip-flops. If E= 1, the counter in enabled and a second input, x, determines the count direction. If x= 1, the circuit counts up with the sequence...
Design in VHDL a 4-bit up-down counter as presented below:
The operation of the up-down counter is described by the
following truth table:
S1 S0
Action
0 0
Hold
0 1
Count up
1 0
Count down
1 1
Parallel Load
Provide VHDL code and testbench
XЗ Q3 X3X2X1X0 Parallel Load X2 S1SO Function Select Input Q2 RST-Asynchronous Reset Input X1 CLK- Clock Input Q1 хо Q3Q2Q1Q0 - Parallel Output Q0 CLK S1 S0 RST
XЗ Q3 X3X2X1X0 Parallel Load...
Design a two-bit up/down binary counter using D flip-flops that can count in binary from 0 to 7. When the control input x is 0, the circuit counts down, and when it is 1, the circuit counts up. (a) Obtain the state table of the two-bit counter. (b) Obtain the state diagram (c) Draw the logic diagram of the circuit.