摘要:面對國外對我國的芯片技術封鎖,芯片國產化替代已成為我國高新技術發展的必然選擇。在嵌入式軟件領域,國產化龍芯芯片應用較廣。其中應用于安全級產品的2K1000型號的龍芯芯片,采用軟件方式實現浮點數運算。安全級產品要求所有軟件都必須執行確認測試和單元測試。軟件浮點數部分代碼,用于實現芯片體系內置的浮點運算功能。其作為芯片整體功能的一部分,由龍芯公司提供源碼,但未提供相關需求文件和設計文件。在此前提下,本文研究了軟件浮點數可信測試依據方法、測試通過準則判斷方法以及測試執行方法。
關鍵詞:軟件浮點數;龍芯芯片
Abstract: In the face of the blockade of chip technology from abroad, the domestic replacement of chips is the inevitable choice for the development of high and new technology in our country. In the field of embedded software, home-made Godson chip is a widely used choice in the market. Among them, the godson chip of 2K1000 model, which is used in security products, the floating-point operation is realized by software. Security-level products require all software to perform validation tests and unit testing activities. As part of the floating-point code of the software, it is used to realize the floating- point operation function built into the chip system. As part of the overall function of the chip, Godson provides the source code, but does not provide the relevant requirements and design documents. Under this premise, this paper studies the method of finding a reliable test basis for software floating point testing, the judgment method of test passing criterion, and the method of test execution.
Key words: Software floating-point number; Loongson chip
在線預覽:
基于MIPS架構的龍芯芯片中軟件浮點數測試方法的研究.pdf
摘自《自動化博覽》2026年5月刊







案例頻道