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

Other questions on the subject: Engineering

image
Engineering, 04.07.2019 18:10, koolgurl2003
Apump is used to circulate hot water in a home heating system. water enters the well-insulated pump operating at steady state at a rate of 0.42 gal/min. the inlet pressure and temperature are 14.7 lbf/in.2, and 180°f, respectively; at the exit the pressure is 60 lbf/in.2 the pump requires 1/15 hp of power input. water can be modeled as an incompressible substance with constant density of 60.58 lb/ft3 and constant specific heat of 1 btu/lb or. neglecting kinetic and potential energy effects, determine the temperature change, in °r, as the water flows through the pump.
Answers: 1
image
Engineering, 04.07.2019 18:10, hadellolo8839
Acompressor receives the shaft work to decrease the pressure of the fluid. a)- true b)- false
Answers: 3
image
Engineering, 04.07.2019 18:10, johnthienann58
Thermal stresses are developed in a metal when its a) initial temperature is changed b) final temperature is changed c) density is changed d) thermal deformation is prevented e) expansion is prevented f) contraction is prevented
Answers: 2
image
Engineering, 04.07.2019 18:10, ijohnh14
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
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 in other subjects:

Konu
Mathematics, 18.12.2020 20:50