subject
Engineering, 05.11.2020 18:30 Cassandoo

1. Write the VHDL statement to declare a 5-bit signal with indices 4 downto 0. Name the signal tempSum. 2. Write the VHDL statement to describe a 4-bit adder. Use the addition operator Assume that two 4-bit input ports, A and B, have been declared in the Entity statement Use these ports as inputs to the adder. Use the signal tempSum as the output from the adder Note that the width of the adder circuit synthesized (and implemented) from the VHDL code is equal to the width of the larger signal being added. In this case, both A and B are 4-bit signals Consequently, the adder circuit implemented will be four bits wide. However, we need to produce a 5-bit result so that we can obtain the 4-bit sum and the carry-out.
3. Modify the VHDL statement written above to describe a 5-bit adder circuit Hint: use the concatenation operator and the binary value O' with one or both of the input ports Assume that sum has been declared in the Entity statement. Assume that carry- out has been declared in the Entity statement addition operator with signals of type STD LOGIC or STD LOGIC. VECTOR. Provide your answer
4. Write the VHDL statement to assign bits 3 downto 0 of tempSum to the 4-bit port sum
5. Write the VHDL statement to assign bit 4 of tempSum to the port carry - out
6. Identify the package (or packages) that must be included in your VHDL code in order to use the below.

ansver
Answers: 2

Another question on Engineering

question
Engineering, 04.07.2019 18:10
Consider a large isothermal enclosure that is maintained at a uniform temperature of 2000 k. calculate the emissive power of the radiation that emerges from a small aperture on the enclosure surface. what is the wavelength ? , below which 10% of the emission is concentrated? what is the wavelength ? 2 above which 10% of the emission is concentrated? determine the wavelength at which maximum spectral emissive power occurs. what is the irradiation incident on a small object placed inside the enclosure?
Answers: 2
question
Engineering, 04.07.2019 18:10
Manometers are good examples of measuring instruments, nowadays they are not as common as before. a)-capacitive probe gauges b)-gravitational gauges deformation ) gauges d)-digital gauges
Answers: 1
question
Engineering, 04.07.2019 18:10
Assuming compressible flow of air and that the measurements are done at flagstaff a pitot static tube that gives the difference of total and static pressure measures 0.35 m of mercury. what is the velocity of air? assume the temperature to be 300k. (submit your excel or matlab calculation sheet)
Answers: 1
question
Engineering, 04.07.2019 19:10
Asteam is contained in a rigid tank with a volume of 1 m3. initially, the pressure and temperature are 7 bar and 500 oc, respectively. the temperature drops due to cooling process. determine: (1) the temperature at which condensation begins in °c, (2) the fraction of the total mass that has condensed when the pressure decreased to 0.5 bar. (3) the volume in m3 occupied by saturated liquid at the final state?
Answers: 3
You know the right answer?
1. Write the VHDL statement to declare a 5-bit signal with indices 4 downto 0. Name the signal tempS...
Questions
question
Mathematics, 30.07.2019 03:10
Questions on the website: 13722363