CN105069227A - Method for building function verification platform based on WISHBONE bus design - Google Patents

Method for building function verification platform based on WISHBONE bus design Download PDF

Info

Publication number
CN105069227A
CN105069227A CN201510482827.5A CN201510482827A CN105069227A CN 105069227 A CN105069227 A CN 105069227A CN 201510482827 A CN201510482827 A CN 201510482827A CN 105069227 A CN105069227 A CN 105069227A
Authority
CN
China
Prior art keywords
design
wishbone bus
verification platform
script
verification
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510482827.5A
Other languages
Chinese (zh)
Inventor
赵鑫鑫
姜凯
李朋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inspur Group Co Ltd
Original Assignee
Inspur Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inspur Group Co Ltd filed Critical Inspur Group Co Ltd
Priority to CN201510482827.5A priority Critical patent/CN105069227A/en
Publication of CN105069227A publication Critical patent/CN105069227A/en
Pending legal-status Critical Current

Links

Landscapes

  • Design And Manufacture Of Integrated Circuits (AREA)

Abstract

本发明涉及集成电路设计验证技术领域,尤其是涉及基于Wishbone总线设计的内部寄存器和RAM模块的验证方法和验证平台设计,具体是涉及一种基于WISHBONE总线设计的功能验证平台的搭建方法。本方法首先根据被测设计内部寄存器和ram模块的参数建立寄存器信息文档;然后,设计自动脚本,用该自动脚本根据寄存器信息文档生成测试向量,若相关寄存器有特殊的数据处理过程,在测试向量中进行相应的调整;然后,设计验证平台的输出信息控制脚本和验证平台的运行脚本;最后,调试运行测试向量,完成验证过程。通过该方法搭建的验证平台可以完成基于Wishbone总线的设计中的寄存器和ram模块的测试,具有开发周期短、通用性强和自动化程度高的特点,可以大幅度提高芯片验证效率。

The present invention relates to the technical field of integrated circuit design verification, in particular to a verification method and verification platform design for internal registers and RAM modules based on Wishbone bus design, and in particular to a method for building a function verification platform based on WISHBONE bus design. This method first establishes the register information file according to the parameters of the internal register and ram module under test; then, an automatic script is designed, and the test vector is generated according to the register information file with the automatic script. If the relevant register has a special data processing process, the test vector Then, design the output information control script of the verification platform and the operation script of the verification platform; finally, debug and run the test vector to complete the verification process. The verification platform built by this method can complete the test of the register and ram module in the design based on the Wishbone bus. It has the characteristics of short development cycle, strong versatility and high degree of automation, and can greatly improve the efficiency of chip verification.

Description

一种基于WISHBONE总线设计的功能验证平台的搭建方法A method of building a functional verification platform based on WISHBONE bus design

技术领域 technical field

本发明专利涉及集成电路设计验证技术领域,尤其是涉及基于Wishbone总线设计的内部寄存器和RAM模块的验证方法和验证平台设计,具体是涉及一种基于WISHBONE总线设计的功能验证平台的搭建方法。 The patent of the present invention relates to the technical field of integrated circuit design verification, especially relates to the verification method and verification platform design of internal registers and RAM modules based on the Wishbone bus design, and specifically relates to a method of building a functional verification platform based on the WISHBONE bus design.

背景技术 Background technique

目前,集成电路制造技术迅速进步,同时市场对高集成度产品的需求不断增长,导致集成电路的复杂度呈指数增加。随着集成电路复杂度的增加,验证难度以更高的速度增加。因此,提高验证工作的实现能力,已经成为大规模集成电路开发的重点和难点。 At present, the rapid progress of integrated circuit manufacturing technology and the increasing market demand for highly integrated products have led to an exponential increase in the complexity of integrated circuits. As the complexity of integrated circuits increases, the difficulty of verification increases at a higher rate. Therefore, improving the realization ability of the verification work has become the focus and difficulty of the development of large-scale integrated circuits.

另一方面,因为Wishbone总线的公开、易用等优点,基于Wishbone总线的设计非常多,而为每一个基于Wishbone总线的设计都需要开发一个验证平台用来对设计内部的寄存器和ram模块进行仿真测试。 On the other hand, because of the openness and ease of use of the Wishbone bus, there are many designs based on the Wishbone bus. For each design based on the Wishbone bus, a verification platform needs to be developed to simulate the internal registers and ram modules of the design. test.

目前,针对集成电路的验证平台,多存在着验证流程复杂,实施不便,验证过程不够稳定,验证效率低的不足之处。 At present, most of the verification platforms for integrated circuits have the disadvantages of complex verification process, inconvenient implementation, unstable verification process, and low verification efficiency.

发明内容 Contents of the invention

为了解决现有技术的问题,本发明提供了一种基于WISHBONE总线设计的功能验证平台的搭建方法,其使用自动化脚本根据内部寄存器和RAM模块信息文档、芯片初始化控制文档自动化完成测试向量生成和运行,该方法实施方便,流程简单,高效稳定,可以大幅缩短为不同的基于Wishbone总线的设计搭建功能验证平台的开发周期,提高功能验证效率。 In order to solve the problems of the prior art, the present invention provides a method for building a functional verification platform based on the WISHBONE bus design, which uses automated scripts to automatically complete the generation and operation of test vectors according to internal registers and RAM module information files, chip initialization control files , the method is easy to implement, has a simple process, is efficient and stable, can greatly shorten the development cycle of building a functional verification platform for different designs based on the Wishbone bus, and improves the efficiency of functional verification.

本发明所采用的技术方案如下: The technical scheme adopted in the present invention is as follows:

一种基于WISHBONE总线设计的功能验证平台的搭建方法,包括: A method for building a functional verification platform based on WISHBONE bus design, including:

针对当前被测设计的内部寄存器和RAM模块信息文档以及芯片初始化控制文档,使用多种自动化脚本完成验证测试向量的生成、运行和控制; For the internal register and RAM module information documents and chip initialization control documents of the current design under test, use a variety of automated scripts to complete the generation, operation and control of verification test vectors;

其中,所述内部寄存器和RAM模块信息文档根据基于Wishbone总线的设计完成编写;所述的芯片初始化控制文档根据基于Wishbone总线的设计的初始化工作流程完成编写;所述的各自动化脚本包含测试向量生成脚本、输出信息控制脚本和运行脚本。 Wherein, the internal register and RAM module information documents are written according to the design based on the Wishbone bus; the chip initialization control document is written according to the initialization workflow based on the Wishbone bus design; each of the automated scripts includes test vector generation Scripts, Output Information Control Scripts, and Run Scripts.

内部寄存器和RAM模块通过使用Wishbone总线进行访问。 Internal registers and RAM blocks are accessed using the Wishbone bus.

信息文档包含内部寄存器和RAM模块的地址、数据宽度、深度、读写特征、读写命令延迟以及读写相关顺序信息。 The information file contains the address, data width, depth, read and write characteristics, read and write command delay, and read and write related sequence information of internal registers and RAM modules.

自动化脚本使用perl或tcl或c-shell脚本语言编写。 Automation scripts are written in perl or tcl or c-shell scripting language.

测试向量生成脚本通过读取内部寄存器和RAM模块信息文档生成针对各寄存器和RAM模块的特定的测试向量。 The test vector generation script generates specific test vectors for each register and RAM module by reading the internal register and RAM module information files.

输出信息控制脚本通过预留控制端口,方便在测试过程中根据实际需要进行输出信息的分类控制。 The output information control script reserves the control port to facilitate the classification control of the output information during the test process according to the actual needs.

运行脚本根据芯片初始化控制文档自动生成针对基于Wishbone总线的设计的初始环境配置命令并执行,之后执行测试向量,完成测试过程并生成测试报告。 The running script automatically generates and executes the initial environment configuration commands for the Wishbone bus-based design according to the chip initialization control document, and then executes the test vector to complete the test process and generate a test report.

本发明提供的技术方案带来的有益效果是: The beneficial effects brought by the technical scheme provided by the invention are:

通过使用自动化脚本,实现自动化完成验证平台的搭建和运行工作;通过基于标准的Wishbone总线协议设计验证平台测试命令,实现对各基于Wishbone总线的设计的通用读写测试;通过使用内部寄存器和ram模块信息文档实现针对特定存储模块的正确测试;通过使用芯片初始化控制文档实现对不同设计的初始验证环境的配置。该方法实施方便,流程简单,高效稳定,可以大幅缩短为不同的基于Wishbone总线的设计搭建功能验证平台的开发周期,提高功能验证效率。 Through the use of automated scripts, the construction and operation of the verification platform can be automatically completed; through the design of the verification platform test commands based on the standard Wishbone bus protocol, the general read and write test of each design based on the Wishbone bus can be realized; through the use of internal registers and ram modules Information files enable correct testing for specific memory modules; configuration of initial verification environments for different designs is enabled by using chip initialization control files. The method is easy to implement, has a simple process, is efficient and stable, can greatly shorten the development cycle of building a functional verification platform for different Wishbone bus-based designs, and improves the efficiency of functional verification.

附图说明 Description of drawings

为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。 In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings that need to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention. For those skilled in the art, other drawings can also be obtained based on these drawings without creative effort.

图1为本发明的一种基于WISHBONE总线设计的功能验证平台的搭建方法的方法流程图。 Fig. 1 is a method flowchart of a method for building a function verification platform based on WISHBONE bus design according to the present invention.

具体实施方式 Detailed ways

为使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明实施方式作进一步地详细描述。 In order to make the object, technical solution and advantages of the present invention clearer, the implementation manner of the present invention will be further described in detail below in conjunction with the accompanying drawings.

实施例一 Embodiment one

如附图1所示,本实施例的验证平台搭建流程包括以下步骤: As shown in Figure 1, the verification platform construction process of this embodiment includes the following steps:

A、根据基于Wishbone总线的设计的初始化工作过程,包括时钟信号稳定时间,reset信号使能时间,内部各特殊控制信号列表及时序,设计芯片初始化控制文档; A. According to the initialization work process based on the Wishbone bus design, including clock signal stabilization time, reset signal enable time, internal special control signal list and timing, design chip initialization control documents;

B、根据基于Wishbone总线的设计内部寄存器和ARM模块的地址、数据宽度、深度、读写特征、读写命令延迟以及读写相关顺序信息,编写信息文档; B. According to the address, data width, depth, read and write characteristics, read and write command delay and read and write related sequence information of the designed internal registers and ARM modules based on the Wishbone bus, write information documents;

C、编写自动化脚本,包括测试向量生成脚本,输出信息控制脚本和运行脚本,同时需要根据Wishbone协议编写符合协议时序要求的读写命令模板库; C. Write automated scripts, including test vector generation scripts, output information control scripts and running scripts. At the same time, it is necessary to write a read and write command template library that meets the protocol timing requirements according to the Wishbone protocol;

上述自动化脚本和命令模块库都是可以在不同基于Wishbone总线的设计中进行复用。 The above automation scripts and command module libraries can be reused in different Wishbone bus-based designs.

D、使用测试向量生成脚本针对基于Wishbone总线的设计内部寄存器和RAM模块的信息文档,生成选定的要测试的寄存器或RAM模块的测试向量; D. Use the test vector generation script to generate the test vectors of the selected registers or RAM modules to be tested for the information files of the internal registers and RAM modules based on the Wishbone bus;

E、使用输出信息控制脚本预留的控制端口,设置当前的测试需要输出到log文件的信息类别; E. Use the control port reserved by the output information control script to set the information category that needs to be output to the log file for the current test;

F、使用运行脚本根据设计的芯片初始化控制文档生成对应的初始化命令序列,执行,之后运行测试向量,生成测试报告,完成本次测试过程。 F. Use the running script to generate the corresponding initialization command sequence according to the designed chip initialization control document, execute it, and then run the test vector, generate a test report, and complete the test process.

以上所述仅为本发明的较佳实施例,并不用以限制本发明,凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。 The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included in the protection of the present invention. within range.

Claims (7)

1., based on a building method for the functional verification platform of WISHBONE bus design, comprising:
Control document for the internal register of current tested design and RAM module information document and chip initiation, use multiple automatized script to complete generation, the operation and control of validation test vector;
Wherein, described internal register and RAM module information document complete according to the design based on Wishbone bus and write; Described chip initiation control document completes according to the initial work flow process of the design based on Wishbone bus to be write; Described each automatized script comprises test vector generation script, output information controls script and Run Script.
2. the building method of a kind of functional verification platform based on WISHBONE bus design according to claim 1, is characterized in that, described internal register and RAM module conduct interviews by using Wishbone bus.
3. the building method of a kind of functional verification platform based on WISHBONE bus design according to claim 1, it is characterized in that, described information document comprises address, data width, the degree of depth, reading/writing characteristics, the read write command delay of internal register and RAM module and reads and writes associated order information.
4. the building method of a kind of functional verification platform based on WISHBONE bus design according to claim 1, is characterized in that, described automatized script uses perl or tcl or c-shell scripting language.
5. the building method of a kind of functional verification platform based on WISHBONE bus design according to claim 1, it is characterized in that, described test vector generation script is by reading internal register and the RAM module information document structure tree specific test vector for each register and RAM module.
6. the building method of a kind of functional verification platform based on WISHBONE bus design according to claim 1, it is characterized in that, described output information controls script by reserved control port, and the convenient classification carrying out output information in test process according to actual needs controls.
7. the building method of a kind of functional verification platform based on WISHBONE bus design according to claim 1, it is characterized in that, described Run Script controls document according to chip initiation and automatically generates the initial environment configuration order for the design based on Wishbone bus and perform, perform test vector afterwards, complete test process and generate test report.
CN201510482827.5A 2015-08-03 2015-08-03 Method for building function verification platform based on WISHBONE bus design Pending CN105069227A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510482827.5A CN105069227A (en) 2015-08-03 2015-08-03 Method for building function verification platform based on WISHBONE bus design

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510482827.5A CN105069227A (en) 2015-08-03 2015-08-03 Method for building function verification platform based on WISHBONE bus design

Publications (1)

Publication Number Publication Date
CN105069227A true CN105069227A (en) 2015-11-18

Family

ID=54498593

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510482827.5A Pending CN105069227A (en) 2015-08-03 2015-08-03 Method for building function verification platform based on WISHBONE bus design

Country Status (1)

Country Link
CN (1) CN105069227A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105302633A (en) * 2015-11-20 2016-02-03 浪潮集团有限公司 Method for building general platform for generating multi-access mode RAM model
CN105354121A (en) * 2015-11-20 2016-02-24 浪潮集团有限公司 Method for establishing verification platform for verifying multiple read-write mode storage modules
CN105956219A (en) * 2016-04-18 2016-09-21 浪潮集团有限公司 Functional verification method for neural network based design
CN106845004A (en) * 2017-02-15 2017-06-13 济南浪潮高新科技投资发展有限公司 It is a kind of that system and method is built based on script for functional verification platform
CN107168843A (en) * 2017-06-09 2017-09-15 济南浪潮高新科技投资发展有限公司 A kind of building method of the functional verification platform based on AXI buses
CN107766195A (en) * 2017-10-23 2018-03-06 济南浪潮高新科技投资发展有限公司 It is a kind of to be used for the functional verification platform building method based on OPB bus designs
CN107943644A (en) * 2017-11-22 2018-04-20 济南浪潮高新科技投资发展有限公司 A kind of building method of functional verification platform for the design based on LOCAL BUS buses
CN109446677A (en) * 2018-11-02 2019-03-08 南京贝伦思网络科技股份有限公司 General-purpose platform and its building method based on network chip
TWI819764B (en) * 2022-08-25 2023-10-21 大陸商北京歐錸德微電子技術有限公司 Project management tracking visualization method and integrated circuit design verification system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060156268A1 (en) * 2005-01-13 2006-07-13 Wen Kuei-Ann Circuit design platform
CN103218337A (en) * 2013-03-13 2013-07-24 北京安拓思科技有限责任公司 SoC (System on Chip) and method for realizing communication between master modules and between slave modules based on wishbone bus
CN104569791A (en) * 2015-01-30 2015-04-29 上海华岭集成电路技术股份有限公司 Nondestructive testing structure for IP (intelligent property) hard cores and method for implementing nondestructive testing structure

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060156268A1 (en) * 2005-01-13 2006-07-13 Wen Kuei-Ann Circuit design platform
CN103218337A (en) * 2013-03-13 2013-07-24 北京安拓思科技有限责任公司 SoC (System on Chip) and method for realizing communication between master modules and between slave modules based on wishbone bus
CN104569791A (en) * 2015-01-30 2015-04-29 上海华岭集成电路技术股份有限公司 Nondestructive testing structure for IP (intelligent property) hard cores and method for implementing nondestructive testing structure

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李延聪: "SOC总线测试平台的设计与实现", 《中国优秀硕士学位论文全文数据库信息科技辑》 *

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105302633A (en) * 2015-11-20 2016-02-03 浪潮集团有限公司 Method for building general platform for generating multi-access mode RAM model
CN105354121A (en) * 2015-11-20 2016-02-24 浪潮集团有限公司 Method for establishing verification platform for verifying multiple read-write mode storage modules
CN105956219A (en) * 2016-04-18 2016-09-21 浪潮集团有限公司 Functional verification method for neural network based design
CN106845004A (en) * 2017-02-15 2017-06-13 济南浪潮高新科技投资发展有限公司 It is a kind of that system and method is built based on script for functional verification platform
CN107168843A (en) * 2017-06-09 2017-09-15 济南浪潮高新科技投资发展有限公司 A kind of building method of the functional verification platform based on AXI buses
CN107766195A (en) * 2017-10-23 2018-03-06 济南浪潮高新科技投资发展有限公司 It is a kind of to be used for the functional verification platform building method based on OPB bus designs
CN107943644A (en) * 2017-11-22 2018-04-20 济南浪潮高新科技投资发展有限公司 A kind of building method of functional verification platform for the design based on LOCAL BUS buses
CN109446677A (en) * 2018-11-02 2019-03-08 南京贝伦思网络科技股份有限公司 General-purpose platform and its building method based on network chip
CN109446677B (en) * 2018-11-02 2023-07-14 南京贝伦思网络科技股份有限公司 Universal platform based on network chip and construction method thereof
TWI819764B (en) * 2022-08-25 2023-10-21 大陸商北京歐錸德微電子技術有限公司 Project management tracking visualization method and integrated circuit design verification system

Similar Documents

Publication Publication Date Title
CN105069227A (en) Method for building function verification platform based on WISHBONE bus design
CN113076227B (en) MCU verification method, system and terminal device
CN104408264B (en) It is a kind of that system and method is verified based on the Embedded Storage Controller asserted
CN105354121A (en) Method for establishing verification platform for verifying multiple read-write mode storage modules
CN104965750B (en) Rapidio switch logical simulation verification platforms and method based on Python
CN104572469B (en) Automatic interface testing method and system based on http request simulation
CN102201022A (en) Method and device for checking field programmable gate array (FPGA)
CN106294144B (en) Generation method, system and the server of the test vector of serial communication protocol
CN104200846B (en) Embedded-type PROM test system and achieving method
CN110321292A (en) Chip detecting method, device, electronic equipment and computer readable storage medium
CN112731117A (en) Automatic verification method and system for chip, and storage medium
CN105573881B (en) Method and system based on the large-scale interconnection die address of BFM fast verifications
CN104714870A (en) Method for verifying large-scale interconnection chips based on BFM
CN113760751B (en) Method for generating test case, electronic device and storage medium
CN106776281A (en) A kind of instruction set simulator verification method based on source code pitching pile
CN114912397A (en) Programmable logic device, prototype verification system, method, apparatus and storage medium
CN114548027A (en) Method for tracking signal in verification system, electronic device and storage medium
CN105260545B (en) A kind of verification method of programmable circuit system
CN106100920A (en) A kind of reusable model verification method of network interconnection chip
CN115993937A (en) A method and device for realizing a multi-process solid-state hard drive simulation environment
CN115732025A (en) Method and device for verifying RAM access conflict
CN115563930A (en) Automatic verification method and device based on storage model, terminal and storage medium
CN114169287B (en) Method for generating connection schematic diagram of verification environment, electronic equipment and storage medium
CN117332733B (en) A method, device and storage medium for locating errors in logic system design
CN107766195A (en) It is a kind of to be used for the functional verification platform building method based on OPB bus designs

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20151118