论文部分内容阅读
本文通过举例简单介绍了一种兼容ADSP_218x系列串行通信口在各种模式下的软件测试方法。通过Visual DSP++对串口一系列寄存器的配置,用Modelsim对收发数据进行仿真、查看波形以及读取仿真后的Memory List中的数据并与所发送的数据进行比较以验证整个串口的正常工作。本测试中采用了数据自发自收的方法,测试过程中每次只需对配置地址进行改变,并在仿真中施以不同激励,无需硬件改动、采取灵活的配置方式,比以往很大程度上降低了系统测试的难度。
This article gives an example of a simple introduction to a compatible ADSP_218x series serial communication port in various modes of software testing methods. Through Visual DSP ++ serial port serial register configuration, with Modelsim send and receive data simulation, view the waveform and read the data in the Memory List after simulation and send the data to compare to verify the normal work of the entire serial port. This test uses a method of spontaneous data from the receiver, the test process only need to change the configuration address each time, and impose different incentives in the simulation, without hardware changes, to adopt a flexible configuration, to a large extent than in the past Reduce the difficulty of system testing.