+

CN104811259B - A kind of satellite communication frequency deviation verification method - Google Patents

A kind of satellite communication frequency deviation verification method Download PDF

Info

Publication number
CN104811259B
CN104811259B CN201510127543.4A CN201510127543A CN104811259B CN 104811259 B CN104811259 B CN 104811259B CN 201510127543 A CN201510127543 A CN 201510127543A CN 104811259 B CN104811259 B CN 104811259B
Authority
CN
China
Prior art keywords
verification
satellite communication
frequency deviation
frequency offset
transaction
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.)
Active
Application number
CN201510127543.4A
Other languages
Chinese (zh)
Other versions
CN104811259A (en
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.)
Chongqing University of Post and Telecommunications
Original Assignee
Chongqing University of Post and Telecommunications
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 Chongqing University of Post and Telecommunications filed Critical Chongqing University of Post and Telecommunications
Priority to CN201510127543.4A priority Critical patent/CN104811259B/en
Publication of CN104811259A publication Critical patent/CN104811259A/en
Application granted granted Critical
Publication of CN104811259B publication Critical patent/CN104811259B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Radio Relay Systems (AREA)

Abstract

本发明涉及一种卫星通信频偏验证方法,属于专用集成电路验证技术领域。该方法针对卫星通信基带芯片中的频偏模块,以目前集成电路验证中比较流行的OVM验证方法学为验证系统的基础架构,将基于事务验证技术、覆盖率驱动验证技术以及基于断言的验证技术融入其中,并与C算法模型进行联合仿真,实现自动化对比和连续仿真,提高验证效率,缩短验证周期。本验证方法实现了卫星通信基带芯片频偏模块的功能验证,提高了频偏模块的验证效率,并可以在卫星通信基带芯片的一次性流片的成功中发挥不可忽视的作用。

The invention relates to a satellite communication frequency offset verification method, which belongs to the technical field of special integrated circuit verification. This method is aimed at the frequency offset module in the satellite communication baseband chip, and uses the OVM verification methodology popular in integrated circuit verification as the basic structure of the verification system, and uses transaction-based verification technology, coverage-driven verification technology and assertion-based verification technology Integrate into it, and conduct joint simulation with the C algorithm model to realize automatic comparison and continuous simulation, improve verification efficiency and shorten verification cycle. The verification method realizes the function verification of the frequency offset module of the satellite communication baseband chip, improves the verification efficiency of the frequency offset module, and can play a non-negligible role in the success of the one-time tape-out of the satellite communication baseband chip.

Description

一种卫星通信频偏验证方法A satellite communication frequency offset verification method

技术领域technical field

本发明属于专用集成电路验证技术领域,涉及一种卫星通信频偏验证方法。The invention belongs to the technical field of application-specific integrated circuit verification, and relates to a satellite communication frequency offset verification method.

背景技术Background technique

ASIC芯片开发过程中,功能验证所需要的时间往往占到整个芯片开发时间的70%以上,往往设计的抽象级越高,设计就越简单,但是同时产生的设计漏洞却可能会更多,如果是架构上的缺陷,那么对芯片的损害更是不可估计的,因此在流片之前的功能仿真验证对于整个验证过程就是重中之重了。In the ASIC chip development process, the time required for functional verification often accounts for more than 70% of the entire chip development time. The higher the abstraction level of the design, the simpler the design, but there may be more design loopholes at the same time. If If it is an architectural defect, the damage to the chip is even more immeasurable. Therefore, the functional simulation verification before tape-out is the top priority for the entire verification process.

当前基于仿真的功能验证技术主要有以下三种:基于事务的验证技术、基于覆盖率驱动的验证技术、基于断言的验证技术。基于事务的技术主要是通过事务验证模型TVM将事务级别的信息转换成验证模块所需要的信号级数字信息,并将其驱动到测试模块中以完成对被测模块的功能验证,它是以事务验证模型TVM(Transaction Verification Model)为核心的,事务验证模型通过将现有的事务级测试用例转换成带测试设计所需要的信号级信息,这种验证方法不需要制定具体的协议,只需要定义好信号的传输方向即可,具有很好的复用性,但是当待测设计的功能不相同时,需要的接口类型和数量就可能不相同,这时就需要多个不同的验证模型以满足验证需求。在功能验证过程中,覆盖率是衡量验证是否完备的一个重要标准,并贯穿于整个验证过程。基于覆盖率驱动的验证技术就是通过在验证过程中对待测模块的功能覆盖率和代码覆盖率信息进行统计进而来判断待测模块是否正确可行,并作为指导下一步的验证计划制定中的一个重要指标。但是这种验证技术需要定义功能覆盖点,而定义的覆盖点是否完备就需要对待测模块有一定的了解,随着设计规模和复杂度的不断提高,功能覆盖点也越来越多,这就需要在验证中不断的对覆盖点进行完善以满足设计和验证的需求。基于断言的验证主要是通过在待测设计中插入断言来快速定位设计中的错误的方法来提高验证的效率。但是这种验证技术对测试模块的外部功能属性的验证效率提高不大,只适用于验证测试模块内部的功能,并且该验证技术是基于时钟驱动的,因此也不适合与时钟无关的设计模块的功能验证。Currently, there are mainly three types of simulation-based functional verification technologies: transaction-based verification technology, coverage-driven verification technology, and assertion-based verification technology. Transaction-based technology mainly converts transaction-level information into signal-level digital information required by the verification module through the transaction verification model TVM, and drives it into the test module to complete the functional verification of the module under test. The verification model TVM (Transaction Verification Model) is the core. The transaction verification model converts the existing transaction-level test cases into the signal-level information required by the test design. This verification method does not need to formulate specific protocols, only need to define The transmission direction of the signal is enough, and it has good reusability. However, when the functions of the design under test are different, the types and quantities of interfaces required may be different. At this time, multiple different verification models are required to meet the requirements. Verify requirements. In the functional verification process, the coverage rate is an important criterion to measure whether the verification is complete, and it runs through the entire verification process. The coverage-driven verification technology is to judge whether the module to be tested is correct and feasible by making statistics on the function coverage and code coverage information of the module to be tested during the verification process, and as an important guide for the formulation of the verification plan in the next step. index. However, this verification technology needs to define functional coverage points, and whether the defined coverage points are complete requires a certain understanding of the module to be tested. As the design scale and complexity continue to increase, there are more and more functional coverage points. It is necessary to continuously improve the coverage points in the verification to meet the requirements of design and verification. Assertion-based verification mainly improves the efficiency of verification by inserting assertions into the design under test to quickly locate errors in the design. However, this verification technology does not improve the verification efficiency of the external functional attributes of the test module. It is only suitable for verifying the internal functions of the test module, and this verification technology is based on clock-driven, so it is not suitable for clock-independent design modules. Functional Verification.

发明内容Contents of the invention

有鉴于此,本发明的目的在于提供一种卫星通信频偏验证方法,该方法针对卫星通信基带芯片中的频偏模块,以目前集成电路验证中比较流行的OVM验证方法学为验证系统的基础架构,将基于事务验证技术、覆盖率驱动验证技术以及基于断言的验证技术融入其中,并与C算法模型进行联合仿真,实现自动化对比和连续仿真,提高验证效率,缩短验证周期。In view of this, the object of the present invention is to provide a satellite communication frequency deviation verification method, the method is aimed at the frequency deviation module in the satellite communication baseband chip, taking the OVM verification methodology popular in current integrated circuit verification as the basis of the verification system The architecture integrates transaction-based verification technology, coverage-driven verification technology and assertion-based verification technology, and performs joint simulation with C algorithm model to realize automatic comparison and continuous simulation, improve verification efficiency and shorten verification cycle.

为达到上述目的,本发明提供如下技术方案:To achieve the above object, the present invention provides the following technical solutions:

一种卫星通信频偏验证方法,包括以下步骤:A satellite communication frequency offset verification method, comprising the following steps:

步骤一:以OVM验证方法学中树形结构作为整个验证系统的基础架构,搭建基本的验证系统框架;在OVM树形结构中,各OVC(Open Verification Component)组件为树中的节点,这些OVC组件包括Environment,Agent,Monitor,Driver,Sequencer,Reference,Scoreboard等,其中树的节点又分为父节点和子节点,在父节点所代表的OVC组件中可以声明新建子节点所代表的OVC组件作为其内部变量,通过这种层层控制的方法,实现验证组件中的协调工作。Step 1: Use the tree structure in the OVM verification methodology as the infrastructure of the entire verification system to build a basic verification system framework; in the OVM tree structure, each OVC (Open Verification Component) component is a node in the tree, and these OVC Components include Environment, Agent, Monitor, Driver, Sequencer, Reference, Scoreboard, etc. The nodes of the tree are divided into parent nodes and child nodes. In the OVC component represented by the parent node, the OVC component represented by the new child node can be declared as its Internal variables, through this layer-by-layer control method, realize the coordinated work in the verification components.

步骤二:根据卫星通信芯片中频偏模块的功能特征定义事务级数据项(item),这些事务级数据项通过System Verilog验证语言中的类来实现,如果有特殊需求可以定义多个事务数据项,以方便后续的验证工作,这里需要定义两个事务数据项,一个用于传递频偏模块的参数配置信息,一个用于后面自动化对比,即自检所需要的输出数据。Step 2: Define transaction-level data items (items) according to the functional characteristics of the frequency offset module in the satellite communication chip. These transaction-level data items are implemented by classes in the System Verilog verification language. If there are special requirements, multiple transaction data items can be defined. To facilitate subsequent verification work, two transaction data items need to be defined here, one is used to transmit the parameter configuration information of the frequency offset module, and the other is used for subsequent automatic comparison, that is, the output data required for self-test.

步骤三:根据频偏模块的端口信号,定义接口interface,便于验证系统和待测设计之间的通信,减少信号连接错误的可能性。Step 3: According to the port signal of the frequency offset module, define the interface interface, which is convenient for verifying the communication between the system and the design under test, and reduces the possibility of signal connection errors.

步骤四:由于DPI传递的变量需要两个相匹配的定义,一个是System Verilog的,一个是C语言的,因此根据频偏模块端口信号,在不改变C算法的前提下,将C算法中的配置参数转换成与System Verilog验证语言中对应映射关系的数据类型,为后面的DPI调用做准备。Step 4: Since the variables transmitted by DPI need two matching definitions, one is System Verilog and the other is C language, so according to the port signal of the frequency offset module, without changing the C algorithm, change the C algorithm to The configuration parameters are converted into data types corresponding to the corresponding mapping relationship in the System Verilog verification language to prepare for subsequent DPI calls.

步骤五:根据频偏模块功能特征,按照需求在Driver或者Monitor中创建仓,定义覆盖组和覆盖点,并实例化。Step 5: According to the functional characteristics of the frequency offset module, create bins in Driver or Monitor according to requirements, define coverage groups and coverage points, and instantiate them.

步骤六:设计整个验证系统的top层,在top层需要实现全局变量的定义,时钟clk的产生,C算法的DPI声明、验证系统和待测设计之间的例化、验证系统和待测设计之间的互连、待测设计的初始化工作以及验证系统的启动。Step 6: Design the top layer of the entire verification system. In the top layer, it is necessary to realize the definition of global variables, the generation of clock clk, the DPI declaration of the C algorithm, the instantiation between the verification system and the design under test, the verification system and the design under test The interconnection between, the initialization of the design under test and the startup of the verification system.

步骤七:根据验证目标添加测试用例,进行定向和随机测试。Step 7: Add test cases according to the verification goal, and conduct directional and random tests.

进一步,在步骤五中,如果有特定的时序需要监督检查,可增加断言进行检测。Further, in step five, if there is a specific time sequence that requires supervision and inspection, an assertion can be added for detection.

本发明的有益效果在于:与传统的验证系统或者方法相比,本方法以OVM验证方法学中的树形结构为验证系统的基本架构,并融入当前的一些主流的验证方法,包括基于事务的验证方法、基于覆盖率驱动的验证方法以及基于断言的验证方法等,实现了卫星通信基带芯片频偏模块的功能验证,提高了频偏模块的验证效率,并可以在卫星通信基带芯片的一次性流片的成功中发挥不可忽视的作用。The beneficial effect of the present invention is that: compared with the traditional verification system or method, this method uses the tree structure in the OVM verification methodology as the basic structure of the verification system, and integrates into some current mainstream verification methods, including transaction-based The verification method, the verification method based on coverage rate and the verification method based on assertion, etc., have realized the functional verification of the frequency offset module of the satellite communication baseband chip, improved the verification efficiency of the frequency offset module, and can be used in the satellite communication baseband chip. It plays a role that cannot be ignored in the success of tape-out.

附图说明Description of drawings

为了使本发明的目的、技术方案和有益效果更加清楚,本发明提供如下附图进行说明:In order to make the purpose, technical scheme and beneficial effect of the present invention clearer, the present invention provides the following drawings for illustration:

图1为本发明中验证系统中的OVM树形结构图;Fig. 1 is the OVM tree structure diagram in the verification system in the present invention;

图2为本发明中验证系统架构图;Fig. 2 is a verification system architecture diagram in the present invention;

图3为本发明中验证系统执行流程图。Fig. 3 is a flow chart of the execution of the verification system in the present invention.

具体实施方式detailed description

下面将结合附图,对本发明的优选实施例进行详细的描述。The preferred embodiments of the present invention will be described in detail below with reference to the accompanying drawings.

图1为本发明中验证系统中的OVM树形结构图,如图所示:Fig. 1 is the OVM tree structure diagram in the verification system in the present invention, as shown in the figure:

以OVM的树形结构的频偏模块验证系统的具有明晰的从属关系,这对验证系统中的事务数据的传递的管理很重要,能够合理的安排树形结构中作为节点的OVC组件之间的数据传递。这里的节点分为两种,父节点和子节点,在父节点中可以声明一个或多个子节点的所代表的OVC组件并将其作为内部变量,这样通过层层递进的方法实现各OVC组件之间的协调工作,使整个验证系统能够合理有效的运行。OVM树形结构中的OVC组件的具体构建过程如下:The frequency offset module verification system with the OVM tree structure has a clear affiliation relationship, which is very important for the management of transaction data transfer in the verification system, and can reasonably arrange the OVC components as nodes in the tree structure. data transfer. The nodes here are divided into two types, parent node and child node. In the parent node, one or more OVC components represented by child nodes can be declared and used as internal variables, so that the OVC components can be realized through the method of layer-by-layer progression. The coordinated work among them enables the entire verification system to operate reasonably and effectively. The specific construction process of the OVC component in the OVM tree structure is as follows:

1.由图1可知在整个OVM树形结构图中,Env是最顶层并将所有的OVC组件整合到一起,在Env中,首先需要对子节点进行声明,这些子字节点所代表的OVC组件包括Agent、Reference、Scoreboard,由于验证系统中需要对待测的频偏模块进行一些参数的配置,并且频偏验证系统运行时需要对频偏模块运行结果进行监督检测,所以需要两个不同agent。其次在Env中需要声明OVM库所自带的FIFO,并通过FIFO将这些OVC组件连接起来,连接方式通过OVM的所特有的port进行的,使它们能够进行正常的事务级通信。1. It can be seen from Figure 1 that in the entire OVM tree structure diagram, Env is the top layer and integrates all OVC components together. In Env, you first need to declare the sub-nodes. The OVC represented by these sub-byte nodes The components include Agent, Reference, and Scoreboard. Since the verification system needs to configure some parameters of the frequency offset module to be tested, and the frequency offset verification system needs to supervise and detect the operation results of the frequency offset module during operation, two different agents are required. Secondly, in Env, you need to declare the FIFO that comes with the OVM library, and connect these OVC components through FIFO. The connection method is performed through the unique port of OVM, so that they can perform normal transaction-level communication.

2.当Env构建完成后,需要对Agent进行模式配置,在Agent中需要对Driver、Sequencer、Monitor以及事务级数据传递所要的port进行定义声明,当验证系统需要产生或发送频偏模块启动运行所需的数据时,将Agent配置为ACTIVE模式,在该模式下完成对Sequencer和Driver的例化,此时Monitor处于非工作状态,当需要捕获频偏模块的输出结果时,将Agent配置为PASSIVE模式,在该模式下会实例化Monitor模块,为验证系统运时行监测待测的频偏模块的输出结果做铺垫。在这完成这些子节点的实例化工作后,就需要根据所配置的Agent的模式,将其连接到Interface接口上,使验证系统能够与频偏模块进行正常数据的交互。2. After the Env is built, it is necessary to configure the mode of the Agent. In the Agent, the Driver, Sequencer, Monitor, and the port required for transaction-level data transmission need to be defined and declared. When the verification system needs to generate or send the frequency offset module to start running When the data is needed, configure the Agent as ACTIVE mode, and complete the instantiation of the Sequencer and Driver in this mode. At this time, the Monitor is in a non-working state. When it is necessary to capture the output results of the frequency offset module, configure the Agent as PASSIVE mode. , in this mode, the Monitor module will be instantiated to pave the way for verifying the output results of the frequency offset module to be tested when the system is running. After the instantiation of these sub-nodes is completed, it needs to be connected to the Interface interface according to the configured Agent mode, so that the verification system can perform normal data interaction with the frequency offset module.

3.在Agent为ACTIVE的模式时,需要对待测的频偏模块进行一些参数的配置以及数据的初始化工作,这些都是通过Driver进行的。因此,在Driver中需要将OVC组件中传递的事务级信息转换成频偏模块的所需要的电平或者脉冲信号,这些电平或者脉冲信号需要满足待测的频偏模块的时序要求,才能够正常的驱动待测的频偏模块,这部分可以通过一些task去实现。同时,在该组件中可以加入一些功能覆盖组对输入到频偏模块的参数和数据进行覆盖点统计。3. When the Agent is in the ACTIVE mode, it is necessary to configure some parameters and initialize the data of the frequency offset module to be tested, all of which are performed through the Driver. Therefore, in the Driver, it is necessary to convert the transaction-level information transmitted in the OVC component into the required level or pulse signal of the frequency offset module. These levels or pulse signals must meet the timing requirements of the frequency offset module to be tested. Normally drive the frequency offset module to be tested, this part can be realized through some tasks. At the same time, some functional coverage groups can be added to this component to perform coverage point statistics on the parameters and data input to the frequency offset module.

4.整个验证系统所需要的参数配置数据和计算数据都是通过Sequence产生的,当Driver需要数据时,会向Sequencer发送事务级数据请求,Sequencer收到后就会通过驱动Sequence产生数据,产生这些所需要的数据后,再Sequencer这个桥梁将其传递给Driver。在整个验证系统中可以设计多个Sequence,不同的Sequence可以产生不同的激励数据给待测的频偏模块,Sequence可以通过OVM的ovm_do或者ovm_do_with等宏来决定产生的事务级数据的内容。4. The parameter configuration data and calculation data required by the entire verification system are generated through Sequence. When the Driver needs data, it will send a transaction-level data request to the Sequencer. After receiving the data, the Sequencer will drive the Sequence to generate data and generate these After the required data, the Sequencer bridge will pass it to the Driver. Multiple Sequences can be designed in the entire verification system. Different Sequences can generate different stimulus data for the frequency offset module to be tested. The Sequence can determine the content of the generated transaction-level data through macros such as OVM’s ovm_do or ovm_do_with.

5.Monitor主要是用来监测频偏模块的输出,并将收集的输出结果通过port发送给Scoreboard进行结果的比对,所以在该模块中首先需要通过Interface接口对待测的频偏模块的输出结果进行收集,这个过程需要根据频偏模块的时序要求进行,否则可能导致收集到的结果不正确,其次在收集频偏模块的运行结果后,由于这些运行结构都是信号级的信息,故需要将其转换成验证系统所需要的事务级信息,以上的这些过程都可以通过task去完成。5.Monitor is mainly used to monitor the output of the frequency offset module, and send the collected output results to the Scoreboard through the port for comparison of the results. Therefore, in this module, the output results of the frequency offset module to be tested need to be tested first through the Interface interface. To collect, this process needs to be carried out according to the timing requirements of the frequency offset module, otherwise the collected results may be incorrect. Secondly, after collecting the operating results of the frequency offset module, since these operating structures are signal-level information, it is necessary to It is converted into transaction-level information required by the verification system, and all of the above processes can be completed through tasks.

6.参考模型Reference是用来模拟待测频偏模块的模型,故它需要与频偏模块相同的输入,通过这些输入完成与频偏模块相同的计算过程,并将计算的结果发送给Scoreboard。所以首先要有与Agent和Scoreboard交互的port,进行事务级信息的传递,当验证系统启动后,在ACTIVE的agent模式下,driver可使用OVM的内部函数,将事务级的数据通过port发送给reference参入计算,reference完成计算后,将结果在通过port发送给Scoreboard。其次,该部分中参考模型可以是SystemVerilog编写的,也可以是其他高级语言所编写的,但最好是C或者是C++,因为目前只有C和C++可以通过DPI嵌入到基于SystemVerilog验证语言的验证系统中,完成待测的频偏模块和参考模型的协同测试后,需要将参考模型中计算出的结果转换成事务级信息。6. The reference model Reference is a model used to simulate the frequency offset module to be tested, so it needs the same input as the frequency offset module, and completes the same calculation process as the frequency offset module through these inputs, and sends the calculated results to the Scoreboard. Therefore, there must first be a port that interacts with the Agent and Scoreboard to transmit transaction-level information. When the verification system is started, in the agent mode of ACTIVE, the driver can use the internal functions of OVM to send transaction-level data to the reference through the port. Participate in the calculation, and after the reference completes the calculation, the result is sent to the Scoreboard through the port. Secondly, the reference model in this part can be written in SystemVerilog or other high-level languages, but it is better to be C or C++, because currently only C and C++ can be embedded into the verification system based on SystemVerilog verification language through DPI In , after the collaborative testing of the frequency offset module to be tested and the reference model is completed, the results calculated in the reference model need to be converted into transaction-level information.

7.验证系统通过Scoreboard对比Monitor和Reference发送过来的结果去判断频偏模块的设计是否合理,因此也同样需要定义两个port分别从Monitor和Reference中接受事务级数据,在比对完待测频偏模块和参考模型的结果后需要输出比对结果,正确需要正确的结论,如果错误,需要将已经存储进顶层数组中的数据写入文件中,对下一步的debug提供帮助。7. The verification system uses Scoreboard to compare the results sent by Monitor and Reference to determine whether the design of the frequency offset module is reasonable. Therefore, it is also necessary to define two ports to receive transaction-level data from Monitor and Reference respectively. After the results of partial module and reference model, the comparison result needs to be output. If it is correct, the correct conclusion is needed. If it is wrong, the data that has been stored in the top-level array needs to be written into the file to help the next step of debugging.

完成OVM树形结构中个OVC组件的设计后,由图2可知,还需要对整个验证系统其它的模块进行设计完善,包括验证系统中传输的事务信息的定义,Interface接口的定义,如何在验证中加入覆盖点,以及整个验证系统的顶层设计,测试用例的设计等,其具体的设计方法如下:After completing the design of each OVC component in the OVM tree structure, it can be seen from Figure 2 that other modules of the entire verification system need to be designed and improved, including the definition of transaction information transmitted in the verification system, the definition of Interface interface, and how to verify Adding coverage points, as well as the top-level design of the entire verification system, the design of test cases, etc., the specific design methods are as follows:

1.事务信息的定义:事务Transaction是验证系统中OVC组件之间数据传输的媒介,这些事务都是派生自ovm_sequence_item类库,包括所有的内部函数和变量。频偏验证系统中,需要定义两个Transaction事务,一个用于传递频偏模块的参数配置信息和采样点数据,一个用于后面实现自动化对比,即自检所需要的输出数据。其中,第一个事务Transaction,即用于传递配置参数的事务都是通过Sequence中产生并打包生成的,在生成这一类的事务信息时需要跟据频偏模块的算法要求去对产生的事务信息进行适当的约束。第二类事务在Reference中产生,在Reference中通过将收集的频偏模块的数据信息转换成第二类事务信息并发送给Scoreboard进行数据对比。1. Definition of transaction information: Transaction is the medium of data transmission between OVC components in the verification system. These transactions are derived from the ovm_sequence_item class library, including all internal functions and variables. In the frequency offset verification system, two Transactions need to be defined, one is used to transmit the parameter configuration information and sampling point data of the frequency offset module, and the other is used to realize automatic comparison later, that is, the output data required for self-test. Among them, the first transaction Transaction, that is, the transaction used to transfer configuration parameters is generated and packaged in Sequence. When generating this type of transaction information, it is necessary to follow the algorithm requirements of the frequency offset module to verify the generated transaction. Information is properly bound. The second type of transaction is generated in Reference. In Reference, the collected data information of the frequency offset module is converted into the second type of transaction information and sent to Scoreboard for data comparison.

2.接口的定义以及顶层的设计:接口Interface可直接根据频偏模块的端口进行定义,定义的方法参照SystemVerilog验证语言中关于Interface定义的部分。在整个验证系统的顶层需要实现全局变量的定义,时钟clk的产生,C算法模型的DPI声明、接口interface的实例化、验证系统和频偏模块之间的互连、频偏模块的初始化工作以及验证系统的启动以及数组的声明,该数组用来存储频偏模块每次运行所需数据。2. Interface definition and top-level design: The interface interface can be defined directly according to the port of the frequency offset module, and the definition method refers to the part about the interface definition in the SystemVerilog verification language. The top layer of the entire verification system needs to realize the definition of global variables, the generation of clock clk, the DPI declaration of the C algorithm model, the instantiation of the interface interface, the interconnection between the verification system and the frequency offset module, the initialization of the frequency offset module, and Verify the startup of the system and the declaration of the array, which is used to store the data required for each operation of the frequency offset module.

3.测试用例的撰写:验证系统中的测试用例都派生自ovm_test类库,在设计时可先完成基类base_test的设计,该类同样可派生自ovm_test,在这个基类中主要完成OVM树形验证架构的实例化工作以及功能仿真所运行的时间的决定,后者可通过task去实现。在设计具体的测试用例时,只需要从base_test基类中派生出子类就可以,但是在每个子类中需要确认Sequencer的默认Sequence是哪一个验证场景,也就是验证系统中所产生的第一类事务信息。3. Writing of test cases: The test cases in the verification system are all derived from the ovm_test class library, and the design of the base class base_test can be completed first during design, which can also be derived from ovm_test, and the OVM tree is mainly completed in this base class The instantiation of the verification architecture and the determination of the time to run the functional simulation can be achieved through tasks. When designing a specific test case, you only need to derive subclasses from the base_test base class, but in each subclass, you need to confirm which verification scenario the default Sequence of Sequencer is, that is, the first sequence generated in the verification system. Class transaction information.

4.覆盖点的设计以及断言的设计:在整个频偏验证系统中,覆盖点是否完备是判断频偏模块验证是否完备的一个重要标准,在创建覆盖组时的必须严格跟据频偏模块的所需要实现的功能去定义覆盖组中的内容,包括单个功能的覆盖以及多个功能之间的交叉覆盖。根据实际需求,可将覆盖组嵌入OVC组件中Driver或者Monitor中对频偏模块的配置参数和输出结果进行功能覆盖率收集。如果对频偏模块端口信号的时序有特定要求时,可在验证中系统中的Interface中加入断言来判断信号的时序是否符合要求,具体设计可根据待测频偏模块的端口时序以及systemVerilog验证语言中的断言技术。4. Design of coverage points and assertions: In the entire frequency offset verification system, whether the coverage points are complete is an important criterion for judging whether the verification of the frequency offset module is complete. When creating a coverage group, it must strictly follow the frequency offset module. The functions that need to be implemented define the content in the coverage group, including the coverage of a single function and the cross coverage between multiple functions. According to actual needs, the coverage group can be embedded in the Driver or Monitor of the OVC component to collect the functional coverage of the configuration parameters and output results of the frequency offset module. If there are specific requirements for the timing of the port signal of the frequency offset module, an assertion can be added to the Interface in the verification system to determine whether the timing of the signal meets the requirements. The specific design can be based on the port timing of the frequency offset module to be tested and the systemVerilog verification language Assertion techniques in .

完成以上验证系统所需要的组件设计后,整个验证系统就可以正常运行,验证系统执行流程如图3所示。通过OVM_TETSNAME产生测试实例,并实例化完成OVM树形架构,并根据树形结构中各节点所代表的OVC组件的实例化以及组件之间的连接过程,这些过程都是通过OVM库所自带的内部函数build()和connect()来完成的。整个验证系统的启动可通过Makefile脚本去完成,包括验证系统和待测频偏模块的编译、运行。After completing the component design required by the above verification system, the entire verification system can run normally, and the execution flow of the verification system is shown in Figure 3. Generate a test instance through OVM_TETSNAME, and instantiate the OVM tree structure, and according to the instantiation of the OVC components represented by each node in the tree structure and the connection process between components, these processes are all through the OVM library. Internal functions build () and connect () to complete. The startup of the entire verification system can be completed through the Makefile script, including the compilation and operation of the verification system and the frequency offset module to be tested.

最后说明的是,以上优选实施例仅用以说明本发明的技术方案而非限制,尽管通过上述优选实施例已经对本发明进行了详细的描述,但本领域技术人员应当理解,可以在形式上和细节上对其作出各种各样的改变,而不偏离本发明权利要求书所限定的范围。Finally, it should be noted that the above preferred embodiments are only used to illustrate the technical solutions of the present invention and not to limit them. Although the present invention has been described in detail through the above preferred embodiments, those skilled in the art should understand that it can be described in terms of form and Various changes may be made in the details without departing from the scope of the invention defined by the claims.

Claims (3)

1. a kind of satellite communication frequency deviation verification method, it is characterised in that:Comprise the following steps:
Step one:Using in OVM verification methodologies, tree structure builds basic checking as the architecture of whole checking system System framework;
Step 2:Transaction-level data item is defined according to the functional character of satellite communication chip frequency deviation module;
Step 3:According to the port signal of frequency deviation module, defining interface interface, be easy to checking system and design to be measured it Between communication, reduce signal connection error possibility;
Step 4:According to frequency deviation module port signal, on the premise of C algorithms are not changed, the configuration parameter in C algorithms is changed Into the data type for verifying correspondence mappings relation in language with System Verilog, it is that DPI below is called and prepared;
Step 5:According to frequency deviation functions of modules feature, storehouse is created as desired in Driver or Monitor, definition is covered Group and covering point, and instantiate;
Step 6:The top layers of whole checking system are designed, in the definition that top layers need to realize global variable, the product of clock clk Raw, DPI statements of C algorithms, between the instantiation between checking system and design interface to be measured, checking system and design to be measured The startup of interconnection, the initial work of design to be measured and checking system;
Step 7:Test case is added according to checking target, is oriented and random test.
2. a kind of satellite communication frequency deviation verification method according to claim 1, it is characterised in that:In step 2, according to The functional character of satellite communication chip frequency deviation module defines transaction-level data item (item), and these transaction-level data item pass through Class in System Verilog checking language can define multiple Transaction Information items according to real needs, with convenient realizing Follow-up checking work;Need exist for defining two Transaction Information items, a parameter configuration for being used for transmitting frequency deviation module, One use automates the output data required for contrast, i.e. self-inspection later.
3. a kind of satellite communication frequency deviation verification method according to claim 1, it is characterised in that:In step 5, if There is specific sequential to need supervision and check, can increase and assert and detected.
CN201510127543.4A 2015-03-23 2015-03-23 A kind of satellite communication frequency deviation verification method Active CN104811259B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510127543.4A CN104811259B (en) 2015-03-23 2015-03-23 A kind of satellite communication frequency deviation verification method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510127543.4A CN104811259B (en) 2015-03-23 2015-03-23 A kind of satellite communication frequency deviation verification method

Publications (2)

Publication Number Publication Date
CN104811259A CN104811259A (en) 2015-07-29
CN104811259B true CN104811259B (en) 2017-03-15

Family

ID=53695791

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510127543.4A Active CN104811259B (en) 2015-03-23 2015-03-23 A kind of satellite communication frequency deviation verification method

Country Status (1)

Country Link
CN (1) CN104811259B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107958097A (en) * 2017-10-31 2018-04-24 成都华微电子科技有限公司 The FPGA of Coverage- Driven and similar ASIC verification methods
CN112596966B (en) * 2020-12-17 2022-11-01 海光信息技术股份有限公司 Chip verification method, device, equipment and storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100349385C (en) * 2004-04-16 2007-11-14 华为技术有限公司 Verifying device special for integrated circuit function
CN101527917A (en) * 2008-03-04 2009-09-09 上海摩波彼克半导体有限公司 Circuit structure of digital baseband chip on mobile equipment for realizing digital authentication
CN102567122A (en) * 2010-12-27 2012-07-11 北京国睿中数科技股份有限公司 Communication interface method of processor reference model under multiple simulation and verification platforms
CN102664836B (en) * 2012-03-29 2015-12-02 中国科学院计算技术研究所 A kind of Prototype Verification Platform for broadband wireless communications digital baseband processor

Also Published As

Publication number Publication date
CN104811259A (en) 2015-07-29

Similar Documents

Publication Publication Date Title
CN114036013B (en) Multi-module synchronous verification platform and verification method for transponder chip based on UVM
CN109684681B (en) High-level verification method using UVM verification platform
US8136065B2 (en) Integrated prototyping system for validating an electronic system design
CN104346272B (en) Chip automatic simulation verifies system
EP1093619B1 (en) System and method for identifying finite state machines and verifying circuit designs
US7424416B1 (en) Interfacing hardware emulation to distributed simulation environments
CN110377004A (en) Automobile-used half virtual ECU test macro and its test method
CN106503308A (en) A kind of CAN controller IP verification platform based on UVM
CN102542110B (en) Emulation verification method applied to mobile storage SOC (system on chip) chip
CN100588982C (en) Field programmable gate array configurable logic block verification method and system
CN117709046B (en) Method for building APB_bridge subsystem-level verification platform based on uvm
CN108052769A (en) Netlist emulation verification method and device
CN112417798B (en) Time sequence testing method and device, electronic equipment and storage medium
CN108038328A (en) Chip automatic simulation verifies system
US20020173942A1 (en) Method and apparatus for design validation of complex IC without using logic simulation
CN104461812A (en) Method for constructing UVM verification component by utilizing existing Verilog BFM
CN114757135B (en) A verification method and system for programmable logic devices based on requirement-driven verification
CN116821001B (en) Verification method and device of input/output subsystem, electronic equipment and medium
CN105653409B (en) A kind of hardware emulator verify data extraction system based on data type conversion
CN101140314A (en) Field Programmable Gate Array Wiring Channel Verification Method and System
US7584456B1 (en) Method and apparatus for debugging embedded systems having read only memory
CN104811259B (en) A kind of satellite communication frequency deviation verification method
CN104866640A (en) Full FIFO (first in, first out) circuit design method and universal test bench of method
Gao et al. Software and hardware co-verification technology based on virtual prototyping of RF SOC
US12055588B2 (en) Testbenches for electronic systems with automatic insertion of verification features

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
CB03 Change of inventor or designer information

Inventor after: Li Yun

Inventor after: Zhang Zheng

Inventor after: Liu Qilie

Inventor after: Cao Bin

Inventor after: Wu Guangfu

Inventor before: Li Yun

Inventor before: Zhang Zheng

Inventor before: Liu Qilie

Inventor before: Cao Bin

COR Change of bibliographic data
C14 Grant of patent or utility model
GR01 Patent grant
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载