《電子技術(shù)應用》
您所在的位置:首頁 > 通信与网络 > 设计应用 > 基于Cadence CHI和IVD VIP的 多核SoC系统数据一致性验证
基于Cadence CHI和IVD VIP的 多核SoC系统数据一致性验证
2020年电子技术应用第8期
范君健1,晁张虎1,杨庆娜1,刘 琪1,朱 红1,单建旗2
1.天津飞腾信息技术有限公司,天津102209;2 Cadence,广东 深圳518040
摘要: 在多核的SoC系统中,不同的处理器核对内存空间和设备空间进行着大量的数据读写操作,维护Cache一致性面临严峻挑战。集中于控制流方面的验证环境搭建已非常复杂,而包含数据正确性检查的验证由于控制流程复杂、数据量大等问题而更加困难。针对这一问题,基于Cadence公司提供CHI VIP、AXI VIP和IVD VIP,实现多核环境下的系统级数据一致性验证。搭建的验证平台中采用CHI VIP通过笔者开发的CHI协议转换桥发出访存请求,使用AXI VIP收集到达主存的数据,由IVD VIP对CHI端口的请求数据与AXI端口的访存数据进行实时分析比对,实现在较高抽象层次上的激励产生和响应检查。该验证平台能够在子系统级及系统级进行数据一致性验证,具有验证环境搭建快速和功能点覆盖完备的优点。
中圖分類號: TN409
文獻標識碼: A
DOI:10.16157/j.issn.0258-7998.209805
中文引用格式: 范君健,晁張虎,楊慶娜,等. 基于Cadence CHI和IVD VIP的多核SoC系統(tǒng)數(shù)據(jù)一致性驗證[J].電子技術(shù)應用,2020,46(8):72-76.
英文引用格式: Fan Junjian,Chao Zhanghu,Yang Qingna,et al. Multi-core SoC based on Cadence CHI and IVD VIP system data coherence verification[J]. Application of Electronic Technique,2020,46(8):72-76.
Multi-core SoC based on Cadence CHI and IVD VIP system data coherence verification
Fan Junjian1,Chao Zhanghu1,Yang Qingna1,Liu Qi1,Zhu Hong1,Shan Jianqi2
1.Tianjin Phytium Technology Co.,Ltd.,Tianjin 102209,China;2.Cadence,Shenzhen 518040,China
Abstract: In a multi-core SoC system, different processor cores perform a large amount of data read and write operations on memory space and device space. Maintaining cache coherence is facing severe challenges. The verification environment focused on the control flow has been very complicated, and the verification including data correctness check is more difficult due to the complicated control process and large amount of data. In response to this problem, this paper is based on Cadence CHI VIP, AXI VIP and IVD VIP to achieve system-level data coherence verification in a multi-core environment. In this paper, CHI VIP is used to issue a memory access request through the CHI protocol conversion bridge developed by the author, and AXI VIP is used to collect data that arrives in the main memory, real-time analysis and comparison of the request data of the CHI port and the access data of the AXI port by the IVD VIP,to realize stimulus generation and response inspection at a higher level of abstraction. The verification platform can perform data consistency verification at the subsystem level and system level, and has the advantages of rapid verification environment construction and complete coverage of function points.
Key words : cache coherence;subsystem verification;VIP;modular verification

0 引言

    Cache(高速緩沖存儲器)是存在于處理器核與主存之間的存儲器,在多核的處理器系統(tǒng)當中,當多個Cache包含同一塊數(shù)據(jù)時,如果其中任意一個Cache修改了該數(shù)據(jù)塊而沒有通知其他的Cache,就會產(chǎn)生數(shù)據(jù)不一致的情況[1]。Cache一致性就是維護多個Cache數(shù)據(jù)的一致性,Cache一致性協(xié)議是多核處理器系統(tǒng)的核心,因此Cache一致性的驗證是一項非常重要的工作。

    現(xiàn)階段,Cache一致性的驗證一般采用軟件模擬的形式,但隨著協(xié)議復雜性的增加,驗證中需要覆蓋的狀態(tài)與路徑成幾何倍數(shù)增加。同時,訪存數(shù)據(jù)在經(jīng)過片上互聯(lián)網(wǎng)絡寫入主存時要經(jīng)過較長的路徑,需要對流經(jīng)網(wǎng)絡的數(shù)據(jù)正確性進行檢查,驗證環(huán)境的復雜程度越來越高。在驗證環(huán)境搭建與驗證覆蓋率收集方面,驗證人員往往需要投入大量的精力,導致Cache一致性驗證周期耗時較長。




本文詳細內(nèi)容請下載:http://ihrv.cn/resource/share/2000002949




作者信息:

范君健1,晁張虎1,楊慶娜1,劉  琪1,朱  紅1,單建旗2

(1.天津飛騰信息技術(shù)有限公司,天津102209;2 Cadence,廣東 深圳518040)

此內(nèi)容為AET網(wǎng)站原創(chuàng),未經(jīng)授權(quán)禁止轉(zhuǎn)載。