Engineering
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.

answer
Answers: 2

Other questions on the subject: Engineering

image
Engineering, 04.07.2019 18:10, soreese02
An ideal otto cycle with air as the working fluid has a compression ratio of 8. the minimum and maximum temperatures in the cycle are 300 k and 1340 k. use constant specific heats at room temperature to determine (a) the amount of heat transferred to the air during the heat- addition kj/kg, (b) the thermal efficiency, and (c) the thermal efficiency of a carnot cycle ope limits. process, in rating between the same temperature
Answers: 2
image
Engineering, 04.07.2019 18:10, mamasbug4285
An air compression refrigeration system is to have an air pressure of 100 psia in the brine tank and an allowable air temperature increase of 60°f for standard vapor compression cycle temperatures of 77 f entering the expansion cylinder and 14 f entering the compression cylinder, calculate the coefficient of performance a. 2.5 b 3.3 c. 4.0 d. 5.0
Answers: 3
image
Engineering, 04.07.2019 18:20, krojas015
Asolid cylinder is concentric with a straight pipe. the cylinder is 0.5 m long and has an outside diameter of 8 cm. the pipe has an inside diameter of 8.5 cm. the annulus between the cylinder ad the pipe contains stationary oil. the oil has a specific gravity of 0.92 and a kinematic viscosity of 5.57 x 10-4 m2/s. most nearly, what is the force needed to move the cylinder along the pipe at a constant velocity of 1 m/s?
Answers: 3
image
Engineering, 04.07.2019 18:20, kodyclancy
Aquick transition of the operating speed of a shaft from its critical speed will whirl amplitude. (a) increase (b) limit (c) not affect (d) zero
Answers: 2
Do you know the correct answer?
Design a sequential circuit that counts the number of 1's in a binary string of n-bits. The obvious...

Questions in other subjects: