subject
Engineering, 12.10.2020 22:01 SushiMagic

Design a sequential circuit that counts the number of 1's in a binary string of n-bits. The obvious but inefficient approach would be to examine each bit and increment a counter if a 1 is encountered. This will take n cycles. However, your design should determine the count (output) in the number of clock cycles equal to the number of 1s in the string. For example, for the string "1100110", it should take 4 clock cycles. Similarly, for "110000100000100" it should take four clock cycles. Construct the ASM chart for the controller of the circuit. All the n bits of the input binary string are available at once (no serial input) to the circuit when an input START is asserted. When the START signal = 0, the circuit is in READY state waiting for the input binary string. After generating the output, the circuit goes back to the READY state waiting for START input to be asserted. Clearly describe and draw what the components of the datapath must be and the function of the other outputs (to control the datapath) of the controller. There are two states in total in the controller.

ansver
Answers: 2

Another question on Engineering

question
Engineering, 04.07.2019 18:10
Water in a partially filled large tank is to be supplied to the roof top, which is 8 m above the water level in the tank, through a 2.2-cm-internal-diameter pipe by maintaining a constant air pressure of 300 kpa (gage) in the tank. if the head loss in the piping is 2 m of water, determine the discharge rate of the supply of water to the roof top in liters per second.
Answers: 3
question
Engineering, 04.07.2019 18:20
Select any two (2) areas of applications of chain-drive. (clo4) a)-permanent lubrication necessary b)-hydraulic forklift truck operation c)-rigging and heavy moving materials d)-relatively high maintenance costs e)-costlier than belt drives
Answers: 2
question
Engineering, 04.07.2019 18:20
How much power could a wind turbine produce if it had the following specifications? cp = 0.45 -d=1.2kg/m3 d=50m v 5m/s
Answers: 2
question
Engineering, 04.07.2019 18:20
For a gate width of 2 m into the paper, determine the force required to hold the gate abc at its location.
Answers: 1
You know the right answer?
Design a sequential circuit that counts the number of 1's in a binary string of n-bits. The obvious...
Questions
question
History, 05.08.2019 21:10
Questions on the website: 13722367