I have written a process to generate sin wave as below.
-- sine wave constants amp_sin : real := 10.0; phase_sin : real := 0.0 -- phase in radians samples_sin : integer := 1000; -- number of samples incr_sin : real := 0.001; -- 1/samples period_sin : time := 0.001 ns; -- period of sine wave/samples
two : process variable phase_temp,result : real ; begin phase_temp := phase_sin; --phase_sin; l1 : for i in 1 to samples_sin loop --number_of_samples loop
sine_real