Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
13 years ago

convert an integer to a vector

I have a constant for eg. 5.Now i have to convert into vector form.How can i do it in vhdl code?I think there is no necessary to write a code in testbench for the waveform,because there is no need of...