CN102541830A - Method and device for generating simulation report in simulation platform - Google Patents

Method and device for generating simulation report in simulation platform Download PDF

Info

Publication number
CN102541830A
CN102541830A CN2010105985919A CN201010598591A CN102541830A CN 102541830 A CN102541830 A CN 102541830A CN 2010105985919 A CN2010105985919 A CN 2010105985919A CN 201010598591 A CN201010598591 A CN 201010598591A CN 102541830 A CN102541830 A CN 102541830A
Authority
CN
China
Prior art keywords
simulation
activation sequence
data
report
simulation report
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.)
Granted
Application number
CN2010105985919A
Other languages
Chinese (zh)
Other versions
CN102541830B (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.)
Shenzhen Hengyang Data Co ltd
Original Assignee
SEMPTIAN TECHNOLOGIES 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 SEMPTIAN TECHNOLOGIES Ltd filed Critical SEMPTIAN TECHNOLOGIES Ltd
Priority to CN 201010598591 priority Critical patent/CN102541830B/en
Publication of CN102541830A publication Critical patent/CN102541830A/en
Application granted granted Critical
Publication of CN102541830B publication Critical patent/CN102541830B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

本发明适用于仿真领域,提供了一种仿真平台中仿真报告生成的方法及装置,所述方法包括下述步骤:接收用户输入的仿真请求,所述仿真请求包括激励序列标识;从预先存储的激励序列中查找激励序列标识对应的激励序列;根据查找到的激励序列生成对应的仿真报告。本发明实现了激励的复用以及仿真报告生成的自动化与标准化,提高了仿真效率。

Figure 201010598591

The present invention is applicable to the simulation field, and provides a method and device for generating a simulation report in a simulation platform. The method includes the following steps: receiving a simulation request input by a user, and the simulation request includes an excitation sequence identifier; Find the excitation sequence corresponding to the excitation sequence identification in the excitation sequence; generate the corresponding simulation report according to the excitation sequence found. The invention realizes the multiplexing of incentives and the automation and standardization of simulation report generation, and improves simulation efficiency.

Figure 201010598591

Description

一种仿真平台中仿真报告生成的方法及装置A method and device for generating a simulation report in a simulation platform

技术领域 technical field

本发明属于仿真领域,尤其涉及一种仿真平台中仿真报告生成的方法及装置。The invention belongs to the field of simulation, in particular to a method and device for generating a simulation report in a simulation platform.

背景技术 Background technique

现今大量的网络设备中都使用到了超大规模集成电路(Very Large ScaleIntegrated circuits,VLSI),VLSI在开发的同时带来了仿真的需求,对VLSI的仿真,需要产生大量的不同类型的报文作为激励。但在实际应用中,虽然不同项目VLSI的实现功能不同,但大部分的激励需求是类似的。VLSI (Very Large Scale Integrated circuits, VLSI) is used in a large number of network devices today. The development of VLSI brings the need for simulation. The simulation of VLSI needs to generate a large number of different types of messages as incentives. . However, in practical applications, although the implementation functions of VLSI in different projects are different, most of the incentive requirements are similar.

然而,在现有的仿真平台中,由于缺乏有效的激励管理以及激励存储平台,对不同的项目都需要重新产生所有激励,不能实现激励的复用,影响了仿真的效率。而且,在仿真结束后不能自动生成统一格式的仿真报告,需要用户手工记录仿真结果,处理效率较低且容易出错。However, in the existing simulation platform, due to the lack of effective incentive management and incentive storage platform, all incentives need to be regenerated for different projects, and the reuse of incentives cannot be realized, which affects the efficiency of simulation. Moreover, after the simulation is finished, a simulation report in a unified format cannot be automatically generated, and the user needs to manually record the simulation results, which is low in processing efficiency and prone to errors.

发明内容 Contents of the invention

本发明实施例的目的在于提供一种仿真平台中仿真报告生成的方法,旨在解决现有仿真平台没有实现激励的复用且不能自动生成仿真报告,影响仿真效率的问题。The purpose of the embodiments of the present invention is to provide a method for generating a simulation report in a simulation platform, which aims to solve the problem that the existing simulation platform does not implement stimulus multiplexing and cannot automatically generate simulation reports, which affects simulation efficiency.

本发明实施例是这样实现的,一种仿真平台中仿真报告生成的方法,所述方法包括下述步骤:The embodiment of the present invention is achieved in this way, a method for generating a simulation report in a simulation platform, said method comprising the following steps:

接收用户输入的仿真请求,所述仿真请求包括激励序列标识;receiving a simulation request input by a user, where the simulation request includes an excitation sequence identifier;

从预先存储的激励序列中查找激励序列标识对应的激励序列;Find the excitation sequence corresponding to the excitation sequence identifier from the pre-stored excitation sequence;

根据查找到的激励序列生成对应的仿真报告。Generate the corresponding simulation report according to the found excitation sequence.

本发明实施例的另一目的在于提供一种仿真报告生成装置,所述装置包括:Another object of the embodiments of the present invention is to provide a simulation report generating device, the device comprising:

仿真请求接收单元,用于接收用户输入的仿真请求,所述仿真请求包括激励序列标识;A simulation request receiving unit, configured to receive a simulation request input by a user, the simulation request including an excitation sequence identifier;

激励序列查找单元,用于从预先存储的激励序列中查找激励序列标识对应的激励序列;The excitation sequence search unit is used to search the excitation sequence corresponding to the excitation sequence identifier from the pre-stored excitation sequence;

仿真报告生成单元,用于根据查找到的激励序列生成对应的仿真报告。The simulation report generating unit is configured to generate a corresponding simulation report according to the found excitation sequence.

本发明实施例的另一目的在于提供一种仿真平台,所述仿真平台包括所述仿真报告生成装置。Another object of the embodiments of the present invention is to provide a simulation platform, which includes the simulation report generation device.

在本发明实施例中,通过仿真平台接收和存储用户输入的激励数据,实现了对激励数据的有效管理,保证了激励数据的可复用性,根据所述激励数据生成不同的激励序列,满足了不同项目的激励需求,并根据所述激励序列,生成统一格式的仿真报告,实现了仿真过程的自动化与标准化,有效的减少了仿真过程中的出错率,提高了仿真效率。In the embodiment of the present invention, the simulation platform receives and stores the incentive data input by the user, realizes the effective management of the incentive data, ensures the reusability of the incentive data, generates different incentive sequences according to the incentive data, and satisfies the According to the incentive requirements of different projects, and according to the incentive sequence, a simulation report in a unified format is generated, which realizes the automation and standardization of the simulation process, effectively reduces the error rate in the simulation process, and improves the simulation efficiency.

附图说明 Description of drawings

图1是本发明实施例一提供的仿真平台中仿真报告生成方法的实现流程图;Fig. 1 is the implementation flowchart of the simulation report generating method in the simulation platform provided by Embodiment 1 of the present invention;

图2是本发明实施例一提供的仿真报告生成的具体流程图;FIG. 2 is a specific flow chart of simulation report generation provided by Embodiment 1 of the present invention;

图3是本发明实施例二提供的仿真报告生成装置的结构框图;FIG. 3 is a structural block diagram of a simulation report generation device provided by Embodiment 2 of the present invention;

图4是本发明实施例三提供的综合虚拟环境仿真平台的软件架构图。FIG. 4 is a software architecture diagram of the comprehensive virtual environment simulation platform provided by the third embodiment of the present invention.

具体实施方式 Detailed ways

为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。In order to make the object, technical solution and advantages of the present invention more clear, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

本发明实施例通过仿真平台接收和存储用户输入的激励数据,实现激励数据的复用,根据所述激励数据生成不同的激励序列,满足了不同项目的激励需求,并根据所述激励序列,生成统一格式的仿真报告,实现了仿真过程的自动化与标准化,有效的减少了仿真过程中的出错率,提高了仿真效率。The embodiment of the present invention receives and stores the incentive data input by the user through the simulation platform, realizes the multiplexing of the incentive data, generates different incentive sequences according to the incentive data, satisfies the incentive requirements of different projects, and generates The simulation report in a unified format realizes the automation and standardization of the simulation process, effectively reduces the error rate in the simulation process, and improves the simulation efficiency.

为了说明本发明所述的技术方案,下面通过具体实施例来进行说明。In order to illustrate the technical solutions of the present invention, specific examples are used below to illustrate.

实施例一:Embodiment one:

图1示出了本发明实施例一提供的一种仿真平台中仿真报告生成方法的实现流程,该方法过程详述如下:Fig. 1 shows the implementation process of a method for generating a simulation report in a simulation platform provided by Embodiment 1 of the present invention, and the process of the method is described in detail as follows:

在步骤S101中,接收并存储用户输入的激励数据。In step S101, the incentive data input by the user is received and stored.

在本实施例中,激励数据主要是指在软件仿真中模拟作用在单片机引脚上的外界信号。本实施例通过仿真平台接收用户(所述用户一般指仿真平台开发人员或者仿真平台管理员)输入的激励数据,并将所述激励数据进行存储。其中,存储的方式包括但不局限于数据库。在不同的超大规模集成电路(Very LargeScale Integrated circuits,VLSI)开发中,虽然VLSI的实现功能不同,但大部分的激励需求是类似的,通过存储所述激励数据,方便了激励数据的维护和共享,实现了激励的复用。In this embodiment, the stimulus data mainly refers to simulating the external signals acting on the pins of the single-chip microcomputer in the software simulation. In this embodiment, the simulation platform receives the incentive data input by the user (the user generally refers to the simulation platform developer or the simulation platform administrator), and stores the incentive data. Wherein, the storage method includes but is not limited to a database. In the development of different VLSI (Very LargeScale Integrated circuits, VLSI), although the implementation functions of VLSI are different, most of the incentive requirements are similar. By storing the incentive data, it is convenient to maintain and share the incentive data. , realizing the multiplexing of incentives.

在步骤S102中,根据所述激励数据,生成多个激励序列,并存储所述激励序列,所述激励序列包括对应的激励序列标识。In step S102, a plurality of excitation sequences are generated according to the excitation data, and the excitation sequences are stored, and the excitation sequences include corresponding excitation sequence identifiers.

在本实施例中,激励序列可以是一种激励数据,也可以是多种激励数据的组合。对每个激励序列创建一个对应的激励序列标识,并存储所述激励序列与对应的激励序列标识。其中,存储的方式包括但不局限于数据库。本实施例通过不同激励数据组合而成的不同激励序列,来满足不同项目的激励需求。In this embodiment, the excitation sequence may be one type of excitation data, or a combination of various types of excitation data. A corresponding excitation sequence identifier is created for each excitation sequence, and the excitation sequence and the corresponding excitation sequence identifier are stored. Wherein, the storage method includes but is not limited to a database. In this embodiment, different incentive sequences combined with different incentive data are used to meet the incentive requirements of different projects.

在步骤S103中,接收用户输入的仿真请求,所述仿真请求包括激励序列标识。In step S103, a simulation request input by a user is received, and the simulation request includes an excitation sequence identifier.

在本实施例中,所述用户为仿真平台使用用户。In this embodiment, the user is a simulation platform user.

在步骤S104中,从预先存储的激励序列中查找激励序列标识对应的激励序列。In step S104, the excitation sequence corresponding to the excitation sequence identifier is searched from the pre-stored excitation sequences.

在本实施例中,根据不同项目激励序列的需求,获取对应的激励序列标识,根据所述激励序列标识,从预先存储的激励序列中查找激励序列标识对应的激励序列。In this embodiment, according to the requirements of incentive sequences for different items, the corresponding incentive sequence identifiers are obtained, and according to the incentive sequence identifiers, the incentive sequences corresponding to the incentive sequence identifiers are searched from pre-stored incentive sequences.

在步骤S105中,根据查找到的激励序列生成对应的仿真报告。In step S105, a corresponding simulation report is generated according to the found excitation sequence.

在本实施例中,根据查找到的激励序列生成对应的仿真报告的具体过程如图2所示:In this embodiment, the specific process of generating the corresponding simulation report according to the found excitation sequence is shown in Figure 2:

在步骤S201中,解析所述获取的激励序列,得到组合所述激励序列的激励数据,并从预先存储的激励数据中提取所述激励数据。In step S201, the acquired excitation sequence is analyzed to obtain excitation data combining the excitation sequence, and the excitation data is extracted from pre-stored excitation data.

在本实施例中,因为激励序列为一种或者多种激励数据的组合,从预先存储的激励序列中查找激励序列标识对应的激励序列后,通过仿真平台解析模块中的解析算法解析所述激励序列。其中,解析算法包括但不局限于匹配算法。通过解析模块得到组合所述激励序列的激励数据,并从预先存储的激励数据中提取所述激励数据。In this embodiment, because the excitation sequence is a combination of one or more types of excitation data, after searching for the excitation sequence corresponding to the excitation sequence identifier from the pre-stored excitation sequence, the excitation sequence is analyzed through the analysis algorithm in the analysis module of the simulation platform. sequence. Wherein, the parsing algorithm includes but is not limited to a matching algorithm. The excitation data combined with the excitation sequence is obtained through the parsing module, and the excitation data is extracted from the pre-stored excitation data.

在步骤S202中,根据所述提取的激励数据,生成对应的报文数据。In step S202, corresponding message data is generated according to the extracted incentive data.

在本实施例中,根据从预先存储的激励数据中提取的激励数据,通过仿真平台中存在的报文模板,设置对应的参数,生成对应的报文数据,并将该报文数据存储至仿真平台的报文缓冲区中。In this embodiment, according to the stimulus data extracted from the pre-stored stimulus data, the corresponding parameters are set through the message template existing in the simulation platform, the corresponding message data is generated, and the message data is stored in the simulation In the message buffer of the platform.

在步骤S203中,根据所述报文数据,生成对应的波形,并将所述波形输入至预设的仿真模型中。In step S203, a corresponding waveform is generated according to the message data, and the waveform is input into a preset simulation model.

在本实施例中,通过仿真平台中存在的功能模块,将从报文缓存区中提取的报文数据转化成对应的波形,并将所述波形输入至预设的仿真模型中。其中,所述功能模块包括但不局限于总线功能模块,所述仿真模型为待测试超大规模集成电路(Very Large Scale Integrated circuits,VLSI)在测试环境中的目标文件构成的模型。In this embodiment, the message data extracted from the message buffer is converted into corresponding waveforms through the functional modules existing in the simulation platform, and the waveforms are input into a preset simulation model. Wherein, the functional modules include but are not limited to bus functional modules, and the simulation model is a model composed of target files of VLSI to be tested (Very Large Scale Integrated circuits, VLSI) in the test environment.

在步骤S204中,运行所述仿真模型,生成对应的仿真报告,并存储所述仿真报告,所述仿真报告包含对应的唯一标识符。In step S204, run the simulation model, generate a corresponding simulation report, and store the simulation report, where the simulation report includes a corresponding unique identifier.

在本实施例中,预设的仿真模型接收到所述波形后,通过仿真平台的后台运行指令,运行所述仿真模型,生成对应的仿真报告,并对所述仿真报告创建对应的唯一标识符,存储所述仿真报告以及对应的唯一标识符。其中,仿真报告中包括仿真模型运行后的结果和获取激励序列时的时间。通过记录所述时间,以检验激励序列是否更新,更好的满足项目变化的需求。In this embodiment, after the preset simulation model receives the waveform, it runs the simulation model through the background operation command of the simulation platform, generates a corresponding simulation report, and creates a corresponding unique identifier for the simulation report , storing the simulation report and the corresponding unique identifier. Wherein, the simulation report includes the result after the simulation model is run and the time when the excitation sequence is obtained. By recording the time, it is checked whether the incentive sequence is updated, so as to better meet the changing requirements of the project.

作为本发明的另一实施例,还包括将仿真模型运行后的结果与用户预期的结果进行比较,并将比较结果存入仿真报告中,方便用户验证仿真结果的有效性。As another embodiment of the present invention, it also includes comparing the running result of the simulation model with the user's expected result, and storing the comparison result in a simulation report, which is convenient for the user to verify the validity of the simulation result.

实施例二:Embodiment two:

图3示出了本发明实施例二提供的仿真报告生成装置的结构,为了便于说明,仅示出了与本发明实施例相关的部分。该仿真报告生成装置可以是内置于仿真平台中的软件单元、硬件单元或者软硬件相结合的单元。Fig. 3 shows the structure of the simulation report generation device provided by the second embodiment of the present invention, and for the convenience of description, only the parts related to the embodiment of the present invention are shown. The simulation report generation device may be a software unit, a hardware unit or a combination of software and hardware built in the simulation platform.

该仿真报告生成装置包括激励数据接收单元31、激励序列生成单元32、仿真请求接收单元33、激励序列查找单元34以及仿真报告生成单元35。其中:The simulation report generation device includes an excitation data receiving unit 31 , an excitation sequence generation unit 32 , a simulation request reception unit 33 , an excitation sequence search unit 34 and a simulation report generation unit 35 . in:

激励数据接收单元31接收并存储用户输入的激励数据。The incentive data receiving unit 31 receives and stores incentive data input by the user.

激励序列生成单元32根据所述激励数据,生成多个激励序列,并存储所述激励序列,所述激励序列包括对应的激励序列标识。The excitation sequence generating unit 32 generates a plurality of excitation sequences according to the excitation data, and stores the excitation sequences, where the excitation sequences include corresponding excitation sequence identifiers.

仿真请求接收单元33接收用户输入的仿真请求,所述仿真请求包括激励序列标识。The simulation request receiving unit 33 receives a simulation request input by a user, and the simulation request includes an excitation sequence identifier.

激励序列查找单元34从预先存储的激励序列中查找激励序列标识对应的激励序列。The excitation sequence search unit 34 searches the excitation sequence corresponding to the excitation sequence identifier from the pre-stored excitation sequences.

仿真报告生成单元35根据查找到的激励序列生成对应的仿真报告。其中,仿真报告生成单元34还包括激励序列解析模块351、报文数据生成模块352、波形生成模块353以及仿真报告生成模块354。The simulation report generating unit 35 generates a corresponding simulation report according to the found excitation sequence. Wherein, the simulation report generation unit 34 further includes an excitation sequence analysis module 351 , a message data generation module 352 , a waveform generation module 353 and a simulation report generation module 354 .

激励序列解析模块351解析所述获取的激励序列,得到组合所述激励序列的激励数据,并从预先存储的激励数据中提取所述激励数据。The stimulus sequence analysis module 351 analyzes the acquired stimulus sequence to obtain stimulus data combining the stimulus sequence, and extracts the stimulus data from pre-stored stimulus data.

报文数据生成模块352根据所述提取的激励数据,生成对应的报文数据。The message data generating module 352 generates corresponding message data according to the extracted incentive data.

波形生成模块353根据所述报文数据,生成对应的波形,并将所述波形输入至预设的仿真模型中。The waveform generating module 353 generates corresponding waveforms according to the message data, and inputs the waveforms into a preset simulation model.

仿真报告生成模块354运行所述仿真模型,生成对应的仿真报告,并存储所述仿真报告,所述仿真报告包含对应的唯一标识符。The simulation report generation module 354 runs the simulation model, generates a corresponding simulation report, and stores the simulation report, and the simulation report includes a corresponding unique identifier.

作为本发明的另一实施例,该仿真报告生成装置中的仿真报告生成单元还包括一比较输入模块355,用于将仿真模型运行后的结果与用户预期的结果进行比较,并将比较结果存入仿真报告中,方便用户验证仿真结果的有效性。As another embodiment of the present invention, the simulation report generation unit in the simulation report generation device also includes a comparison input module 355, which is used to compare the result after the simulation model is run with the user's expected result, and store the comparison result Into the simulation report, it is convenient for users to verify the validity of the simulation results.

在本实施例中,激励序列可以是一种激励数据,也可以是多种激励数据的组合。In this embodiment, the excitation sequence may be one type of excitation data, or a combination of various types of excitation data.

在本实施例中,预设的仿真模型接收到所述波形后,通过仿真平台的后台运行指令,运行所述仿真模型,生成对应的仿真报告,并对所述仿真报告创建对应的唯一标识符,将所述仿真报告与对应的唯一标识符存储至数据库中。其中,仿真报告中除了包括仿真模型运行后的结果外,还包括获取激励序列时的时间。通过记录所述时间,以检验激励序列是否更新,更好的满足项目变化的需求。In this embodiment, after the preset simulation model receives the waveform, it runs the simulation model through the background operation command of the simulation platform, generates a corresponding simulation report, and creates a corresponding unique identifier for the simulation report , storing the simulation report and the corresponding unique identifier in a database. Wherein, the simulation report includes not only the running results of the simulation model, but also the time when the excitation sequence is obtained. By recording the time, it is checked whether the incentive sequence is updated, so as to better meet the changing requirements of the project.

实施例三:Embodiment three:

下面通过综合虚拟环境(Synthetic Virtual Environment,SVE)仿真平台中仿真报告的生成这一具体实例来说明本发明的实施过程,具体步骤如下:The implementation process of the present invention is illustrated below by the specific example of the generation of the simulation report in the synthetic virtual environment (Synthetic Virtual Environment, SVE) simulation platform, and the concrete steps are as follows:

在本实施例中,SVE仿真平台的软件架构如图4所示,所述SVE仿真平台主要包括四部分测试管理模块(Test Management Applicaton,TMA)、数据库(DataBase,DB)、测试平台(Test Bench)以及仿真设计模块(Design UnderVerification,DUV)。其中测试平台又包括解析器(Cast Analyzer,CA)、报文生成器(Packet Generator,PG)、可编程语言接口(Programming LanguageInterface,PLI)、报文缓存区(Packet Buffer,PB)、总线功能模型(Bus FunctionalModel,BFM)、检测器(Checker)以及仿真报告模块(Test Reporter,TR)。In the present embodiment, the software framework of SVE emulation platform is as shown in Figure 4, and described SVE emulation platform mainly comprises four parts test management module (Test Management Application, TMA), database (DataBase, DB), test platform (Test Bench ) and simulation design module (Design UnderVerification, DUV). The test platform includes a parser (Cast Analyzer, CA), a packet generator (Packet Generator, PG), a programming language interface (Programming Language Interface, PLI), a packet buffer (Packet Buffer, PB), and a bus function model (Bus FunctionalModel, BFM), detector (Checker) and simulation report module (Test Reporter, TR).

一种SVE仿真平台中仿真报告的生成方法,所述方法的步骤具体为:A method for generating a simulation report in an SVE simulation platform, the steps of the method are specifically:

1.接收用户通过测试管理模块(TMA)输入的激励数据,并将所述激励数据存储至数据库中;1. Receive the stimulus data input by the user through the test management module (TMA), and store the stimulus data in the database;

2.接收根据所述激励数据的一种或者多种组合而成的激励序列,并将所述激励序列存储至数据库中,所述激励序列包含对应的激励序列标识;2. Receive an excitation sequence based on one or more combinations of the excitation data, and store the excitation sequence in a database, the excitation sequence includes a corresponding excitation sequence identifier;

3.接收用户输入的仿真请求,所述仿真请求包括激励序列标识。SVE仿真平台中的测试平台根据所述激励序列唯一标识符,从数据库中获取对应的激励序列,通过测试平台中的解析器(CA)解析所述激励序列,得到组合所述激励序列的激励数据,并从数据库中获取所述激励数据,测试平台中的报文生成器(PG)将所述激励数据转化成对应的报文数据,并将所述报文数据存储至报文缓冲区中。测试平台从报文缓冲区中获取报文数据,总线功能模型(BFM)根据所述报文数据,将所述报文数据转化成对应的波形,并将所述波形发送给仿真设计模块(DUV),仿真设计模块(DUV)运行后,通过仿真报告模块(TR)生成对应的仿真报告,并将所述仿真报告存储至数据库中,所述仿真报告包含对应的唯一标识符;3. Receive a simulation request input by a user, where the simulation request includes an excitation sequence identifier. The test platform in the SVE simulation platform obtains the corresponding excitation sequence from the database according to the unique identifier of the excitation sequence, and resolves the excitation sequence by the resolver (CA) in the test platform to obtain the excitation data combining the excitation sequence , and obtain the stimulus data from the database, the message generator (PG) in the test platform converts the stimulus data into corresponding message data, and stores the message data in the message buffer. The test platform obtains the message data from the message buffer, and the bus function model (BFM) converts the message data into corresponding waveforms according to the message data, and sends the waveform to the simulation design module (DUV ), after the simulation design module (DUV) runs, generate a corresponding simulation report by the simulation report module (TR), and store the simulation report in the database, and the simulation report includes a corresponding unique identifier;

本实施例还包括通过检测器(Checker)检查运行结果,将所述运行结果与用户预期的结果进行比较,并将比较后的结果存储至仿真报告中。This embodiment also includes checking the running result by a checker, comparing the running result with the user's expected result, and storing the compared result in the simulation report.

4.接收用户通过测试管理模块(TMA)输入的仿真报告唯一标识符,测试管理模块(TMA)从数据库中获取对应的仿真报告,并将所述仿真报告通过测试管理模块(TMA)显示给用户。4. Receive the unique identifier of the simulation report input by the user through the test management module (TMA), the test management module (TMA) obtains the corresponding simulation report from the database, and displays the simulation report to the user through the test management module (TMA) .

一种SVE仿真平台中仿真报告的生成装置,为了便于说明,仅示出了与本发明实施例相关的部分。该仿真报告生成装置可以是内置于SVE仿真平台中的软件单元、硬件单元或者软硬件相结合的单元。所述装置包括:A device for generating a simulation report in an SVE simulation platform. For ease of description, only the parts related to the embodiment of the present invention are shown. The simulation report generating device may be a software unit, a hardware unit or a combination of software and hardware built in the SVE simulation platform. The devices include:

激励数据接收单元,用于接收用户通过测试管理模块(TMA)输入的激励数据,并将所述激励数据存储至数据库中;The stimulus data receiving unit is used to receive the stimulus data input by the user through the test management module (TMA), and store the stimulus data in the database;

激励序列生成单元,用于接收根据所述激励数据的一种或者多种组合而成的激励序列,并将所述激励序列存储至数据库中,所述激励序列包含对应的唯一标识符;An excitation sequence generating unit, configured to receive an excitation sequence formed according to one or more combinations of the excitation data, and store the excitation sequence in a database, the excitation sequence including a corresponding unique identifier;

仿真报告生成单元,用于接收用户输入的仿真请求,所述仿真请求包括激励序列标识,SVE仿真平台中的测试平台根据所述激励序列唯一标识符,从数据库中获取对应的激励序列,通过测试平台中的解析器(CA)解析所述激励序列,得到组合所述激励序列的激励数据,并从数据库中获取所述激励数据,测试平台中的报文生成器(PG)将所述激励数据转化成对应的报文数据,并将所述报文数据存储至报文缓冲区中。测试平台从报文缓冲区中获取报文数据,总线功能模型(BFM)根据所述报文数据,将所述报文数据转化成对应的波形,并将所述波形发送给仿真设计模块(DUV),仿真设计模块(DUV)运行后,通过仿真报告模块(TR)生成对应的仿真报告,并将所述仿真报告存储至数据库中,所述仿真报告包含对应的唯一标识符;The simulation report generation unit is used to receive the simulation request input by the user, and the simulation request includes the stimulus sequence identification, and the test platform in the SVE simulation platform obtains the corresponding stimulus sequence from the database according to the unique identifier of the stimulus sequence, and passes the test The resolver (CA) in the platform resolves described excitation sequence, obtains the excitation data of combining described excitation sequence, and obtains described excitation data from database, and the message generator (PG) in test platform will described excitation data Convert it into corresponding message data, and store the message data in the message buffer. The test platform obtains the message data from the message buffer, and the bus function model (BFM) converts the message data into corresponding waveforms according to the message data, and sends the waveform to the simulation design module (DUV ), after the simulation design module (DUV) runs, generate a corresponding simulation report by the simulation report module (TR), and store the simulation report in the database, and the simulation report includes a corresponding unique identifier;

本实施例还包括通过检测器(Checker)检查运行结果,将所述运行结果与用户预期的结果进行比较,并将比较后的结果存储至仿真报告中。This embodiment also includes checking the running result by a checker, comparing the running result with the user's expected result, and storing the compared result in the simulation report.

仿真报告显示单元,用于接收用户通过测试管理模块(TMA)输入的仿真报告唯一标识符,测试管理模块(TMA)从数据库中获取对应的仿真报告,并将所述仿真报告通过测试管理模块(TMA)显示给用户。The simulation report display unit is used to receive the simulation report unique identifier input by the user through the test management module (TMA), the test management module (TMA) obtains the corresponding simulation report from the database, and passes the simulation report through the test management module ( TMA) displayed to the user.

在本发明实施例中,通过仿真平台接收和存储用户输入的激励数据,实现了对激励数据的有效管理,保证了激励数据的可复用性,根据所述激励数据生成不同的激励序列,满足了不同项目的激励需求,并根据所述激励序列,生成统一格式的仿真报告,实现了仿真过程的自动化与标准化,有效的减少了仿真过程中的出错率,提高了仿真效率。In the embodiment of the present invention, the simulation platform receives and stores the incentive data input by the user, realizes the effective management of the incentive data, ensures the reusability of the incentive data, generates different incentive sequences according to the incentive data, and satisfies the According to the incentive requirements of different projects, and according to the incentive sequence, a simulation report in a unified format is generated, which realizes the automation and standardization of the simulation process, effectively reduces the error rate in the simulation process, and improves the simulation efficiency.

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

Claims (11)

1. the method that simulation report generates in the emulation platform is characterized in that said method comprises the steps:
Receive the simulation request of user's input, said simulation request comprises the activation sequence sign;
From the activation sequence of storage in advance, search the corresponding activation sequence of activation sequence sign;
Generate the corresponding simulation report according to the activation sequence that finds.
2. the method for claim 1 is characterized in that, in the simulation request of said reception user input, said simulation request comprises before the step of activation sequence sign, also comprises:
Receive and store the excited data of user's input;
According to said excited data, generate a plurality of activation sequence, and store said activation sequence, said activation sequence comprises corresponding activation sequence sign.
3. like claim 1 or 2 described methods, it is characterized in that said activation sequence is the combination of one or more excited datas.
4. the method for claim 1 is characterized in that, the step that the activation sequence that said basis finds generates the corresponding simulation report is specially:
Resolve the said activation sequence of obtaining, obtain making up the excited data of said activation sequence, and from the excited data of storage in advance, extract said excited data;
According to the excited data of said extraction, generate corresponding message data;
According to said message data, generate corresponding waveform, and said waveform is inputed in the preset realistic model;
Move said realistic model, generate the corresponding simulation report, and store said simulation report, said simulation report comprises corresponding unique identifier.
5. the method for claim 1 is characterized in that, said emulation platform is an integrated virtual environmental simulation platform.
6. simulation report generating apparatus in the emulation platform is characterized in that said device comprises:
The simulation request receiving element is used to receive the simulation request that the user imports, and said simulation request comprises the activation sequence sign;
Activation sequence is searched the unit, is used for searching the corresponding activation sequence of activation sequence sign from the activation sequence of storage in advance;
The simulation report generation unit is used for generating the corresponding simulation report according to the activation sequence that finds.
7. device as claimed in claim 6 is characterized in that, said device also comprises:
The excited data receiving element is used to receive and store the excited data of user's input;
The activation sequence generation unit is used for generating a plurality of activation sequence according to said excited data, and stores said activation sequence, and said activation sequence comprises corresponding activation sequence sign.
8. like claim 6 or 7 described devices, it is characterized in that said activation sequence is the combination of one or more excited datas.
9. device as claimed in claim 6 is characterized in that, said simulation report generation unit also comprises:
The activation sequence parsing module is used to resolve the said activation sequence of obtaining, and obtains making up the excited data of said activation sequence, and from the excited data of storage in advance, extracts said excited data;
The message data generation module is used for the excited data according to said extraction, generates corresponding message data;
The waveform generation module is used for according to said message data, generates corresponding waveform, and said waveform is inputed in the preset realistic model;
The simulation report generation module is used to move said realistic model, generates the corresponding simulation report, and stores said simulation report, and said simulation report comprises corresponding unique identifier.
10. device as claimed in claim 6 is characterized in that, said emulation platform is an integrated virtual environmental simulation platform.
11. an emulation platform is characterized in that, said emulation platform comprises the described simulation report generating apparatus of claim 6.
CN 201010598591 2010-12-21 2010-12-21 Method and device for generating simulation report in simulation platform Expired - Fee Related CN102541830B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010598591 CN102541830B (en) 2010-12-21 2010-12-21 Method and device for generating simulation report in simulation platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010598591 CN102541830B (en) 2010-12-21 2010-12-21 Method and device for generating simulation report in simulation platform

Publications (2)

Publication Number Publication Date
CN102541830A true CN102541830A (en) 2012-07-04
CN102541830B CN102541830B (en) 2013-12-25

Family

ID=46348756

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010598591 Expired - Fee Related CN102541830B (en) 2010-12-21 2010-12-21 Method and device for generating simulation report in simulation platform

Country Status (1)

Country Link
CN (1) CN102541830B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017020590A1 (en) * 2015-08-05 2017-02-09 深圳市中兴微电子技术有限公司 Chip validation method and device, equipment, and data storage medium
CN108389104A (en) * 2018-01-31 2018-08-10 口碑(上海)信息技术有限公司 A kind of emulation verification method and device of network activity
CN109145389A (en) * 2018-07-25 2019-01-04 清华大学 integrated circuit model multiplexing method and device
CN112528589A (en) * 2019-08-29 2021-03-19 天津大学青岛海洋技术研究院 Worst case excitation applied to DDR interface system transmission performance detection

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1577274A (en) * 2003-07-01 2005-02-09 华为技术有限公司 Automation emulation method and system
US20050223281A1 (en) * 2004-02-03 2005-10-06 Maly John W Transaction logging and intelligent error reporting in an expectation-based memory agent checker
CN1744092A (en) * 2004-09-04 2006-03-08 华为技术有限公司 Method and system for automatic schedule logic simulation and code coverage rate analysis
CN101093521A (en) * 2007-07-24 2007-12-26 中兴通讯股份有限公司 FPGA emulation device and method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1577274A (en) * 2003-07-01 2005-02-09 华为技术有限公司 Automation emulation method and system
US20050223281A1 (en) * 2004-02-03 2005-10-06 Maly John W Transaction logging and intelligent error reporting in an expectation-based memory agent checker
CN1744092A (en) * 2004-09-04 2006-03-08 华为技术有限公司 Method and system for automatic schedule logic simulation and code coverage rate analysis
CN101093521A (en) * 2007-07-24 2007-12-26 中兴通讯股份有限公司 FPGA emulation device and method

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017020590A1 (en) * 2015-08-05 2017-02-09 深圳市中兴微电子技术有限公司 Chip validation method and device, equipment, and data storage medium
CN106445800A (en) * 2015-08-05 2017-02-22 深圳市中兴微电子技术有限公司 Chip verification method and device
CN108389104A (en) * 2018-01-31 2018-08-10 口碑(上海)信息技术有限公司 A kind of emulation verification method and device of network activity
CN108389104B (en) * 2018-01-31 2021-06-25 口碑(上海)信息技术有限公司 Simulation verification method and device for network activities
CN109145389A (en) * 2018-07-25 2019-01-04 清华大学 integrated circuit model multiplexing method and device
CN109145389B (en) * 2018-07-25 2020-11-06 清华大学 Integrated circuit model multiplexing method and device
CN112528589A (en) * 2019-08-29 2021-03-19 天津大学青岛海洋技术研究院 Worst case excitation applied to DDR interface system transmission performance detection

Also Published As

Publication number Publication date
CN102541830B (en) 2013-12-25

Similar Documents

Publication Publication Date Title
WO2016197768A1 (en) Chip verification method, device, and system
US9519571B2 (en) Method for analyzing transaction traces to enable process testing
CN108345532A (en) A kind of automatic test cases generation method and device
CN112417798B (en) Time sequence testing method and device, electronic equipment and storage medium
CN111722839A (en) Code generation method and device, electronic equipment and storage medium
CN105389256A (en) Unit testing method and system
CN111209203B (en) Model verification method based on source code
CN103268325A (en) Dynamic checking method of IED model configuration correctness in intelligent substation based on SCD file
CN102355062A (en) IEC (International Electrotechnical Commission) 61850 relay protection model checking method
CN102404167A (en) Protocol test generation method of parallel extended finite state machine based on variable dependence
CN102541830B (en) Method and device for generating simulation report in simulation platform
CN108563951A (en) Method for detecting virus and device
CN113377661A (en) Interface testing method and device, electronic equipment and storage medium
CN101777023A (en) Method and device for generating test cases
CN114661615B (en) FPGA software testing method and device
CN107766230A (en) A kind of method and apparatus tested based on configuration file
CN108614764B (en) IMA application software fault injection method
CN102609571A (en) Automatic IP (internet protocol) verification platform
CN116401113B (en) Environment verification method, device and medium for accelerator card with heterogeneous many-core architecture
US10789404B1 (en) System, method, and computer program product for generating a formal verification model
CN116719729B (en) Universal verification platform, universal verification method, medium and electronic equipment
CN115062496B (en) Verification method and device for embedded application, electronic equipment and chip
CN116992805A (en) Chip verification system, method and verification equipment based on generation type constraint model
CN106330556B (en) A kind of method and apparatus calling related information for generating service module
CN111240972B (en) Model verification device based on source code

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C56 Change in the name or address of the patentee

Owner name: SHENZHEN SEMPTIAN TECHNOLOGIES?CO.,?LTD.

Free format text: FORMER NAME: SEMPTIAN TECHNOLOGY CO., LTD.

CP03 Change of name, title or address

Address after: 518000, Guangdong Shenzhen hi tech Southern District, Haitian two road 14, software industry base, 5D block, 7, Nanshan District

Patentee after: SEMPTIAN TECHNOLOGIES LTD.

Address before: 518000 Guangdong Province, Shenzhen city Nanshan District District Science Park Road, building 6 storey main building Jiada Lang

Patentee before: Semptian Technologies Ltd.

C56 Change in the name or address of the patentee
CP03 Change of name, title or address

Address after: 518000 Guangdong city of Shenzhen province Nanshan District Guangdong streets two Haitian Road No. 14, block 5D 8 layer software industry base

Patentee after: Shenzhen Hengyang Data Co.,Ltd.

Address before: 518000, Guangdong Shenzhen hi tech Southern District, Haitian two road 14, software industry base, 5D block, 7, Nanshan District

Patentee before: SEMPTIAN TECHNOLOGIES LTD.

PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Method and device for generating simulation report in simulation platform

Effective date of registration: 20170713

Granted publication date: 20131225

Pledgee: Bank of Beijing Limited by Share Ltd. Shenzhen branch

Pledgor: Shenzhen Hengyang Data Co.,Ltd.

Registration number: 2017990000630

PE01 Entry into force of the registration of the contract for pledge of patent right
PC01 Cancellation of the registration of the contract for pledge of patent right

Date of cancellation: 20190520

Granted publication date: 20131225

Pledgee: Bank of Beijing Limited by Share Ltd. Shenzhen branch

Pledgor: Shenzhen Hengyang Data Co.,Ltd.

Registration number: 2017990000630

PC01 Cancellation of the registration of the contract for pledge of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20131225

CF01 Termination of patent right due to non-payment of annual fee