MCU chip function test integrated multiplexing system and method
Connect external circuits through FPGA external pins and develop functional test modules, which solves the connection complexity problem of ATE test machines during the chip tape-out stage, achieves accurate verification and efficient testing of MCU chip functions, and adapts to different MCU chip test boards.
Patent Information
- Application Number
- CN202411089200.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-09
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2044-08-09
AI Technical Summary
It is difficult for existing ATE testing machines to fully demonstrate their advantages during the chip tape-out stage. Especially when the chip under test has many port designs, the matrix switch connection problem is complex and bulky, making it difficult to be portable and affecting test efficiency.
Connect external circuits through FPGA external pins, develop functional test modules, and use system module control register groups and interface multiplexing interconnection modules to achieve precise connection and multiplexing interconnection of chip pins, simplify the test process, and improve test efficiency.
It achieves accurate verification of MCU chip functions, simplifies the test process, improves test efficiency, reduces development costs, enhances the flexibility and scalability of the system, and adapts to different MCU chip test boards.
Smart Images

Figure CN118625111B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of chip testing, and in particular to an integrated multiplexing system and method for MCU chip functional testing. Background Art
[0002] In the context of the rapid development of the current chip industry, the speed of chip type replacement is accelerating. In order to ensure that each chip is successfully launched and mass-produced, it is crucial to conduct detailed functional and performance tests on the chips at the tape-out stage. There are currently a variety of mature ATE test products on the market, which have played a significant role in batch testing of chips. However, for newly designed chips, only a small number of samples need to be functionally verified and performance indicators tested at the tape-out stage to identify potential defects. In this link, ATE testers often find it difficult to fully demonstrate their advantages.
[0003] In view of the above situation, the invention with application number CN202311790081.5 proposes an innovative automatic testing method, which uses a matrix switch to control the connection of the signal lines of the unit under test. The matrix switch plays a vital role in the ATE tester, but its large size poses a challenge to the construction of a portable test system platform. In addition, the control method of the matrix switch is relatively complex, and the control procedure is relatively cumbersome. Especially when there are many ports designed for the chip under test, the connection problem of the matrix switch becomes more and more prominent.
[0004] Therefore, this paper proposes a new solution that can replace the ATE test machine for functional verification in the chip tape-out stage. This solution controls the system through the main control chip to connect the chip pins to the signal lines of the corresponding functional test, thereby achieving accurate verification of the chip function. This solution helps to simplify the test process, improve test efficiency, and provide a more convenient and efficient solution for functional verification in the chip development process. Summary of the invention
[0005] In view of the deficiencies in the prior art, the present invention discloses an integrated multiplexing system and method for MCU chip functional testing, which uses a commonly used communication protocol to control the system, connects external circuits through external pins of FPGA, or develops functional test modules on FPGA, so as to realize internal multiplexing and interconnection of external circuits through FPGA.
[0006] The present invention is achieved through the following technical solutions:
[0007] In a first aspect, the present invention provides an MCU chip function test integrated multiplexing system, comprising:
[0008] Register groups, including system module control register group, multiplexing interconnection module control register group, expansion module control register group, and interface direction control register group, used to control the actions of corresponding submodules or the connection of lines;
[0009] An interface multiplexing interconnection module integrates the interconnection interface module and implements multiplexing interconnection control between the interfaces in the interface module according to the value of the register group;
[0010] A control module, which writes data to the system module control register group according to instructions through the system control logic unit, and controls the logic output of the sub-unit control module by means of the system module control register group combination;
[0011] The sub-unit control module receives control signals from the control module and the system module control register group, generates control signals for the connected sub-unit register group, and further controls the actions of the sub-modules corresponding to the register group or the connection of the circuits.
[0012] Furthermore, the system module control register group is responsible for synchronously managing the interface multiplexing interconnection module, the multiplexing interconnection module control unit, the expansion module control unit and the data return module, and its control authority is limited to the system control logic unit to ensure the rigor and authority of the control.
[0013] Furthermore, the subunit control module includes two major components: a multiplexing interconnection module control unit and an expansion module control unit. The multiplexing interconnection module control unit relies on the signals transmitted by the system control logic unit and the system module control register group to accurately control the multiplexing interconnection module control register group and the interface direction control register group to ensure their normal operation;
[0014] At the same time, the expansion module control unit manages and controls the expansion module control register group in a refined manner according to the signals sent by the system control logic unit and the system module control register group to ensure the stable operation and efficient collaboration of the entire system.
[0015] Furthermore, the interface module includes a communication interface, a main control chip interface, an external expansion interface, a chip under test interface and an internal expansion interface. Specifically:
[0016] The main control chip interface, external expansion interface and chip under test interface all belong to the category of external interfaces. They are all connected to the pins of the FPGA, thereby realizing the effective connection between the external main control chip, expansion circuit and chip under test and the integrated multiplexing system.
[0017] The internal interface is used to quickly access the developed expansion modules to ensure the flexibility and scalability of the system.
[0018] In addition, the communication interface is also connected to the pins of the FPGA and internally connected to the information processing module to ensure the reliability and efficiency of data transmission.
[0019] Furthermore, the information processing module is responsible for receiving, sending and processing the received information. It is closely connected with the communication interface, the system control logic unit and the data return module. When receiving information, the information processing module will decode it and transmit the decoded information to the system control logic unit for further processing. For the information that needs to be sent, the information processing module will receive the relevant information from the data return module, encode it, and then send the encoded information to the external device or system. This module plays a key bridge role in the entire information interaction process, ensuring the accurate transmission and efficient processing of information.
[0020] Furthermore, the integrated multiplexing system also includes a system communication module, which is effectively connected to the information processing module. The system communication module is responsible for receiving data from the outside and storing it in the information processing module to ensure the integrity and accuracy of the data. At the same time, the system communication module can also read the data to be sent from the information processing module to meet the needs of internal and external communication of the system and realize smooth transmission and sharing of data.
[0021] Furthermore, after receiving the complete 16-bit external data, the system communication module will send a receive completion signal, and then the data will be transmitted on the data bit of the IN BUS. Once the ready-to-send signal is received, the communication module will read the data from the data bit of the OUT BUS and load it into the transmit data shift register, and then send the data to the external device.
[0022] Furthermore, the integrated multiplexing system also includes a data return module, which accurately obtains corresponding data from the register group according to the received instructions and transmits it to the information processing module to achieve the consistency and accuracy of data processing.
[0023] Furthermore, the integrated multiplexing system also includes an internal expansion module. This internal expansion module is intended to develop a corresponding functional test stimulus generation module in a targeted manner according to actual needs. This module is closely connected with the interface multiplexing interconnection module through the internal expansion interface, thereby ensuring comprehensive coverage and efficient operation of system functions.
[0024] In a second aspect, the present invention provides an MCU chip functional test integrated multiplexing method, the method using the MCU chip functional test integrated multiplexing system described in the first aspect, comprising the following steps:
[0025] S1: Detect and receive external information, then start the process to decode the received signal and output the decoded data;
[0026] S2: Determine the decoded data. If it is determined to be valid data, proceed to the next step S3; if it is determined to be invalid data, record the error code in the sending buffer of the information processing module, and return to step S1 for re-execution;
[0027] S3: further determine whether the decoded data contains control state information. If no control state exists, directly proceed to step S4; if the control state exists, determine whether the register complies with the established rules. If it complies with the rules, write the corresponding data according to the register address and proceed to step S5; if it does not comply with the rules, transmit the failure code to the information processing module and return to step S1 to execute again;
[0028] S4: Determine whether the decoded data is a register query instruction. If it is not, store the current control state and related data. If it is yes, determine whether the register complies with the established rules. If it complies with the rules, proceed to step S5. If it does not comply with the rules, transmit the failure code to the information processing module and return to step S1 for re-execution.
[0029] S5: The register data is transmitted to the information processing module through the data return module, and the data sending process is started.
[0030] The beneficial effects of the present invention are:
[0031] The invention is exquisitely designed, and only one FPGA chip is needed to build a complete system architecture. It has excellent portability and can be easily adapted to different MCU chip test boards to achieve rapid porting. In terms of development, Verilog language is used for development, and there is no need to modify the external circuit in a complicated way, which improves development efficiency.
[0032] In addition, the present invention reserves a rich expansion interface, and users can design new expansion modules according to their needs and quickly access the system through the interface to enhance the system's scalability and flexibility. It is easy to use, does not require a specific operating environment, can accept external master control, and simplifies the test process.
[0033] The present invention can also return internal control information, observe the written control information in real time, verify accuracy, and ensure test reliability. In terms of application, it simplifies the drawing process of the chip test board for the wafer, optimizes the line connection of different test items, and reduces tedious and repetitive work. It standardizes the test procedures of the chip under test and reduces development costs.
[0034] At the same time, the present invention greatly facilitates the development of coverage test programs for the chip under test. Through expansion, the communication module can be quickly tested, test signals can be given, and the digital functions of the chip under test can be comprehensively and quickly tested. It is convenient to test peripheral expansion, realize visual display of test results, and improve the intuitiveness and convenience of testing. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0036] Figure 1 It is a principle block diagram of an integrated multiplexing system for functional testing of MCU chips;
[0037] Figure 2 It is a flow chart of an integrated multiplexing method for functional testing of MCU chips;
[0038] Figure 3 It is a multiplexing system control function of an embodiment of the present invention, and executes a flow chart according to the decoded information;
[0039] Figure 4 It is the interface direction control function of the embodiment of the present invention, and the functional principle diagram of this function is executed according to the decoded information;
[0040] Figure 5 It is a register bank control function of an embodiment of the present invention, and executes a flow chart according to the decoded information;
[0041] Figure 6 This is the function of the embodiment of the present invention to read the corresponding register value according to the instruction and address, and execute the flow chart according to the decoded information. DETAILED DESCRIPTION
[0042] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0043] In one embodiment, referring to Figure 1, this embodiment proposes an MCU chip functional test integrated multiplexing system based on FPGA, which has wide applicability and can be compatible with and test many different types of chips under test. This system achieves precise control of the system by using standardized communication protocols. In practical applications, this system can be connected to external circuits through external pins of FPGA, or targeted functional test modules can be developed on FPGA, so as to ensure that external circuits can reuse and interconnect internal resources through FPGA.
[0044] In this embodiment, the system communication module is mainly responsible for the control function of the system and the reading operation of the register. In order to achieve efficient and stable communication, the communication module supports multiple serial communication protocols, including but not limited to SPI, I2C and SCI. The communication module is closely connected with the information processing module to ensure that the data received from the outside can be accurately stored in the information processing module, and the data to be sent inside the system can also be accurately read from the information processing module. Once the complete 16-bit data is received from the outside, the communication module will immediately send a reception completion signal and ensure that the data is reliably transmitted on the data bit of the IN BUS. When the ready-to-send signal is received, the communication module quickly reads the data from the data bit of the OUT BUS and loads it into the send data shift register, and then accurately sends the data to the external device.
[0045] In addition, the information processing module in this embodiment plays a vital role and is responsible for the reception, transmission and processing of received information. This module works closely with the communication interface, the system control logic unit and the data return module to jointly build an efficient and stable information processing system. After decoding, the received information will be passed to the system control logic unit for further processing; and the information to be sent will first be transmitted from the data return module, and then sent to the outside by the communication module after encoding. This design ensures the accurate transmission and efficient processing of information, providing a strong guarantee for the stable operation of the system.
[0046] In this embodiment, the system control module, namely the system control logic unit and the system module control register group, is responsible for writing corresponding data into the system module control register group according to the received instructions and data. Subsequently, the system module control register group precisely regulates the logic output of the multiplexing interconnection module control unit and the expansion module control unit by means of combined control.
[0047] Specifically, the subunit control module is composed of a multiplexing interconnection module control unit and an extension module control unit. This module can receive control signals from the system control module and the system module control register group, and generate control signals for the connected subunit register group accordingly. Among them, the multiplexing interconnection module control unit realizes precise control of the multiplexing interconnection module control register group and the interface direction control register group according to the signals of the system control logic unit and the system module control register group. The extension module control unit effectively controls the extension module control register group according to the signals of the system control logic unit and the system module control register group.
[0048] In addition, the present embodiment also relates to an interface multiplexing interconnection module, which is interconnected with the main control chip interface, the external expansion interface, the chip under test interface and the internal expansion interface. According to the setting value of the multiplexing interconnection module control register group, the module can realize the interconnection control of the above interfaces. The interface interconnection module is composed of a series of 16-channel multiplexing units and IOBUFFs, in which the multiplexing units are responsible for realizing the multiplexing interconnection function of the signal line, and the IOBUFF is responsible for realizing the direction selection control function.
[0049] In this embodiment, the register group is subdivided into a system module control register group, a multiplexing interconnection module control register group, an extension module control register group, and an interface direction control register group, and its main function is to accurately control the behavior of the corresponding submodules and the connection mode of the lines. Among them, the system module control register group plays a core role. It not only comprehensively controls the interface multiplexing interconnection module, the multiplexing interconnection module control unit, the extension module control unit, and the data return module, but also only accepts instructions from the system control logic unit. The other register groups are respectively controlled by their respective module control units.
[0050] At the same time, the interface module in this embodiment designs a complete set of interface systems, including communication interface, main control chip interface, external expansion interface, tested chip interface and internal expansion interface, which together constitute a bridge between the signal line and the system. The main control chip interface, external expansion interface and tested chip interface are directly connected to the pins of FPGA as external interfaces, realizing the seamless connection between the external main control chip, expansion circuit and tested chip and the system. The internal expansion interface, as an internal interface, provides a convenient access path for the developed expansion module. In addition, the communication interface is also connected to the pins of FPGA and is internally connected to the information processing module. It supports a variety of commonly used communication protocols and provides strong support for the information interaction between the system and the outside.
[0051] In addition, as a key link in data transmission, the data return module is responsible for reading data from the register group. In this embodiment, the register group includes a system module control register group, a multiplexing connection module control register group, an expansion module control register group, and an interface direction control register group. The data return module reads the corresponding data from these register groups according to the received instructions and transmits it to the information processing module for further processing.
[0052] Finally, in order to meet different test requirements, this embodiment also designs a functional test stimulus generation module, which is connected to the interface multiplexing interconnection module through an internal expansion interface, and generates corresponding test stimuli according to actual requirements, thereby achieving comprehensive testing of the object under test.
[0053] The core of this embodiment lies in the interconnection design inside the FPGA port, which enables the system to flexibly realize the interconnection and reuse of external interfaces. In this way, the port of the chip under test can be effectively connected to the signal detection port or the excitation signal port, thereby meeting the needs of chip testing. In addition, the system is also highly scalable. Through the extended design, the test function of the external main control chip or the external expansion module can be realized on the system, even if these external modules cannot directly test the chip under test.
[0054] In one embodiment, referring to Figure 2 As shown, this embodiment provides an MCU chip function test integrated multiplexing method, the method uses the MCU chip function test integrated multiplexing system described in the first aspect, and includes the following steps:
[0055] S1: Detect and receive external information, then start the process to decode the received signal and output the decoded data;
[0056] S2: Determine the decoded data. If it is determined to be valid data, proceed to the next step S3; if it is determined to be invalid data, record the error code in the sending buffer of the information processing module, and return to step S1 for re-execution;
[0057] S3: further determine whether the decoded data contains control state information. If no control state exists, directly proceed to step S4; if the control state exists, determine whether the register complies with the established rules. If it complies with the rules, write the corresponding data according to the register address and proceed to step S5; if it does not comply with the rules, transmit the failure code to the information processing module and return to step S1 to execute again;
[0058] S4: Determine whether the decoded data is a register query instruction. If it is not, store the current control state and related data. If it is yes, determine whether the register complies with the established rules. If it complies with the rules, proceed to step S5. If it does not comply with the rules, transmit the failure code to the information processing module and return to step S1 for re-execution.
[0059] S5: The register data is transmitted to the information processing module through the data return module, and the data sending process is started.
[0060] This embodiment relies on the FPGA platform and takes the interface multiplexing interconnection technology as the core to realize the pin configuration interconnection multiplexing function. In the specific implementation process, first build a communication interface to ensure stable communication with the main control chip; then build an information processing module to decode the received information or encode the information to be returned; then build a system control logic unit to implement data write / read operations on the control register or accurately control the control unit according to the decoded instructions; finally, build a data return module to filter and package the data to be returned according to the received instructions, and realize seamless connection between the pin and the system by building the corresponding interface.
[0061] Through the above steps, this embodiment successfully implements a comprehensive solution that has the ability to receive control instructions, flexibly adjust the multiplexing connection of interface signal lines according to the instructions, and return the corresponding control register value.
[0062] In one embodiment, referring to Figure 3 As shown, this function is designed as a multiplexed system control function that relies on the decoded information to perform specific operations.
[0063] When the information processing module receives the decoded information, it will be classified into instructions, addresses and data. Then, the system will judge these addresses one by one. If the address does not point to the multiplexed connection module register, the system will return directly without performing further operations.
[0064] However, if the received address is indeed the address of the multiplexing module register, the system control unit will initiate a series of write operations specifically for the multiplexing module control register. As the content of the multiplexing module control register is modified, the circuit connections inside the multiplexing module will also change accordingly.
[0065] After all operations are completed, the system will send the modified register values to the external device through the communication interface to ensure real-time update and synchronization of information.
[0066] In one embodiment, referring to Figure 4As shown, this function is the interface direction control function, which performs specific operations based on the decoded information. Specifically, the information processing module receives the decoded information and subdivides it into instructions, addresses, and data. Subsequently, the system makes detailed judgments on these addresses. If the address matches the interface direction register, it returns directly;
[0067] If the address is indeed the interface direction register address, the system control unit and the multiplexing interconnection module control unit will work together to perform a write operation on the interface direction control register. This operation will cause the corresponding interface direction in the register to change according to the preset configuration value.
[0068] When the entire operation process is successfully completed, the system will accurately send the modified register value to the external device through the communication interface to ensure real-time update and synchronization of information.
[0069] In one embodiment, if Figure 5 As shown, this function is a register group control function, and its execution is based on the decoded information. After receiving the decoded information, the information processing module decomposes it into instructions, addresses and data.
[0070] Then, the address is checked. If the address does not exist, the error code is written into the sending buffer of the information processing module. If the address is valid, the operation mode is further determined. If the operation mode is a read operation, the register data is written into the data return module and the send return process is executed.
[0071] If the operation mode is a write operation, the system control module issues corresponding operation instructions to the sub-control unit, and the sub-control unit performs a write operation on the corresponding register. After the write operation is completed, the register value is written into the send buffer of the data processing module, and the send data operation is performed, and then the receiving process is returned.
[0072] In one embodiment, referring to Figure 6 As shown in the figure, this function is to read the value of the corresponding register according to the instruction and address information. The implementation of this function depends on the decoded information.
[0073] When the information processing module receives the decoded information, it will subdivide it into three components: instruction, address and data. Then, the address is verified. If the address does not exist, an error code is written into the sending buffer of the information processing module;
[0074] If the address verification passes, the system will read the register value of the corresponding address and write the reading result to the send buffer of the information return module.
[0075] After completing the data sending, the system will enter the information receiving process.
[0076] In an implementation case, for the ATE test board of AVP32F0049, we used the FPGA chip model XC6S_LX16-2FTG256C to carry the system. The communication interface protocol of the system was selected as SPI. The overall RTL structure consists of four core modules, namely the register group module, the multiplexing interconnection module, the control unit and the clock division module. Among them, the clock division module is generated by the FPGA development tool.
[0077] The register group module (register_group) is connected to the control unit (net_control) and the multiplexing interconnection module (net_io_connector). The control unit is connected to the external communication interface, namely the SPI bus. The multiplexing interconnection module is connected to the external FPGA pins. The specific pin connection depends on the configuration of the corresponding port on the circuit board, and all external pins are connected through the FPGA development tool to achieve precise docking with the chip pins.
[0078] The interface between the entire system and the external connection in this embodiment can be divided into three main parts: communication interface, system interface and peripheral test interface. Among them, the communication interface adopts SPI communication protocol bus, including mosi, miso, sclk, ste_n and other signal lines; the system interface includes clock, system enable, system reset and clock division lock state signal lines, namely clk, en, rst_n, clk_locked; the peripheral test interface covers the external circuit interface, the main control chip interface and the chip under test interface, which are specifically manifested as ext_io, mcr_io, uut_io and other signal lines.
[0079] In this embodiment, the connection module realizes the multiplexing function through multiple multiplexers. Among them, one column of ports is specifically used for signal connection with the control register, and the other column of ports is used as an external interface port, especially the tdm_io port, which is used as an interface of the expansion module. The connection module is closely connected to the register group, and the multiplexing interconnection operation inside it is completely controlled by the register group. According to the configuration of the register group, the module can flexibly realize the multiplexing connection of the right column of ports internally.
[0080] In terms of register groups, this embodiment adopts multiple single registers. Its ports are clearly divided into two groups, one for module control, including address signal line (addr), register block signal line (block), data write signal line (data_w), clock signal line (clk), system enable signal line (en), return data load signal line (load), read / write mode signal line (mode), system reset signal line (rst_n), receive data signal line (data_r) and read data completion signal line (read_finish). The other group is used for register control, including external multiplexing selection control register signal line (ext_sel_register), interface direction control register signal line (io_dir_register), main control chip multiplexing control register signal line (mcr_sel_register), extension module interface multiplexing control register signal line (tdm_sel_register) and tested chip multiplexing control register signal line (uut_sel_register).
[0081] In addition, the control unit in this embodiment is connected to the communication interface externally and directly connected to the control unit internally. It integrates an information processing module and a data return module, can send a signal to the control unit after receiving the data, and pass the received data to the control unit. The control unit writes the data_w data into the send buffer by generating a load signal, and sends the data to the external device according to the sclk signal.
[0082] In summary, the present invention is exquisitely designed, and only one FPGA chip is needed to build a complete system architecture. It has excellent portability and can be easily adapted to different MCU chip test boards to achieve rapid porting. In terms of development, Verilog language is used for development, and there is no need to modify the external circuit in a complicated way, which improves development efficiency.
[0083] In addition, the present invention reserves a rich expansion interface, and users can design new expansion modules according to their needs and quickly access the system through the interface to enhance the system's scalability and flexibility. It is easy to use, does not require a specific operating environment, can accept external master control, and simplifies the test process.
[0084] The present invention can also return internal control information, observe the written control information in real time, verify accuracy, and ensure test reliability. In terms of application, it simplifies the drawing process of the chip test board for the wafer, optimizes the line connection of different test items, and reduces tedious and repetitive work. It standardizes the test procedures of the chip under test and reduces development costs.
[0085] At the same time, the present invention greatly facilitates the development of coverage test programs for the chip under test. Through expansion, the communication module can be quickly tested, test signals can be given, and the digital functions of the chip under test can be comprehensively and quickly tested. It is convenient to test peripheral expansion, realize visual display of test results, and improve the intuitiveness and convenience of testing.
[0086] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. An integrated multiplexing system for MCU chip function testing, developed based on FPGA, characterized in that: include: Register groups, including system module control register group, multiplexing interconnection module control register group, expansion module control register group, and interface direction control register group, used to control the actions of corresponding submodules or the connection of lines; An interface multiplexing interconnection module integrates the interconnection interface module and implements multiplexing interconnection control between the interfaces in the interface module according to the value of the register group; A control module, which writes data to the system module control register group according to instructions through the system control logic unit, and controls the logic output of the sub-unit control module by means of the system module control register group combination; The sub-unit control module receives control signals from the control module and the system module control register group, generates control signals for the connected sub-unit register group, and further controls the actions of the sub-modules corresponding to the register group or the connection of the circuits.
2. The MCU chip function test integrated multiplexing system according to claim 1, characterized in that: The system module control register group controls the interface multiplexing interconnection module, the multiplexing interconnection module control unit, the expansion module control unit, and the data return module at the same time, and is only controlled by the system control logic unit.
3. The MCU chip function test integrated multiplexing system according to claim 1, characterized in that: The subunit control module includes a multiplexing interconnection module control unit and an expansion module control unit, wherein the multiplexing interconnection module control unit controls the multiplexing interconnection module control register group and the interface direction control register group according to signals from the system control logic unit and the system module control register group; The expansion module control unit controls the expansion module control register group according to signals from the system control logic unit and the system module control register group.
4. The MCU chip function test integrated multiplexing system according to claim 1, characterized in that: The interface module includes a communication interface, a main control chip interface, an external expansion interface, a chip under test interface and an internal expansion interface; wherein, The main control chip interface, external expansion interface, and chip under test interface are external interfaces, which are connected to the pins of the FPGA to realize the connection between the external main control chip, the expansion circuit, the chip under test and the integrated multiplexing system; The internal interface is used to quickly connect the developed extension module to the system; The communication interface is connected to the pins of the FPGA and is internally connected to the information processing module.
5. The MCU chip function test integrated multiplexing system according to claim 4 is characterized in that: The information processing module is used for receiving, sending and processing information. It is connected to the communication interface, system control logic unit and data return module. The received information is decoded and input to the system control logic unit for processing. The information to be sent is input from the data return module for encoding and then sent to the outside.
6. The MCU chip function test integrated multiplexing system according to claim 1, characterized in that: The integrated multiplexing system further comprises a system communication module, which is connected to the information processing module. The data received from the outside is stored in the information processing module, and the data to be sent is read from the information processing module.
7. The MCU chip function test integrated multiplexing system according to claim 6, characterized in that: After receiving 16 bits of complete data from the outside, the system communication module sends a reception completion signal, and the data will be transmitted on the data bit of the IN BUS; when receiving a ready to send signal, it will read data from the data bit of the OUT BUS to the send data shift register and send the data to the outside.
8. The MCU chip function test integrated multiplexing system according to claim 1, characterized in that: The integrated multiplexing system further comprises a data return module, which reads corresponding data from the register group according to the received instruction and transmits it to the information processing module.
9. The MCU chip function test integrated multiplexing system according to claim 1, characterized in that: The integrated multiplexing system also includes an internal expansion module, wherein the internal expansion module develops a corresponding functional test stimulus generation module according to needs and is connected to the interface multiplexing interconnection module via an internal expansion interface.
10. A method for integrated multiplexing of MCU chip functional testing, the method using the MCU chip functional testing integrated multiplexing system according to any one of claims 1 to 9, characterized in that: The following steps are involved: S1: Detect and receive external information, then start the process to decode the received signal and output the decoded data; S2: Determine the decoded data. If it is determined to be valid data, proceed to the next step S3; if it is determined to be invalid data, record the error code in the sending buffer of the information processing module, and return to step S1 for re-execution; S3: further determine whether the decoded data contains control state information. If no control state exists, directly proceed to step S4; if the control state exists, determine whether the register complies with the established rules. If it complies with the rules, write the corresponding data according to the register address and proceed to step S5; if it does not comply with the rules, transmit the failure code to the information processing module and return to step S1 to execute again; S4: judging whether the decoded data is a register query instruction, if it is not, storing the current control state and related data; If the determination is yes, then determine whether the register complies with the established rules. If it complies with the rules, proceed to step S5; if it does not comply with the rules, transmit the failure code to the information processing module, and return to step S1 for re-execution; S5: The register data is transmitted to the information processing module through the data return module, and the data sending process is started.
Citation Information
Patent Citations
Automatic test method and device based on matrix switch
CN117783848A
Multiplex JTAG (Joint Test Action Group) interface-based FPGA (Field Programmable Gate Array) on-chip logic analyzer system and method
CN102541707A
Fast reconfigurable MCU simulation method
CN105022869A
