A kind of CPLD automatization test system
Technical field
The utility model relates to a kind of test macro, particularly a kind of CPLD automatization test system that CPLD chip logic state in the power amplifier product is carried out automatic test.
Background technology
CPLD (Complex Programmable Logic Device) is a CPLD; It is a kind of user according to needs separately and the digital integrated circuit of constitutive logic function voluntarily; CPLD is applied to the electronic applications of industry-by-industry widely as the dirigibility of logic control owing to its port arrangement.To being used for the CPLD of TD-SCDMA field control power amplifier module, because the continuous increase of its control port, the input and output logic state of the CPLD of design becomes increasingly complex, and needs the logical combination situation of test more and more.When development is tested CPLD in the past; The input logic level of CPLD is set by manual work; Utilize multimeter or oscillograph that the output logic of CPLD is detected judgement; But every kind of logic state quantity of artificial traversal test CPLD is more, manually utilizes the inefficiency and the easy error of multimeter or oscillograph test; Manually the traversal test requires height to the staff, certain understanding must be arranged the system architecture of power amplifier product, but also must be familiar with the definition of each pin; Because test process is loaded down with trivial details, and data recording is various, need multiple person cooperational to accomplish simultaneously.
The utility model content
The purpose of the utility model is: the problem to prior art exists provides a kind of CPLD automatization test system that can alleviate CPLD chip testing workload in the development power amplifier product.
To achieve these goals, the technical scheme of the utility model employing is:
A kind of CPLD automatization test system comprises power supply, and said CPLD automatization test system comprises the CPLD proving installation, the PC of CPLD automatic testing software has been installed, and said CPLD proving installation is connected by Serial Port Line with the PC that the CPLD automatic testing software has been installed.
In the above-mentioned CPLD automatization test system, said CPLD proving installation comprises the MCU master controller, and the MCU master controller is connected with tested CPLD through IO port.
In the above-mentioned CPLD automatization test system, said MCU master controller is realized the output of output signal, the collection of input signal, and with the information interaction of computing machine.
In the above-mentioned CPLD automatization test system, said power supply is a direct supply.
In the above-mentioned CPLD automatization test system, said direct supply is connected with the CPLD proving installation through power lead.
In the above-mentioned CPLD automatization test system, said direct supply is that CPLD proving installation and tested CPLD provide supply voltage.
In the above-mentioned CPLD automatization test system, the CPLD testing software control CPLD proving installation of installing among the said PC is accomplished the CPLD test.
But the port number and the port position of the CPLD Auto-Test System flexible configuration CPLD input and output of the utility model, the CPLD automatic testing software is gathered input/output signal automatically, judges test result automatically.MCU master controller in the CPLD proving installation is gathered the CPLD input/output signal and is input to PC through serial ports; CPLD automatic testing software by among the PC is analyzed the signal that collects; Automatically draw test result, simultaneously relevant test data is write down, preserves.
The beneficial effect of the utility model is: the CPLD automatization test system of the utility model is judged automatically test result to have alleviated workload because the CPLD automatic testing software is gathered input/output signal automatically, has been improved the accuracy of testing efficiency and test; Reduction is to tester's requirement, and new hand also can grasp the CPLD test fast; Shorten test period and practiced thrift manpower.
Description of drawings
Fig. 1 is the structural representation of the utility model.
Fig. 2 carries out the whole process flow diagram of CPLD automatic test for the utility model.
Mark among the figure: 1-has installed the PC of CPLD automatic testing software, 2-CPLD proving installation, 3-MCU master controller, 4-IO port, the tested CPLD of 5-, 6-Serial Port Line, 7-direct supply.
Embodiment
Below in conjunction with accompanying drawing, the utility model is done detailed explanation.
For the purpose, technical scheme and the advantage that make the utility model is clearer,, the utility model is further elaborated below in conjunction with accompanying drawing and embodiment.Should be appreciated that specific embodiment described herein only in order to explanation the utility model, and be not used in qualification the utility model.
Embodiment 1
The CPLD automatization test system of the utility model comprises direct supply 7, CPLD proving installation 2, the PC1 of CPLD automatic testing software has been installed shown in accompanying drawing 1; Said CPLD proving installation 2 is connected by Serial Port Line 6 with the PC1 that the CPLD automatic testing software has been installed; Direct supply 7 is connected with CPLD proving installation 2 through power lead; Said CPLD proving installation 2 comprises MCU master controller 3, and MCU master controller 3 is connected with tested CPLD5 through IO port 4.Whole C PLD automatization test system defines the IO port 4 of tested CPLD5 through the CPLD testing software among the PC; MCU master controller 3 in the CPLD proving installation 2 is gathered the CPLD input/output signal and is input to PC through Serial Port Line 6; CPLD automatic testing software by among the PC is analyzed the signal that collects; Automatically draw test result, simultaneously relevant test data is write down, preserves.The control signal level conversion that CPLD proving installation 2 also is responsible for computing machine is provided becomes MCU master controller 3 employable level signals; MCU master controller 3 is responsible for the outputs of output signals, the collection of input signal, and with the information interaction of computing machine.
The whole testing process of CPLD automatization test system all is to be controlled by the CPLD automatic testing software shown in accompanying drawing 2; Whole testing process is following; The first step: CPLD to be measured powers on; Second step: serial ports is opened at the automatic testing software interface, the 3rd step: define the input and output pin of tested CPLD at the testing software interface, the 4th step: testing software provides input signal through control MCU to CPLD; The 5th step: the output level of CPLD reports PC through serial ports, the 6th step: testing software is with test result record and preservation.
The above is merely the preferred embodiment of the utility model; Not in order to restriction the utility model; Any modification of being done within all spirit and principles at the utility model, be equal to replacement and improvement etc., all should be included within the protection domain of the utility model.