rgodw
New Contributor
7 years agohow to increase the data width of an input
i have to complete a signed n-bit adder. the inputs are STD_LOGIC_VECTOR((DATA_WIDTH-1)downto 0) and output is STD_LOGIC_VECTOR((DATA_WIDTH)downto 0) i was told to do it as by increasing the datawidth of the input in the architecture find the value of the MSB of the input and that would be the new input (data-width) im not sure if you understand what i mean but im happy to try to clarify if i can any suggestions are welcome