Forum Discussion
Vicky1
Regular Contributor
6 years agoHi,
'how to increase the data width of an input' - - - just increase the value of 'DATA_WIDTH' in generic statement of entity.
' 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' - - - - - - it`s confusing statement. please check attached hdl code & change the 'n' from 2 to 4 etc.. in that case vector will be of size (3 downto 0).
Regards,
Vicky