I have written a process to generate sine wave. I am getting a distorted wave and not a pure sine wave. I am not sure if this has anything to do with the simulator.
two : process variable phase_temp,result : real; constant scale : real := 2.0*real(bw); begin phase_temp := phase_sin; --phase_sin; l1 : for i in 1 to samples_sin loop --number_of_samples loop result := scale*(amp_sin*(sin(frq_sin + phase_temp))); sine_real