多功能独立式逻辑分析仪设计与实现_刘绍贵.docx
![资源得分’ title=](/images/score_1.gif)
![资源得分’ title=](/images/score_1.gif)
![资源得分’ title=](/images/score_1.gif)
![资源得分’ title=](/images/score_1.gif)
![资源得分’ title=](/images/score_05.gif)
《多功能独立式逻辑分析仪设计与实现_刘绍贵.docx》由会员分享,可在线阅读,更多相关《多功能独立式逻辑分析仪设计与实现_刘绍贵.docx(57页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、 独 创 性 声 明 本人郑重声明:所提交的学位论文是本人在导师指导下独立进行研究 工 作所取得的成果。据我所知,除了特别加以标注和致谢的地方外,论文 中不 包含其他人已经发表或撰写过的研宄成果。对本人的研宄做出重要贡 献的个 人和集体,均己在文中作了明确的说明。本声明的法律结果由本人 承担。 学位论文使用授权书 本学位论文作者完全了解东北师范大学有关保留、使用学位论文的规 定,即:东北师范大学有权保留并向国家有关部门或机构送交学位论文的 复 印件和电子版,允许论文被查阅和借阅。本人授权东北师范大学可以将 学位 论文的全部或部分内容编入有关数据库进行检索 .可以采用影印、缩 印或其 它复制手段
2、保存、汇编本学位论文。 (保密的学位论文在解密后适用本授权书) 学位论文作者毕业后去向: 工作单位: _ 电话: 通讯地址: 邮编: III 摘 要 随着数字技术的发展和广泛应用,对数字系统的测试变得越来越重要。同时,由 于数 字集成电路的集成度越来越高、芯片引脚越来越多,使得逻辑信号测试也变得越 来越难。在 数字系统测试中,往往需要同时监测多路信号,并通过对这些信号进行时 序分析或者逻辑比 较以分析电路功能或查找电路故障。逻辑分析仪由于能同时检测多 路逻辑信号,并具有多种 触发方式和时序分析功能,是数字系统分析、设计的主要工 具,在教学、科研中广泛应用。 目前,商业化的逻辑分析仪只有两种,一
3、种是虚拟式逻辑分析仪,它是以计算机 为处 理核心,通过连接到计 算机上的采集器,进行逻辑信号采集。这种逻辑分析仪设 计、更新灵 活,但必须配备计算机才能工作。另一种是非虚拟式逻辑分析仪,或称为 独立式逻辑分析仪, 仪器内部集成了所有部件,不需要配备计算机,但价格一般比较 昂贵,不能很好地在教学和 科研实践中得到普及。因此,设计一种功能全面、价格合 理、可在教学科研中普遍应用的多 功能、独立式逻辑分析仪具有重要的应用价值和广 阔的市场前景。 本设计采用 FPGA 为核心控制器件。构建了基于 Nios II 软核处理器、 SDRAM 控 制器、 DMA 控制器、定时控制器和 PIO 控制器的处理器
4、系统;处理器系统和 USB 控 制器、 LCD 控 制器以及 LAN 控制器共同构成了系统硬件平台;并移植了 nC/OS-II 操 作系统和 HC/GUI 图形 用户界面开发系统构建了系统软件开发平台。 多功能独立式逻辑分析仪具有 16 个采样通道;采样频率可以设置为 100M、 50M、 20M; 采样深度为 3M*16Blt;具有字触发、上升沿触发、下降沿触发、立即触发等触 发方式。该多 功能独立式逻辑分析仪能通过触控屏、旋转编码开关控制数据采样,并 能通过 7 寸 LCD 显示 数据波形。在计算机上可以通过网络协议、 USB 协议控制逻辑 分析仪采样,并将采样数据显 示在上位机软件。 关
5、键字:逻辑分析仪; FPGA; NiosII; (iC/OS-II; (iC/GUI IV Abstract Digital system test is becoming more and more important with the development of digital technology and the wide application. At the same time, due to the integration of digital integrated circuit is highe and higher and the pins of digital chips
6、 get more and more, the test of logic signal is becoming increasingly difficult In testing digital system, we often need to monitor multichannel signals synchronously so as to analyze the timing sequence or compare the logic of signals to acquire the functions and find the fault of circuits. Logic A
7、nalyzers can not only detect multichannel logic signals at the same time, but also capture desired signals or time series with a variety of trigger modes. Hence it is one of the most important instruments in digital system analysis and design, and has been widely used in teaching and scientific rese
8、arch. At present, there are two kinds of the commercial logic analyzers. One is a virtual logic analyzer, which uses PC as the processing core and an acquisition device connected with the PC to collect logic signals and send to the PC for storing and displaying. The other is a non-virtual logic anal
9、yze or is called independent logic analyzer, which can work without a PC. Since the independent logic analyzers are always costly, they have not gained popularity in the teaching and scientific research. Therefore, a independent logic analyzer with multiple general functions and low price should hav
10、e important application value and broad market prospects. This design adopts FPGA as the core controlling device. The processor system is constructed based on Nios II soft core processor, SDRAM controller, DMA controller, time controller and PIO controller, which formed the system hardware platform
11、by combining with USB controller, LCD controlle and the LAN controller The system software platform is formed by transplanting |xC/OS_ II operating system and |xC/GUI graphical user interface development system into hardware platform. The implemented multi-functional independent logic analyzer has 1
12、6 sampling channels. The sampling frequency can be set to 100M,50M and 20M; Sampling depth is 3M* 16 bit; It can be triggered to sample by words , falling edge, rising edge and immediate trigger mode. The multi-functiona independent logic Analyzer can control data display format on a 7 inch LCD with
13、 the touch screen, and 4 rotary coding switches. On the other hand, it can be controlled by a PC through network or USB interface. Key words: Logic analyzer; FPGA; Nios II; |xC/OS- II; |xC/GUI VI 目 录 摘 要 I ABSTRACT . II 目 录 Ill 第 一 章 引 言 . 1 1.1 课题背景 . 1 1.2 研究现状及研究意义 . 1 1.3 论文结构安排 . 3 1.4 本章小结 . 4
14、 第二章系统硬件设计 . 5 2.1 系统设计指标 . 5 2.2 系统框架 . 5 2.3 硬件系统结构 . 7 2.3.1 旋转编码开关 . 7 2.3.2 FPGA 简介 . 9 2.3.3 SDRAM . 10 2.3.4 FLASH 配置芯片 . 10 2.3.5 以太网控制器 .11 2.3.6 USB 控制器 . 12 2.3.7 LCD 控制器 . 13 2.4 NIOSII 软核处理器系统构建 .15 2.4.1 配置锁相环 .15 2.4.2 Nios II 处理器定制 . 18 2.4.3 FPGA 配置 . 21 2.5 本章小结 . 22 第三章软件系统设计 .23
15、3.1 软件系统流程 . 23 3.2 软件平台构建 . 24 VII 3.2.1 nC/OS-II 系统移植 . 24 3.2.2 nC/GUI 图形支持系统移植 . 26 3.3 功能模块设计 . 28 3.3.1 采样存储模块 . 28 3.3.2 触屏显示模块 . 30 3.3.3 采样触发模块 . 32 3.3.4 逻辑分析仪控制模块 . 32 3.3.5 USB 传输控制模块 . 33 3.3.6 以太网传输控制模块 . 34 3.4 上位机程序设计 . 38 3.5 本章小结 . 40 第四章系统测试 . 41 4.1 系统实物 . 41 4.2 输入控制和采样显示测试 . 41
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 多功能 立式 逻辑 分析 设计 实现 刘绍贵
![提示](https://www.taowenge.com/images/bang_tan.gif)
限制150内