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, 03.07.2019 14:10
Line joining liquid phase with liquid and solid phase mixture is known as: a) liquidus b) solidus c) tie line d) none of the mentioned
Answers: 2
question
Engineering, 04.07.2019 18:10
The temperature of air decreases as it is compressed by an adiabatic compressor. a)- true b)- false
Answers: 2
question
Engineering, 04.07.2019 19:10
Afoot bridge is made as a simple deck, 4 m long, with a cross section 2 m (wide) and 20 cm thick, and made of wood. the deck is supported at the two ends. the maximum load allowable on the bridge is 10 tons, provided it is uniformly distributed on the deck. to sense this load, a strain gauge is placed at the center of the bridge and its resistance is monitored. if the sensor has a nominal resistance of 350 s2 and a gauge factor of 3.6, what is the reading of the strain gauge at maximum load? the modulus of elasticity for the wood used in the construction is 10 gpa.
Answers: 2
question
Engineering, 04.07.2019 19:10
Ahelical coil spring has a mean diameter of 50 mm, a wire diameter of 5.5 mm and is wound with a pitch of 10 mm. the spring steel has an ultimate strength of 1250 mpa. find the force needed to compress the spring solid and the wire stress in this condition. state whether the spring will return to its initial length.
Answers: 1
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
English, 12.01.2021 08:00
question
Mathematics, 12.01.2021 08:00
question
Mathematics, 12.01.2021 08:00
Questions on the website: 13722367