Phan Văn Khánh
New member
The structural code for 4-bit adder is given below.
If user want to convert this in an 8 bit adder, which of the following variable should be changed?
A. n
B. input
C. output
D. component
Code:
COMPONENT adder IS
GENERIC (n : INTEGER := 3);
PORT(input : IN BIT_VECTOR(n DOWNTO 0);
output : OUT BIT_VECTOR(n DOWNTO 0));
END COMPONENT;
A. n
B. input
C. output
D. component