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
Aflywheel accelerates for 5 seconds at 2 rad/s2 from a speed of 20 rpm. determine the total number of revolutions of the flywheel during the period of its acceleration. a.5.65 b.8.43 c. 723 d.6.86
Answers: 2
question
Engineering, 04.07.2019 18:10
Shafts are machine elements that are used to a) carry axial loads b) direct shear loads c) transmit power d) rotate at constant speed e) none of the above circular and square shafts subjected to the same torque under the same circum behave a) the same way b) almost the same way
Answers: 2
question
Engineering, 04.07.2019 18:10
Which one from below is not one of the reasons of planning failures? (clo3) a)-planner is careless. b-planner spend less time in the field but more time on the desk c)-planner is not qualified d)-planner does not have sufficient time to properly plan
Answers: 3
question
Engineering, 04.07.2019 18:10
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
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
Social Studies, 08.10.2019 04:30
question
Mathematics, 08.10.2019 04:30
Questions on the website: 13722360