Aiming at the problem that the scale of integrated circuits and the number of on-chip registers are increasing, which makes the verification more difficult, a lightweight register model was proposed. Firstly, a concise underlying structure was designed, and parameterized settings were combined to reduce the memory consumption of the register model at runtime. Then the register verification requirements at different levels such as module level and system level were analyzed, and SystemVerilog language was used to implement various functions required for verification. Finally, the built-in test cases and register model automatic generation tools were developed to reduce the setup time of the verification environment in which the register model was located. The experimental results show that the proposed register model is 21.65% of the Universal Verification Methodology (UVM) register model in term of memory consumption at runtime; in term of function, the proposed register model can be applied to traditional UVM verification environments and non-UVM verification environments, and the functions such as read-write property, reset value and backdoor access path of 25 types of registers are checked. This lightweight register model has good universality and flexibility in engineering practice, meets the needs of register verification, and can effectively improve the efficiency of register verification.
潘国腾, 欧国东, 晁张虎, 李梦君. Lite寄存器模型的设计与实现[J]. 计算机应用, 2020, 40(5): 1369-1373.
PAN Guoteng, OU Guodong, CHAO Zhanghu, LI Mengjun. Design and implementation of Lite register model. Journal of Computer Applications, 2020, 40(5): 1369-1373.
1 HENNESSY J L , PATTERSON D A . Computer Architecture: a Quantitative Approach[M].6th ed. San Francisco: Morgan Kaufmann, 2017:12-25.
2 SPEAR C , TUMBUSH G . System Verilog for Verification: a Guide to Learning the Testbench Language Features: 3rd Edition[M]. Berlin: Springer, 2012: 385-414.
3 MINTZ M , EKENDAHL R . A Layered Approach[M]. Boston: Springer, 2007:47-68.
4 FRANCESCONI J , RODRIGUEZ J A , JULIáN P M . UVM based testbench architecture for unit verification[C]// Proceedings of the 2014 Argentine Conference on Micro-Nanoelectronics, Technology and Applications. Piscataway: IEEE, 2014:89-94.
5 MEHTA A B . System Verilog Assertions[M]. New York: Springer, 2014:9-28.
6 MEHTA A B . Functional Verification: Challenges and Solutions[M]. Cham: Springer, 2018:5-12.
7 Accellera . Universal Verification Methodology (UVM) 1.2 class reference[EB/OL].[2019-07-16].https://workspace.accellera.org/downloads/standards/uvm/UVM_Class_Reference_Manual_1.2.pdf.
8 Accellera . Universal Verification Methodology (UVM) 1.2 user’s guide[EB/OL]. [2019-07-16].https://accellera.org/images/downloads/standards/uvm/uvm_users_guide_1.2.pdf.
9 张强 . UVM实战[M]. 北京:机械工业出版社, 2014:1-20. (ZHANG Q. UVM Practice[M]. Beijing: China Machine Press, 2014:1-20.)
10 林玉新 . 基于VMM RAL的寄存器验证方法的研究[D]. 西安:西安电子科技大学, 2011:3-40. (LIN Y X. Research on register verification method based on VMM RAL[D]. Xi’an: Xidian University, 2011:3-40.)
11 IEEE . IEEE standard for IP-XACT, standard structure for packaging, integrating, and reusing IP within tool flows: IEEE Std 1685-2014[S]. Piscataway: IEEE, 2014-09-12.
12 KRUIJTZER W , WOLF P VAN DER , DE KOCK E , et al . Industrial IP integration flows based on IP-XACT standards[C]// Proceedings of the 2008 Conference on Design, Automation and Test in Europe. Piscataway: IEEE, 2008:32-37.
13 SUTHERLAND S . Integrating SystemC models with Verilog and SystemVerilog models using the SystemVerilog Direct Programming Interface (DPI)[EB/OL]. [2019-07-16].http://www.sutherland-hdl.com/papers/2004-SNUG-Europe-presentation_SystemVerilog_DPI_with_SystemC.pdf.
14 MATTHES E . Python编程:从入门到实践[M]. 袁国忠,译. 北京:人民邮电出版社, 2016:2-14. (MATTHES E. Python Crash Course:A Hands-On, Project-Based Introduction to Programming[M]. YUAN G Z, translated. Beijing: Posts and Telecom Press, 2016:2-14.)
15 夏宇闻,韩彬 . Verilog数字系统设计教程[M].4版. 北京:北京航空航天大学出版社, 2017: 1-50. (XIA Y W, HAN B. Verilog Digital System Design Tutorial[M].4th ed. Beijing: Beihang University Press, 2017:1-50.)