Altera_Forum
Honored Contributor
11 years agousing multiple conversion statements
I'm trying to pass an integer through multiple conversions.
i placed an integer counter (mone) of 0 to 9 Which i control with a push button(that act as a clock_in). i basically need every time that i get a new integer(0 to 9) lets say 3 for example to multiply by 0.000305(same as 61/200000). and then convert the result integer to std_logic_vector 16bit. it eventually will go to an D/A the has a resolution of 2^15. the code is fine if i run compilation. but don't see the result in the simulation waveform. or in the leds in my cyclone 2. you can see the code and the simulation waveform in the photos attached . hlap me please.