作者:北京廣利核系統(tǒng)工程有限公司 董玲玲,許先音,李夢林
摘要:基于FPGA開發(fā)的核電數(shù)字化儀控系統(tǒng)(DCS)應(yīng)用環(huán)境苛刻,功能性的故障可能引起誤操作,進(jìn)而引發(fā)災(zāi)難性的后果,因此對FPGA開發(fā)的軟件功能的測試尤為重要。傳統(tǒng)的界面仿真測試驗(yàn)證效率低、可重用性差,而采用驗(yàn)證方法學(xué)的驗(yàn)證平臺的搭建又較為繁瑣,用時較多,不能滿足項(xiàng)目時間的要求。本文提出一種基于System Verilog 搭建的可重用的驗(yàn)證平臺,采用虛擬端口方法模擬外部芯片接口的功能,最后采用批處理的方式開啟驗(yàn)證平臺,實(shí)現(xiàn)自動化的仿真測試,其接口模型、算法庫及驗(yàn)證平臺自啟動的框架可在不同的項(xiàng)目測試
中使用,實(shí)現(xiàn)可重用性。該平臺已在公司的核電站儀控系統(tǒng)產(chǎn)品的驗(yàn)證中得到成功應(yīng)用,縮短了測試時間,并滿足安全級產(chǎn)品認(rèn)證的要求。
關(guān)鍵詞:驗(yàn)證平臺;System Verilog;重用性;仿真驗(yàn)證
Abstract: The application environment of the nuclear power digital instrument control system (DCS) developed by FPGA is harsh. Functional failure may cause misoperation,which may lead to disastrous consequences. Therefore it is particularly important to perform functional tests of the software developed by FPGA. The traditional interface simulation test verification efficiency is low and the reusability is poor, while the methodology-based verification platform is a bit complicated and takes a lot of time, which cannot meet the requirements of project time. In this paper, a reusable verification platform based on System Verilog is proposed. By using the method of virtual port to simulate the function of external chip, the verification platform is opened by batch processing to realize automatic simulation test. The verification platform can be used in different project tests to realize reusability. The platform has been successfully applied in the verification of the company's nuclear power plant control system products, which shortens the test time and meets the requirements of safety level product certification.
Key words: Testbench; System Verilog; Reusable; Simulation verification
在線預(yù)覽:一種可重用的驗(yàn)證平臺在核電FPGA仿真測試中的應(yīng)用
摘自《自動化博覽》2019年12月刊