积分规则 网站地图 帮助中心    
嵌入式软件 单 片 机 DSP 存储器 传感控制 光电显示
嵌入式硬件 CPLD/FPGA SOPC AD/DA 接口电路 模拟设计
I C设计 通信产品 汽车电子 电源产品 消费电子 数控系统
工业控制 军工/航天 安防产品 医疗电子 计算机外设 测试测量
供应 I C
求购 公司库

  IC 求购 销售 公司 论文 DATASHEET 参考设计 论坛
当前位置: 首页 >> 英文资料
  相关分类:
How to implement DSP algorithms using the Xilinx Spartan-3E starter board
 
作者:Dennis Silage   来源:EETimes    点击数:811   更新时间:2008-4-3
您可以添加到网摘 让更多人关注此文章:

    

Introduction
Embedded design in Verilog using FPGAs can utilize controller and datapath modules to facilitate the implementation of real-time tasks. The controller module accepts external control and status signals from the datapath module and uses one or more finite state machines (FSM) to coordinate the process. The controller module provides the datapath module control input signals that route the input data, perform processing and output the data. The datapath module stores and manipulates data in registers using combinational and sequential logic and can use one or more FSMs to output the data but not autonomously. The controller can also accept external control signals from and return status signals to an external processor or internal soft core processor to augment the performance of the embedded system.

The controller and datapath construct partitions the design into modules that can be separately verified in simulation. Rather than one module that encapsulates the entire process, the controller and datapath modules then each have a reduced number of interconnections which facilitates the Verilog structural and behavioral synthesis into FPGA hardware. Datapath modules also support the concept of design reuse.

The controller module can be easily modified to accommodate a new task, which can then even include additional datapath modules. The configuration of a typical controller and datapath construct is shown in Fig 1. The synchronous clock input schedules the state transitions of the FSMs of the controller and datapath. Registers can be initialized by a global reset signal, a local reset signal or by a declaration in the behavioral synthesis of the controller and datapath. The reset signal is not shown in Fig 1.



1. Configuration of a typical controller and datapath construct.

The controller has control input logic signals that initiate the process and status output logic signals that signify the completion of the process. The datapath has only data as an input and output and no external process control logic signals other than those derived from the controller. The datapath outputs status logic signals to the controller to coordinate the process. A clock signal is used to provisionally evoke a state transition in the FSM if utilized in the controller and datapath. The controller control signals and the datapath status signals are required to have a state transition.

DSP System
The DSP system consisting of an ADC, FPGA and DAC is shown in Fig 2. The ADC provides n-bit data to the FPGA and receives an a-bit data packet for command and control. The DAC receives both m-bit data and a d-bit data packet for command and control from the FPGA. A crystal oscillator provides a clock signal to the FPGA for synchronization and timing of the data transfers and to establish the sampling rate fs of the DSP system.



2. DSP embedded hardware system.

This DSP system executes on the Xilinx Spartan-3E Starter Board using Verilog structural and behavioral synthesis modules that are developed using the Xilinx ISE tools. The Verilog modules are configured as FSMs and the controller and datapath construct. The DSP system is initially implemented as a straight-through processor that inputs and outputs an analog signal without any manipulation to assess the maximum data throughput rate with the Verilog top module s3eadcdac.v in Listing 1. The five Verilog modules operate in parallel in the top module.



Listing 1. ADC-DAC system top module for the
Xilinx Spartan-3E starter board.
(Click this image to view a larger, more detailed version)

The Verilog top module utilizes the se3adc.v and se3progamp.v modules for the ADC and programmable gain amplifier (PGA) and the se3dac.v and dacs3edcm.v modules for the DAC and the Digital Clock Manager (DCM) of the Xilinx Spartan-3E Starter Board. The DCM is an available Xilinx Architecture Wizard module which facilitates the embedded design. These four Verilog modules are FSM controllers for the ADC, PGA and DAC external peripherals and the soft-core peripheral DCM and are described in the text.

An output pin of one of the 6-pin peripheral ports is used to monitor the ADC conversion command signal (conad) and the sampling rate fs = approximately 282 ksamples/sec here. This maximum sampling rate is far below the cutoff frequency of the anti-aliasing filter of the Spartan-3E Starter Board ADC (1.54 MHz). To avoid aliasing, an analog filter with a cutoff frequency fcutoff < fs/2 or fcutoff < 141 kHz would have been appropriate.

Although data from the two ADC channels are available simultaneously, the DAC can only accept one channel of data at this sampling rate. In addition, the Xilinx Spartan-3E Starter Board DAC shares access to the serial peripheral interface (SPI) bus with the ADC (and other external peripherals) which leads to SPI bus contention and an even lower sampling rate.

The Xilinx Spartan-3E Starter Board ADC outputs 14-bit two's complement binary data and the DAC requires 12-bit straight binary data. The conversion is accomplished by complementing the MSB of the ADC output (bit 13) as the sign bit. The twelve MSBs of the ADC output (bit 13 through bit 2) are outputted to the DAC. Since the PGA inverts the analog input signal, the resulting straight binary data is complemented for comparison of the analog input and output signals on an oscilloscope.


[1] [2] [3]  下一页



相关文章
· TMS320C6x DSP的FLASH引导方法研究与实现[5]
· S3C2410X在无线宽带通信网中的应用[41]
· 基于TMS320DM270的长途客运车无线视频监控系统的设计[18]
· TMS320VC5502图像传输系统的USB接口扩展[27]
· 基于CMOS图像传感器的嵌入式图像采集与格式转化[47]
热门评论排行
·VHDL设计中电路简化问题的
·江苏嵌入式Linux教育培训
·锐极LINUX驱动培训班定于
·基于实时操作系统μC/OS-
·ARM处理器应用开发4步骤

文章评论
    没有任何评论
*只显示最新10条评论。评论内容只代表网友观点,与本站立场无关。更多评论
发表评论
  * 请先[登陆]再进行评论,谢谢。
评分: 1分 2分 3分 4分 5分
内容: *
发帖须知:
一.所发文章必须遵守《互联网电子公告服务管理规定》;
二.严禁发布供求代理信息,公司介绍,产品信息等广告宣传信息;
三.严禁恶意重复发帖;
四.严禁对个人,实体,民族,国家等进行漫骂,污蔑,诽谤。
 
热点新闻 [更多]
 
亚洲行业盛事频繁IR节能创新再成瞩目
IPTV未获得奥运金牌
英特尔将于本月中期推出首款六核处理器
英飞凌在功率电子市场表现抢眼,以高于
LED奥运会大放光芒 功率
三星同意将Symbian股份出售给诺
英特尔收购Opened H
广东省省长黄华华视察研祥集团
EDI/WEDC/WHITE怀特存储
WHITE/WEDC/EDI代理商-
 
热门下载 [更多]
 
[ ] 手把手学单片机20个例
[ ] 单片机做的智能台灯
[ ] 单片机入门书
[ ] linux系统移植开发文档
[ ] IC卡的读写程序
[ ] 8051单片机C语言彻底应用
[ 常用软件] 555定时器电路设计软件V1.2
[ 常用软件] 51定时器计算软件
[ ] ARM处理器应用开发4步骤
[ ] 实用电源电路集锦
 
论坛新帖 [更多]
 
verilog设计的一点经验...
Altera FPGA、CPL...
如何开始DSP的开发...
[转帖]如果让我重做一次研究生...
[分享]逆变器常见故障排除4例...
[分享]高级设计中的高密度AC...
[分享]本科毕业后如何是好:读...
做跨国公司中的“小巨人”——A...
转速测量有些什么好方法...
如何让你的手机电池更强更耐用?...

 
赞助商 [更多]
 


ICP许可证号:[粤 05056597]
联系电话:010-82517432 82517615 传真: 010-82517615

版权所有 Copyright © 2006 嵌入式技术网