文档介绍:基于EDA和单片机技术的逻辑分析仪设计课件
摘要:本设计采用单片机控制8路逻辑信号电平采集;采用EDA技术设计的CPLD芯片处理逻辑信号,控制点阵扫描和分析结果在示波器上显示;单片机和CPLD间采用中断方式交换数据。该设计具有1、3级触发方式,触发字位置和浮动时标线显示等功能,以及友好操作界面和波...
<BR>摘要:本设计采用控制8路逻辑信号电平采集;采用EDA技术设计的CPLD芯片处理逻辑信号,控制点阵扫描和分析结果在示波器上显示;和CPLD间采用中断方式交换数据。该设计具有1、3级触发方式,触发字位置和浮动时标线显示等功能,以及友好操作界面和波形稳定显示等特点,并拓宽示波器使用功能。<BR>关键字:点阵扫描控制;逻辑分析;CPLD;VHDL编程<BR><BR>【Abstract】This design uses the one-chip puter to be controlled gathering of logical signal levels of 8 tunnels, Use CPLD's chip of EDA's technical design to the logic signal processing and Control&nbsp; scanning to the lattice signal and The result of display analysis on the oscillograph , Use the interrupt mode exchange data between one-chip puter and CPLD. this design has 1 and 3 grade of method of activation , trigger word seat display and time to be marked thread display&nbsp; etc. merit ability,As well as friendly operation interface and waveform stabilization what shows&nbsp; etc. characteristic , And widen the oscillograph use merit ability . <BR>【Key words】The lattice scanning control; The logical analysis; CPLD; VHDL's programming<BR><BR>&nbsp;软件设计<BR>软件设计部分有逻辑信号检测及数据采集处理、键盘显示扫描处理、采样字节输出处理和CPLD内部结构设计VHDL(硬件描述语言)编程四部分。本文主要介绍逻辑信号检测及数据采集处理和CPLD结构设计VHDL编程部分。<BR><BR>逻辑信号检测及数据采集处理<BR>逻辑信号检测及数据采集处理是通过单片机的INT1中断服务程序来完成。其中1级触发字逻辑信号检测中断服务程序和数据采集处理子程序流程如图6、图7所示。<BR>当各项参数设定后,按“确认键”保存参数,并打开逻辑信号检测中断(INT1),关闭采样字节输出中断(INT0)。每次逻辑信号发生器的位传送时钟(B-CLK)触发一次逻