为了满足电子测量性能指标越来越高的要求,设计一种基于FPGA的便携式综合电子测量仪器。本系统主要利用IP核的设计方法的优势,实现频率计、函数信号发生器和示波器的综合功能。具体实现通过用Verilog语言编写功能IP核,并移植NiosII处理器构建片上可编程系统( SOPC),IP核和片上处理器之间的通信采用Avalon总线协议。最后,在NIOSII IDE环境下移植μC/GUI进行图形用户界面的设计。实验测试表明,系统成本低、可靠性高、易于程控、使用灵活,系统的各项参数指标可以达到商用电子测量仪器的水平。
In order to meet the increasing high performance demand measurement index of electronic, there is the design of a portable integrated electronic measuring instruments based on FPGA. With the advantage of IP core design method, to achieve frequency meter, function generator and oscilloscope functions. To achieve function IP core by u-sing Verilog language, and transplant NiosII processor to build SOPC, the communication between IP core and on-chip processor by using Avalon bus protocol. Finally, the Design of graphical user interface by transplantingμC/GUI in NI-OSII IDE environment. The experimental test shows, the system has low cost, high reliability, easy control, flexible use, the parameters of the system can reach the level of commercial electronic measuring instruments.