Question: write VHDL code to add a positive integer B ( B <16) , to a 4-bit bit-vector A to produce a 5-bit bit-vector as a
write VHDL code to add a positive integer B ( B<16) , to a 4-bit bit-vector A to produce a 5-bit bit-vector as a result. Use an overloaded operator in the IEEE numeric bit package to do the addition. Use calls to conversion functions as needed. The final result should be a bit-vector, not an unsigned vector.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
