63.7k views
5 votes
Using Logicly, design a circuit that counts from 0 to 7 on a display in order at every clock rising edge:

display: 0 1234567012...
Required components to be used and designed:
1) 4-bit Full Adder (FA) that adds the state bits S to a 4-bits Boolean variable V,
2) 4-bit resettable register to store the FA result,
3) a control unit/decoder that takes as input the current state S and generates the required Carry in and the V bits for the FA. You should reset the register at the beginning to initialize the current state to 0. The adder should add +1 to the state bits until 7 is reached, at that point it should generate C_in=1 and V=1000 to transform the adder into a subtractor (effectively doing 7-7=0).

User Viyancs
by
7.8k points

1 Answer

4 votes

Final answer:

Designing a circuit to count from 0 to 7 using Logicly

Step-by-step explanation:

Designing a Circuit to Count from 0 to 7

To design a circuit that counts from 0 to 7 on a display, you will need the following components:

  1. A 4-bit Full Adder (FA)
  2. A 4-bit resettable register
  3. A control unit/decoder

First, initialize the current state to 0 by resetting the register. Then, use the Full Adder to add +1 to the state bits until 7 is reached. At that point, set the Carry in to 1 and V to 1000 to transform the adder into a subtractor, effectively doing 7-7=0.

User Austin Best
by
8.2k points