使用VHDL代码从FPGA生成纯正弦波作为输出 [英] Generating a pure sine wave as output form FPGA using VHDL code
问题描述
我们知道FPGA的输出是数字输出,但是我们可以使用vhdl代码生成纯模拟正弦波.也可以指定正弦波形的频率.
We know that the output of an FPGA is digital but can we genrate a pure analog sine wave using a vhdl code. also can I specify the frequency of the sine wav.
推荐答案
定义纯"-您可以使用多少个位"的量化...频率是多少?
Define "pure" - how many "bits" of quantisation can you live with... and what frequency?
对于低位的低频率,您可以在FPGA中构建一个简单的PWM或delta-sigma DAC,并在外部"放置一个低通滤波器(对不起,那必须是真正的模拟硬件:). 此示例可能会提供信息
For lowish frequencies at lowish bits you could build a simple PWM or delta-sigma DAC in the FPGA and put a low-pass filter on the "outside" (sorry, that'll have to be real analogue hardware :) . This example may be informative
尽管没有一些外部组件,也不会到达那里.
Not going to get there without some external componentry though.
这篇关于使用VHDL代码从FPGA生成纯正弦波作为输出的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!