Forum Discussion
Altera_Forum
Honored Contributor
14 years ago[VHDL] integer to std_logic or std_logic_vector conversion
Hello, I've some issues to convert integer to std_logic or std_logic_vector. I need to do so for a testbench which reads stimuli (binary or positive integers) in a text file, stores it as intege...
Altera_Forum
Honored Contributor
14 years agoYou can learn a lot from this: vhdl math tricks of the trade (http://www.google.de/url?sa=t&source=web&cd=2&ved=0ccaqfjab&url=http%3a%2f%2fwww.synthworks.com%2fpapers%2fvhdl_math_tricks_mapld_2003.pdf&rct=j&q=vhdl%20tricks&ei=zkyftrx4fyzlswbwtrdhaq&usg=afqjcnec4ynse8rjf-gttoh_rkr7rqunsg&sig2=cdf886mgltevmhzwumnnfa)