Sep 4, 2008 #1 G gvsm Newbie level 4 Joined Aug 10, 2008 Messages 6 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,281 Activity points 1,317 hi regards to all... i need to know whether is it possible to generate a sin wave in Quartus II software using VHDL coding. if yes pls show the ways.. thank you...[/img]
hi regards to all... i need to know whether is it possible to generate a sin wave in Quartus II software using VHDL coding. if yes pls show the ways.. thank you...[/img]
Sep 5, 2008 #2 S sprao Member level 1 Joined Dec 7, 2006 Messages 32 Helped 6 Reputation 12 Reaction score 2 Trophy points 1,288 Activity points 1,464 To generate sine wave of a fixed frequency(Fout), then you just load sine wave samples in to ROM and read them with a sampling clock(Fclk). Fout = Fclk/Number of samples.
To generate sine wave of a fixed frequency(Fout), then you just load sine wave samples in to ROM and read them with a sampling clock(Fclk). Fout = Fclk/Number of samples.
Sep 5, 2008 #3 FvM Super Moderator Staff member Joined Jan 22, 2008 Messages 52,420 Helped 14,749 Reputation 29,780 Reaction score 14,101 Trophy points 1,393 Location Bochum, Germany Activity points 298,099 The frequency may be also variable. The technique is called numerical controlled oscillator (NCO). But the sine signal is represented digitally only. You need a DAC to get an analog signal.
The frequency may be also variable. The technique is called numerical controlled oscillator (NCO). But the sine signal is represented digitally only. You need a DAC to get an analog signal.