[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN106156423B - A kind of method and apparatus realizing test platform and being communicated with user's trial-ray method to be measured - Google Patents

A kind of method and apparatus realizing test platform and being communicated with user's trial-ray method to be measured Download PDF

Info

Publication number
CN106156423B
CN106156423B CN201610520857.5A CN201610520857A CN106156423B CN 106156423 B CN106156423 B CN 106156423B CN 201610520857 A CN201610520857 A CN 201610520857A CN 106156423 B CN106156423 B CN 106156423B
Authority
CN
China
Prior art keywords
exchanger
hardware
output port
information
name information
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
CN201610520857.5A
Other languages
Chinese (zh)
Other versions
CN106156423A (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.)
Hefei Haibenlan Technology Co Ltd
Original Assignee
Hefei Haibenlan Technology 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 Hefei Haibenlan Technology Co Ltd filed Critical Hefei Haibenlan Technology Co Ltd
Priority to CN201610520857.5A priority Critical patent/CN106156423B/en
Publication of CN106156423A publication Critical patent/CN106156423A/en
Application granted granted Critical
Publication of CN106156423B publication Critical patent/CN106156423B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/30Circuit design
    • G06F30/39Circuit design at the physical level
    • G06F30/398Design verification or optimisation, e.g. using design rule check [DRC], layout versus schematics [LVS] or finite element methods [FEM]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • Geometry (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The present invention provides a kind of method and apparatus realizing test platform and communicating with user's trial-ray method to be measured, method includes: to generate exchanger according to the top-level module in DUT, and inputted according to hardware in DUT, the attribute information of output port generation Parameter File, send the attribute information and Parameter File of exchanger;Analytic parameter file is to obtain hardware input, name information and the transmission of the name information of output port and corresponding exchanger;Standard in combination simulation modeling interface proxy is generated according to the attribute information of the name information of hardware input, the name information of output port and corresponding exchanger and exchanger and is sent;Test stimulus data is sent to exchanger by the agency, and the data response message of exchanger generation is received by the agency and is sent to test platform.The present invention can increase operability, flexibility and the portability of test platform, and communication interaction procedure level is clear, greatly facilitate program designer's maintenance program.

Description

A kind of method and apparatus realizing test platform and being communicated with user's trial-ray method to be measured
Technical field
Design and simulation technical field of the present invention is communicated more particularly to a kind of realization test platform with user's trial-ray method to be measured Method and a kind of device realizing test platform and being communicated with user's trial-ray method to be measured.
Background technique
In the design of digital integrated electronic circuit, when design engineer is with HDL (Hardware Description Language, hardware description language) after complete design, need to be emulated by HDL simulator whether full come test design Function expected from foot.
In the prior art, design engineer by operate in the test platform on HDL simulator (Test Bench) to In FPGA (Fiels-Programmable Gate Array, field programmable gate array) user's trial-ray method to be measured (DUT, Device Under Test) test and excitation, user's trial-ray method response to be measured and output information are sent, complete emulation.
But with the continuous improvement of system design complexity being continuously increased with integrated design degree, in the prior art, this Kind is directly more and more obvious by the limitation that HDL simulator interface and FPGA carry out information interaction approach.The limitation embodies In the following aspects: test platform only supports a kind of language, this greatly reduces the operability and flexibility of test platform; In addition, test platform is run directly on HDL simulator, the portability of test platform is greatly reduced;In addition, this test Platform directly accesses the mode of HDL simulator interface, so that interactive level is very indefinite in simulation process, to program designer's Maintenance work brings inconvenience.
Summary of the invention
In view of the above problems, the embodiment of the present invention be designed to provide a kind of realization test platform and user is to be tested sets The method communicated and a kind of corresponding square device realizing test platform and communicating with user's trial-ray method to be measured are counted, to solve existing skill In art, interactive level is very indefinite in the operability of test platform, flexibility and portable difference and simulation process is asked Topic.
To solve the above-mentioned problems, the embodiment of the invention discloses a kind of realization test platform and user's trial-ray method to be measured are logical The method of letter, comprising the following steps: step S1 receives user's trial-ray method to be measured, according to the top layer mould in user's trial-ray method to be measured Block generates exchanger (Transactor), and attribute information and hardware according to hardware input port in user's trial-ray method to be measured The attribute information of output port generates Parameter File, sends the attribute information and the Parameter File of the exchanger;It is described hard The attribute information of part input port includes the name information of the hardware input port and corresponding with the hardware input port The name information of exchanger, the attribute information of the hardware output port include the hardware output port name information and with The name information of the corresponding exchanger of the hardware output port;Step S2 receives the Parameter File, parses the parameter text Part with obtain the name information of the hardware input port, the name information of exchanger corresponding with the hardware input port, The name information of the name information of the hardware output port and exchanger corresponding with the hardware output port, described in transmission The name information of hardware input port, the name information of exchanger corresponding with the hardware input port, hardware output The name information of the name information of port and exchanger corresponding with the hardware output port;Step S3 receives the hardware The name information of input port, the name information of exchanger corresponding with the hardware input port, the hardware output port Name information, the name information of exchanger corresponding with the hardware output port and the attribute information of the exchanger, root According to the name information of the hardware input port, name information of exchanger corresponding with the hardware input port, described hard The category of the name information of part output port, the name information of exchanger corresponding with the hardware output port and the exchanger Property information generate standard in combination simulation modeling interface proxy, send the standard in combination simulation modeling interface proxy;Step S4, connects The test stimulus data and the standard in combination simulation modeling interface proxy that Acceptance Tests platform generates, it is imitative by the standard in combination The test stimulus data is sent to the exchanger by true modeling interface proxy, and passes through the standard in combination simulation modeling Interface proxy receives the data response message that the exchanger generates, and sends the data response message to the test platform.
Optionally, the exchanger includes input port and output port, and the step S3 is according to the hardware input terminal Name information, the name information of exchanger corresponding with the hardware input port, the title of the hardware output port of mouth The attribute information of information, the name information of exchanger corresponding with the hardware output port and the exchanger generates standard association With simulation modeling interface proxy, comprising the following steps: when exchanger corresponding with the hardware input port name information with In the attribute information of the exchanger when name information matching of input port, by the hardware input port and the exchanger Input port bound, and when exchanger corresponding with the hardware output port name information and the exchanger Attribute information in output port name information matching when, by the output port of the hardware output port and the exchanger It is bound, and sends the attribute information of the hardware input port after binding and the attribute letter of the hardware output port after binding Breath;The attribute information of hardware input port after receiving the binding and the attribute of the hardware output port after binding letter Breath is the hardware input port log-on data hair after the binding according to the attribute information of the hardware input port after the binding Delivery method, and infused according to the attribute information of the hardware output port after the binding for the hardware output port after the binding Volumes sends the data transmission method for uplink and the data receiver method according to method of reseptance;Receive the data transmission method for uplink With the data receiver method, the standard in combination simulation modeling sent for data is generated according to the data transmission method for uplink and is inputted Interface proxy, and the standard in combination simulation modeling output interface generation for being used for data receiver is generated according to the data receiver method Reason.
Optionally, the hardware input port log-on data sending method for after the binding, comprising the following steps: logical The test stimulus data is sent to the input port of the exchanger by the hardware input port after crossing the binding.
Optionally, the hardware output port log-on data method of reseptance for after the binding, comprising the following steps: logical Hardware output port after crossing the binding receives the data response message that the output interface of the exchanger generates, and will be described Data response message is sent to the step S4.
Optionally, in the step S4 by the standard in combination simulation modeling interface proxy by the test stimulus data It is sent to after the exchanger, and passes through described in standard in combination simulation modeling interface proxy reception in the step S4 It is further comprising the steps of before the data response message that exchanger generates: described in the input port reception by the exchanger The test stimulus data is sent to user trial-ray method to be measured by test stimulus data, and it is to be tested to receive the user The data response message sent is designed, the data response message is sent to described by the output port of the exchanger Standard in combination simulation modeling interface proxy.
To solve the above-mentioned problems, the embodiment of the invention also discloses a kind of realization test platforms and user's trial-ray method to be measured The device of communication, comprising: compiling (Build) module, for receiving user's trial-ray method to be measured, according in user's trial-ray method to be measured Top-level module generates exchanger, and attribute information and hardware output end according to hardware input port in user's trial-ray method to be measured The attribute information of mouth generates Parameter File, sends the attribute information and the Parameter File of the exchanger;The hardware input The attribute information of port include the hardware input port name information and exchanger corresponding with the hardware input port Name information, the attribute information of the hardware output port include the hardware output port name information and with it is described hard The name information of the corresponding exchanger of part output port;(Parse) module is parsed, for receiving the Parameter File, parses institute Parameter File is stated to obtain the name of the name information of the hardware input port, exchanger corresponding with the hardware input port Claim information, the name information of the name information of the hardware output port and exchanger corresponding with the hardware output port, Send the name information of the hardware input port, name information of exchanger corresponding with the hardware input port, described The name information of the name information of hardware output port and exchanger corresponding with the hardware output port;It acts on behalf of (Proxy) Module, for receiving the name information of the hardware input port, the title of exchanger corresponding with the hardware input port Information, the name information of the hardware output port, the name information of exchanger corresponding with the hardware output port and institute The attribute information for stating exchanger, according to the name information of the hardware input port, friendship corresponding with the hardware input port The name information of parallel operation, the name information of the hardware output port, the name of exchanger corresponding with the hardware output port Claim the attribute information of information and the exchanger to generate standard in combination simulation modeling interface proxy, sends the standard in combination emulation Model interface proxy;Transaction layer (Xactor) module, for receiving the test stimulus data and the standard of test platform generation The test stimulus data is sent to by collaborative simulation modeling interface proxy by the standard in combination simulation modeling interface proxy The exchanger, and the data response letter that the exchanger generates is received by the standard in combination simulation modeling interface proxy Breath, sends the data response message to the test platform.
Optionally, the exchanger includes input port and output port, and the proxy module includes: exchanger binding Module, for when exchanger corresponding with the hardware input port name information with it is defeated in the attribute information of the exchanger When the name information matching of inbound port, the input port of the hardware input port and the exchanger is bound, and When output port in the name information of exchanger corresponding with the hardware output port and the attribute information of the exchanger When name information matches, the output port of the hardware output port and the exchanger is bound, and after sending binding Hardware input port attribute information and the hardware output port after binding attribute information;Data transmission submodule, is used for The attribute information of hardware input port after receiving the binding and the attribute information of the hardware output port after the binding, root Attribute information according to the hardware input port after the binding is the hardware input port log-on data sender after the binding Method, and number is registered for the hardware output port after the binding according to the attribute information of the hardware output port after the binding According to method of reseptance, and send the data transmission method for uplink and the data receiver method;Agency generates submodule, for receiving Data transmission method for uplink and the data receiver method are stated, the standard sent for data is generated according to the data transmission method for uplink and is assisted It is acted on behalf of with simulation modeling input interface, and is generated according to the data receiver method and emulated for the standard in combination of data receiver Model output interface agency.
Optionally, the data transmission submodule includes: data transmission method for uplink registration submodule, for passing through the binding The test stimulus data is sent to the input port of the exchanger by hardware input port afterwards.
Optionally, the data transmission submodule includes: data receiver method registration submodule, for passing through the binding Hardware output port afterwards receives the data response message that the output interface of the exchanger generates, and the data are responded and are believed Breath is sent to the transaction layer module.
Optionally, pass through the standard in combination simulation modeling interface proxy for the test and excitation in the transaction layer module Data are sent to after the exchanger, and pass through the standard in combination simulation modeling interface proxy in the transaction layer module Before receiving the data response message that the exchanger generates, the exchanger is used to receive the test by input port and swashs Data are encouraged, the test stimulus data is sent to user trial-ray method to be measured, and receive user trial-ray method hair to be measured The data response message sent sends the data response message to the standard in combination simulation modeling by output port and connects Mouth agency.
The embodiment of the present invention includes following advantages:
First, according to the hardware information in user's trial-ray method to be measured, (attribute information and hardware of hardware input port are exported The attribute information of port) Parameter File is generated, it is used based on the parsing realization to Parameter File when writing test platform soft Part side interface, software side interface can be compatible with a variety of compilers and system platform, so that the realization of software side interface is utmostly Ground is detached from hardware.
Second, based on SCE-MI (Standard Co-Emulation Modeling Interface, standard in combination emulation Model interface) standard agreement, test platform and user's trial-ray method to be measured are completed using standard in combination simulation modeling interface proxy The data interaction of hardware input port, hardware output port guarantees the reliable of test platform while standardizing emulation interface Property and portability.
The interactive process of test platform and user's trial-ray method to be measured is carried out stratification, greatly facilitates program and set by third Meter person carries out program maintenance according to the interactive process of test platform and user's trial-ray method to be measured, at the same improve test platform can Transplantability.
4th, it can support the survey of the multilinguals such as C language, C Plus Plus, Verilog language, Java language, C# language Platform is tried, the operability and flexibility of test platform are considerably increased.
5th, test platform and operation test can be write under independent environment (such as computer with compiler) Platform, the independent environment do not need the portability that test platform is substantially increased using HDL simulator interface.
Detailed description of the invention
Fig. 1 is a kind of the step of realizing the embodiment of the method that test platform is communicated with user's trial-ray method to be measured stream of the invention Cheng Tu;
Fig. 2 is a kind of step for realizing method specific embodiment that test platform is communicated with user's trial-ray method to be measured of the invention Rapid flow chart;
Fig. 3 is a kind of structural frames for realizing Installation practice that test platform is communicated with user's trial-ray method to be measured of the invention Figure;
Fig. 4 is a kind of knot for realizing device specific embodiment that test platform is communicated with user's trial-ray method to be measured of the invention Structure block diagram.
Specific embodiment
In order to make the foregoing objectives, features and advantages of the present invention clearer and more comprehensible, with reference to the accompanying drawing and specific real Applying mode, the present invention is described in further detail.
Referring to Fig.1, a kind of method implementation realizing test platform and communicating with user's trial-ray method to be measured of the invention is shown The step flow chart of example, the method which communicates with user's trial-ray method to be measured can specifically include following steps:
Step S1 receives user's trial-ray method to be measured, generates exchanger according to the top-level module in user's trial-ray method to be measured, with And parameter is generated according to the attribute information of the attribute information of hardware input port and hardware output port in user's trial-ray method to be measured File sends the attribute information and Parameter File of exchanger.
In one embodiment of the invention, step S1 can pass through recalls information extracting tool such as Gateway tool Top-level module in user's trial-ray method to be measured is parsed, generates exchanger, and can be by calling analytical tool for example Scemilink tool generates Parameter File according to the attribute information of hardware input port and the attribute information of hardware output port.
Wherein, Parameter File may include the attribute information of hardware input port and the attribute information of hardware output port Deng.The attribute information of hardware input port may include the name information of hardware input port and corresponding with hardware input port The name information etc. of exchanger, the attribute information of hardware output port include the name information of hardware output port and defeated with hardware The name information etc. of the corresponding exchanger of exit port.
Step S2 receives Parameter File, and analytic parameter file is to obtain the name information of hardware input port, defeated with hardware The name information of the corresponding exchanger of inbound port, the name information of hardware output port and exchange corresponding with hardware output port The name information of device, send the name information of hardware input port, the name information of exchanger corresponding with hardware input port, The name information of the name information of hardware output port and exchanger corresponding with hardware output port.
Step S3 receives name information, the title of exchanger corresponding with the hardware input port letter of hardware input port Breath, the name information of hardware output port, the name information of exchanger corresponding with hardware output port and the attribute of exchanger Information is exported according to the name information of hardware input port, the name information of exchanger corresponding with hardware input port, hardware The attribute information of the name information of port, the name information of exchanger corresponding with hardware output port and exchanger generates standard Collaborative simulation modeling interface proxy sends standard in combination simulation modeling interface proxy.
Step S4 receives test stimulus data and standard in combination simulation modeling interface proxy that test platform generates, passes through Test stimulus data is sent to exchanger by standard in combination simulation modeling interface proxy, and is connect by standard in combination simulation modeling Mouth agency receives the data response message that exchanger generates, and sends data response message to test platform.
Specifically, the exchanger generated in step S1 according to the top-level module in user's trial-ray method to be measured is for connecting standard Collaborative simulation modeling interface proxy and user's trial-ray method to be measured.Specifically, exchanger may include input port, output port and Asynchronous FIFO (First In First Out, first in first out) port, exchanger carry out pipe using input port, output port respectively Manage reception and transmission of user's trial-ray method to be measured to data, asynchronous FIFO port is for connection exchanger and user is to be tested sets Meter, and carry out data transmission.The attribute information of exchanger may include the name information of the input port of exchanger, exchanger Name information and the name information of exchanger of output port etc..
Specifically, in one embodiment of the invention, the attribute information of hardware input port and hardware output port Attribute information may include the name information of corresponding exchanger, port name information, port width information and channel mark respectively Number four attribute informations of information.Specifically, in attribute information the name information of exchanger define with user's trial-ray method to be measured into The exchanger title of row data interaction, port name information define the port name of agency, and port width information defines generation The port width of reason, channel number information define using the agency send data when selector channel label, channel pass through by The input port of exchanger, exchanger output port realized respectively with the binding of hardware input port, hardware output port, Wherein, one channel of the input port of exchanger and hardware input port binding composition, the output port and hardware of exchanger are defeated Exit port binding composition channel.
Further, in one particular embodiment of the present invention, referring to Fig. 2, step S3 is according to hardware input port It is name information, the name information of exchanger corresponding with hardware input port, the name information of hardware output port, defeated with hardware The name information of the corresponding exchanger of exit port and the attribute information of exchanger generate standard in combination simulation modeling interface proxy, can With the following steps are included:
Step S31, when defeated in the name information of exchanger corresponding with hardware input port and the attribute information of exchanger Inbound port name information matching when, the input port of hardware input port and exchanger is bound, and when and hardware It, will when the name information of the corresponding exchanger of output port is matched with the name information of output port in the attribute information of exchanger The output port of hardware output port and exchanger is bound, and send binding after hardware input port attribute information and The attribute information of hardware output port after binding.
Step S32, the attribute information of the hardware input port after receiving binding and the category of the hardware output port after binding Property information, the attribute information according to the hardware input port after binding be binding after hardware input port log-on data sender Method, and according to the attribute information of the hardware output port after binding be binding after hardware output port log-on data recipient Method, and send data transmission method for uplink and data method of reseptance.
Wherein, data transmission method for uplink may include that the attribute information of the hardware input port after binding and data send behavior Information etc., data receiver method may include the attribute information and data reception behavior features information of the hardware output port after binding Deng.
Optionally, referring to the hardware input port log-on data sending method that Fig. 2, step S32 are after binding, may include Following steps:
Test stimulus data is sent to the input terminal of exchanger by the hardware input port after binding by step S321 Mouthful.
Optionally, referring to the hardware output port log-on data method of reseptance that Fig. 2, step S32 are after binding, may include Following steps:
Step S322 responds letter by the data that the output interface that the hardware output port after binding receives exchanger generates Breath, and data response message is sent to step S4.
Wherein, step S321 can be before step S322 or step S321 can be after step S322 or step S321 can be carried out simultaneously with step S322.In Fig. 2, step S321 is before step S322.
Step S33 receives data transmission method for uplink and data method of reseptance, is generated according to data transmission method for uplink and is sent out for data The standard in combination simulation modeling input interface agency sent, and generated according to data receiver method and assisted for the standard of data receiver It is acted on behalf of with simulation modeling output interface.
Specifically, agency (proxy) be software side where test platform according to the effect of proxy fictionalize come one Concept, proxy are a class in fact, and the proxy of a standard includes the name information of corresponding exchanger, port name letter Five members such as breath, port width information, channel number information and connection type information.This five members are initially empty, and work as step Rapid S32 is by the hardware input port of registered data transmission method for uplink and the registered hardware output port of data receiver method When being sent to step S33 (mainly transmission data transmission method for uplink, data receiver method, hardware input port attribute information and The attribute information of hardware output port), step S33 receives these information, first according to the attribute of the hardware input port received The attribute information of information and hardware output port believes the title of exchanger corresponding in the attribute information of hardware input port Breath, port name information, port width information and four member's assignment of channel number information are simultaneously combined into an object (reality for class Example, the concept of software side), then data transmission method for uplink is added to the object, such a object is known as being used for data transmission Standard in combination simulation modeling input interface agency, and by the title of exchanger corresponding in the attribute information of hardware output port Four information, port name information, port width information and channel number information member's assignment are simultaneously combined into an object, will count It is added to the object according to method of reseptance, such a object is known as being used for the standard in combination simulation modeling output interface of data receiver Agency.
Wherein, standard in combination simulation modeling input interface agency hands over for completing all data of hardware input port Mutually, standard in combination simulation modeling output interface acts on behalf of all data interactions for completing hardware output port.
Optionally, test stimulus data is sent to by exchanger by standard in combination simulation modeling interface proxy in step S4 Later, and step S4 by standard in combination simulation modeling interface proxy receive exchanger generate data response message it Before, can with the following steps are included:
Test stimulus data is received by the input port of exchanger, test stimulus data is sent to user is to be tested to be set Meter, and the data response message that user's trial-ray method to be measured is sent is received, data response letter is sent by the output port of exchanger It ceases to standard in combination simulation modeling interface proxy.
In one embodiment of the invention, the worked of the method that test platform is communicated with user's trial-ray method to be measured is realized Journey is as follows:
Firstly, step S1 first passes through the top-level module of Gateway tool parsing user's trial-ray method to be measured, exchanger is generated, The exchanger includes one group of input port, output port and an asynchronous FIFO, and the input port and output port of exchanger are used Data interaction is carried out in the software side interface with test platform, asynchronous FIFO is used to directly carry out data with user's trial-ray method to be measured Interaction, the communication between input port and output port and asynchronous FIFO inside exchanger then by oneself realizing.Step S1 is generated After exchanger, step S1 reuses Scemilink tool parsing user's trial-ray method to be measured, to obtain actual hardware input port Attribute information and hardware output port attribute information, and generate Parameter File, which includes that hardware side is all The attribute information of hardware input port and the attribute information of hardware output port, attribute information include port name information, correspondence Exchanger name information, port width information, channel number information.Step S2 analytic parameter file is to obtain hardware input The attribute information of port and the attribute information of hardware output port.Step S3 is according to the name of exchanger in the attribute information of exchanger Information is claimed to find the corresponding exchanger generated by Gateway tool.Further, step S3 checks that Gateway tool generates Exchanger name information whether with pair in the attribute information of hardware input port and the attribute information of hardware output port The name information for the exchanger answered is identical.When right in the attribute information of hardware input port and the attribute information of hardware output port When the name information for the exchanger answered is identical as the name information for the exchanger that Gateway tool generates, step S3 further divides Not Pi Pei hardware input port name information it is whether identical as the input port name information of exchanger, and matching hardware it is defeated Whether the name information of exit port is identical as the output port name information of exchanger.If identical, step S3 just will be matched Two ports are sent to step S31 and are bound, and bind latter two appropriate ports just unique association, and step S31 completes binding Later, step S32 is hardware input port log-on data sending method, is hardware output port log-on data method of reseptance, then Later, step S3 is by the attribute information of hardware input port, the attribute information (attribute of hardware input port of hardware output port Information has been included in data transmission method for uplink, and the attribute information of hardware output port has been included in data receiver method) sum number It is combined according to sending method, data receiver method, generates standard in combination simulation modeling interface proxy, later again assist standard Step S4 is sent to simulation modeling interface proxy.
To which user is when writing test platform, it is only necessary to call one of standard in combination simulation modeling by step S4 (the standard in combination simulation modeling input interface agency sent for data or the standard in combination for data receiver are imitative for interface proxy True modeling output interface agency) the hardware input port acted on behalf of using the standard in combination simulation modeling interface proxy can be completed It carries out data transmission and carries out data receiver using the hardware output port that the standard in combination simulation modeling interface proxy is acted on behalf of.
The method that the realization test platform of the embodiment of the present invention is communicated with user's trial-ray method to be measured includes following advantages:
First, according to the hardware information in user's trial-ray method to be measured, (attribute information and hardware of hardware input port are exported The attribute information of port) Parameter File is generated, it is used based on the parsing realization to Parameter File when writing test platform soft Part side interface, software side interface can be compatible with a variety of compilers and system platform, so that the realization of software side interface is utmostly Ground is detached from hardware.
Second, it is based on SCE-MI standard agreement, test platform is completed using standard in combination simulation modeling interface proxy and uses The data interaction of the hardware input port, hardware output port of family trial-ray method to be measured guarantees while standardizing emulation interface The reliability and portability of test platform.
The interactive process of test platform and user's trial-ray method to be measured is carried out stratification, greatly facilitates program and set by third Meter person carries out program maintenance according to the interactive process of test platform and user's trial-ray method to be measured, at the same improve test platform can Transplantability.
4th, it can support the survey of the multilinguals such as C language, C Plus Plus, Verilog language, Java language, C# language Platform is tried, the operability and flexibility of test platform are considerably increased.
5th, test platform and operation test can be write under independent environment (such as computer with compiler) Platform, the independent environment do not need the portability that test platform is substantially increased using HDL simulator interface.
It should be noted that for simple description, therefore, it is stated as a series of action groups for embodiment of the method It closes, but those skilled in the art should understand that, embodiment of that present invention are not limited by the describe sequence of actions, because according to According to the embodiment of the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art also should Know, the embodiments described in the specification are all preferred embodiments, and the related movement not necessarily present invention is implemented Necessary to example.
Referring to Fig. 3, a kind of device implementation realizing test platform and communicating with user's trial-ray method to be measured of the invention is shown The structural block diagram of example, the device which communicates with user's trial-ray method to be measured can specifically include following module:
Collector 1 is generated according to the top-level module in user's trial-ray method to be measured and is handed over for receiving user's trial-ray method to be measured Parallel operation, and it is raw according to the attribute information of the attribute information of hardware input port and hardware output port in user's trial-ray method to be measured At Parameter File, the attribute information and Parameter File of exchanger are sent.
The attribute information of hardware input port includes the name information of hardware input port and corresponding with hardware input port Exchanger name information, the attribute information of hardware output port includes the name information of hardware output port and defeated with hardware The name information of the corresponding exchanger of exit port.
In one embodiment of the invention, collector 1 can pass through recalls information extracting tool such as Gateway work Tool parses the top-level module in user's trial-ray method to be measured, generates exchanger, and can be by calling analytical tool example As Scemilink tool generates parameter text according to the attribute information of hardware input port and the attribute information of hardware output port Part.
Wherein, Parameter File may include the attribute information of hardware input port and the attribute information of hardware output port Deng.The attribute information of hardware input port may include the name information of hardware input port and corresponding with hardware input port The name information etc. of exchanger, the attribute information of hardware output port include the name information of hardware output port and defeated with hardware The name information etc. of the corresponding exchanger of exit port.
Parsing module 2, for receiving Parameter File, analytic parameter file with obtain hardware input port name information, The name information of exchanger corresponding with hardware input port, the name information of hardware output port and with hardware output port pair The name information for the exchanger answered sends the name information of hardware input port, exchanger corresponding with hardware input port The name information of name information, the name information of hardware output port and exchanger corresponding with hardware output port.
Proxy module 3, for receiving the name information of hardware input port, exchanger corresponding with hardware input port Name information, the name information of hardware output port, the name information and exchanger of exchanger corresponding with hardware output port Attribute information, according to the name information of the hardware input port, name information of exchanger corresponding with hardware input port, hard The attribute information of the name information of part output port, the name information of exchanger corresponding with hardware output port and exchanger is raw At standard in combination simulation modeling interface proxy, standard in combination simulation modeling interface proxy is sent.
Transaction layer module 4, for receiving the test stimulus data and standard in combination simulation modeling interface of test platform generation Agency, is sent to exchanger for test stimulus data by standard in combination simulation modeling interface proxy, and pass through standard in combination Simulation modeling interface proxy receives the data response message that exchanger generates, and sends data response message to test platform.
Specifically, the exchanger generated in collector 1 according to the top-level module in user's trial-ray method to be measured is for connecting Standard in combination simulation modeling interface proxy and user's trial-ray method to be measured.Specifically, exchanger may include input port, output end Mouth and asynchronous FIFO port, exchanger manage user's trial-ray method to be measured to data using input port, output port respectively It receives and sends, asynchronous FIFO port is used for connection exchanger and user's trial-ray method to be measured, and carries out data transmission.Exchanger Attribute information may include the name information of the input port of exchanger, exchanger output port name information and exchanger Name information etc..
Specifically, in one embodiment of the invention, the attribute information of hardware input port and hardware output port Attribute information may include the name information of corresponding exchanger, port name information, port width information and channel mark respectively Number four attribute informations of information.Specifically, in attribute information the name information of exchanger define with user's trial-ray method to be measured into The exchanger title of row data interaction, port name information define the port name of agency, and port width information defines generation The port width of reason, channel number information define using the agency send data when selector channel label, channel pass through by The input port of exchanger, exchanger output port realized respectively with the binding of hardware input port, hardware output port, Wherein, one channel of the input port of exchanger and hardware input port binding composition, the output port and hardware of exchanger are defeated Exit port binding composition channel.
Further, in one particular embodiment of the present invention, referring to Fig. 4, proxy module 3 may include:
Exchanger binds submodule 31, for the name information and exchanger when exchanger corresponding with hardware input port Attribute information in input port name information matching when, the input port of hardware input port and exchanger is tied up It is fixed, and when the name of output port in the name information of exchanger corresponding with hardware output port and the attribute information of exchanger When claiming information matches, the output port of hardware output port and exchanger is bound, and sends the hardware input after binding The attribute information of the attribute information of port and the hardware output port after binding.
Data transmission submodule 32, for receive binding after hardware input port attribute information and binding after hardware The attribute information of output port, the attribute information according to the hardware input port after binding are the hardware input port note after binding Volume data transmission method for uplink, and according to the attribute information of the hardware output port after binding be binding after hardware output port note Volumes sends data transmission method for uplink and data method of reseptance according to method of reseptance.
Wherein, data transmission method for uplink may include that the attribute information of the hardware input port after binding and data send behavior Information etc., data receiver method may include the attribute information and data reception behavior features information of the hardware output port after binding Deng.
Optionally, referring to Fig. 4, data transmission submodule 32 may include:
Data transmission method for uplink registers submodule 321, for passing through the hardware input port after binding for test stimulus data It is sent to the input port of exchanger.
Optionally, referring to Fig. 4, data transmission submodule 32 may include:
Data receiver method registers submodule 322, for receiving the defeated of exchanger by the hardware output port after binding The data response message that outgoing interface generates, and data response message is sent to transaction layer module.
Wherein, data transmission method for uplink registration submodule 321 can data receiver method register submodule 322 before, or Data transmission method for uplink registration submodule 321 can be after data receiver method registers submodule 322 or data transmission method for uplink is infused Book module 321 can register submodule 322 with data receiver method and carry out simultaneously.In Fig. 2, data transmission method for uplink registers submodule Block 321 is before data receiver method registers submodule 322.
Agency generates submodule 33, for receiving data sending method and data method of reseptance, according to data transmission method for uplink The standard in combination simulation modeling input interface agency sent for data is generated, and is generated according to data receiver method for counting It is acted on behalf of according to received standard in combination simulation modeling output interface.
Wherein, standard in combination simulation modeling input interface agency hands over for completing all data of hardware input port Mutually, standard in combination simulation modeling output interface acts on behalf of all data interactions for completing hardware output port.
Optionally, test stimulus data is sent to by standard in combination simulation modeling interface proxy in transaction layer module 4 After exchanger, and the data generated in transaction layer module 4 by standard in combination simulation modeling interface proxy reception exchanger Before response message, exchanger can be used for receiving test stimulus data by input port, and test stimulus data is sent to User's trial-ray method to be measured, and the data response message that user's trial-ray method to be measured is sent is received, data are sent by output port and are rung Answer information to standard in combination simulation modeling interface proxy.
In one embodiment of the invention, the worked of the method that test platform is communicated with user's trial-ray method to be measured is realized Journey is as follows:
Firstly, collector 1 first passes through the top-level module of Gateway tool parsing user's trial-ray method to be measured, exchange is generated Device, the exchanger include one group of input port, output port and an asynchronous FIFO, the input port and output port of exchanger Data interaction is carried out for the software side interface with test platform, asynchronous FIFO with user's trial-ray method to be measured for directly counting According to interaction, the communication between input port and output port and asynchronous FIFO inside exchanger then by oneself realizing.Collector 1 After generating exchanger, collector 1 reuses Scemilink tool parsing user's trial-ray method to be measured, to obtain actual hardware The attribute information of input port and the attribute information of hardware output port, and Parameter File is generated, which includes hardware The attribute information of all hardware input ports in side and the attribute information of hardware output port, attribute information include port name letter Breath, the name information of corresponding exchanger, port width information, channel number information.2 analytic parameter file of parsing module is to obtain Take the attribute information of hardware input port and the attribute information of hardware output port.Proxy module 3 is believed according to the attribute of exchanger The name information of exchanger finds the corresponding exchanger generated by Gateway tool in breath.Further, proxy module 3 is examined Look into Gateway tool generation exchanger name information whether the attribute information and hardware output port with hardware input port Attribute information in corresponding exchanger name information it is identical.When the attribute information and hardware output end of hardware input port The name information of corresponding exchanger is identical as the name information for the exchanger that Gateway tool generates in the attribute information of mouth When, whether the name information that proxy module 3 further matches hardware input port respectively is believed with the input port title of exchanger Manner of breathing is same, and whether the name information of matching hardware output port is identical as the output port name information of exchanger.If Identical, matched two ports are just sent to exchanger binding submodule 31 and bound by proxy module 3, bind latter two Just unique association, exchanger are bound submodule 31 and are completed after binding for the port matched, and data transmission submodule 32 is hardware input Port log-on data sending method is hardware output port log-on data method of reseptance, and followed by, proxy module 3 is defeated by hardware The attribute information of inbound port, hardware output port attribute information (attribute information of hardware input port has been included in data hair In delivery method, the attribute information of hardware output port has been included in data receiver method) and data transmission method for uplink, data receiver Method is combined, and standard in combination simulation modeling interface proxy is generated, later again by standard in combination simulation modeling interface proxy It is sent to transaction layer module 4.
To which user is when writing test platform, it is only necessary to call one of standard in combination imitative by transaction layer module 4 True modeling interface proxy is (for the standard in combination simulation modeling input interface agency of data transmission or for the standard of data receiver Collaborative simulation modeling output interface agency) can to complete the hardware acted on behalf of using the standard in combination simulation modeling interface proxy defeated Inbound port is carried out data transmission and is counted using the hardware output port that the standard in combination simulation modeling interface proxy is acted on behalf of According to reception.
The device that the realization test platform of the embodiment of the present invention is communicated with user's trial-ray method to be measured includes following advantages:
First, according to the hardware information in user's trial-ray method to be measured, (attribute information and hardware of hardware input port are exported The attribute information of port) Parameter File is generated, it is used based on the parsing realization to Parameter File when writing test platform soft Part side interface, software side interface can be compatible with a variety of compilers and system platform, so that the realization of software side interface is utmostly Ground is detached from hardware.
Second, it is based on SCE-MI standard agreement, test platform is completed using standard in combination simulation modeling interface proxy and uses The data interaction of the hardware input port, hardware output port of family trial-ray method to be measured guarantees while standardizing emulation interface The reliability and portability of test platform.
The interactive process of test platform and user's trial-ray method to be measured is carried out stratification, greatly facilitates program and set by third Meter person carries out program maintenance according to the interactive process of test platform and user's trial-ray method to be measured, at the same improve test platform can Transplantability.
4th, it can support the survey of the multilinguals such as C language, C Plus Plus, Verilog language, Java language, C# language Platform is tried, the operability and flexibility of test platform are considerably increased.
5th, test platform and operation test can be write under independent environment (such as computer with compiler) Platform, the independent environment do not need the portability that test platform is substantially increased using HDL simulator interface.
All the embodiments in this specification are described in a progressive manner, the highlights of each of the examples are with The difference of other embodiments, the same or similar parts between the embodiments can be referred to each other.
It should be understood by those skilled in the art that, the embodiment of the embodiment of the present invention can provide as method, apparatus or calculate Machine program product.Therefore, the embodiment of the present invention can be used complete hardware embodiment, complete software embodiment or combine software and The form of the embodiment of hardware aspect.Moreover, the embodiment of the present invention can be used one or more wherein include computer can With in the computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) of program code The form of the computer program product of implementation.
The embodiment of the present invention be referring to according to the method for the embodiment of the present invention, terminal device (system) and computer program The flowchart and/or the block diagram of product describes.It should be understood that flowchart and/or the block diagram can be realized by computer program instructions In each flow and/or block and flowchart and/or the block diagram in process and/or box combination.It can provide these Computer program instructions are set to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing terminals Standby processor is to generate a machine, so that being held by the processor of computer or other programmable data processing terminal devices Capable instruction generates for realizing in one or more flows of the flowchart and/or one or more blocks of the block diagram The device of specified function.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing terminal devices In computer-readable memory operate in a specific manner, so that instruction stored in the computer readable memory generates packet The manufacture of command device is included, which realizes in one side of one or more flows of the flowchart and/or block diagram The function of being specified in frame or multiple boxes.
These computer program instructions can also be loaded into computer or other programmable data processing terminal devices, so that Series of operation steps are executed on computer or other programmable terminal equipments to generate computer implemented processing, thus The instruction executed on computer or other programmable terminal equipments is provided for realizing in one or more flows of the flowchart And/or in one or more blocks of the block diagram specify function the step of.
Although the preferred embodiment of the embodiment of the present invention has been described, once a person skilled in the art knows bases This creative concept, then additional changes and modifications can be made to these embodiments.So the following claims are intended to be interpreted as Including preferred embodiment and fall into all change and modification of range of embodiment of the invention.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning Covering non-exclusive inclusion, so that process, method, article or terminal device including a series of elements not only wrap Those elements are included, but also including other elements that are not explicitly listed, or further includes for this process, method, article Or the element that terminal device is intrinsic.In the absence of more restrictions, being wanted by what sentence "including a ..." limited Element, it is not excluded that there is also other identical elements in process, method, article or the terminal device for including the element.
Above to a kind of method and one kind realizing test platform and being communicated with user's trial-ray method to be measured provided by the present invention It realizes the device that communicates with user's trial-ray method to be measured of test platform, is described in detail, specific case pair used herein The principle of the present invention and embodiment are expounded, method of the invention that the above embodiments are only used to help understand And its core concept;At the same time, for those skilled in the art, according to the thought of the present invention, in specific embodiment and There will be changes in application range, in conclusion the contents of this specification are not to be construed as limiting the invention.

Claims (10)

1. a kind of method realizing test platform and being communicated with user's trial-ray method to be measured, which comprises the following steps:
Step S1 receives user's trial-ray method to be measured, generates exchanger, Yi Jigen according to the top-level module in user's trial-ray method to be measured Parameter File is generated according to the attribute information of hardware input port in user's trial-ray method to be measured and the attribute information of hardware output port, Send the attribute information and the Parameter File of the exchanger;The attribute information of the hardware input port includes the hardware The name information of the name information of input port and exchanger corresponding with the hardware input port, the hardware output port Attribute information include the name information of the hardware output port and the name of exchanger corresponding with the hardware output port Claim information;
Step S2 receives the Parameter File, parse the Parameter File with obtain the name information of the hardware input port, The name information of exchanger corresponding with the hardware input port, the name information of the hardware output port and with it is described hard The name information of the corresponding exchanger of part output port sends the name information, defeated with the hardware of the hardware input port The name information of the corresponding exchanger of inbound port, the name information of the hardware output port and with the hardware output port pair The name information for the exchanger answered;
Step S3 receives the name information of the hardware input port, the name of exchanger corresponding with the hardware input port Claim information, the name information of the hardware output port, the name information of exchanger corresponding with the hardware output port and The attribute information of the exchanger, according to the name information of the hardware input port, corresponding with the hardware input port The name information of exchanger, the name information of the hardware output port, corresponding with hardware output port exchanger The attribute information of name information and the exchanger generates standard in combination simulation modeling interface proxy, and it is imitative to send the standard in combination True modeling interface proxy;
Wherein, the standard in combination simulation modeling interface proxy includes that the standard in combination simulation modeling input sent for data connects Mouth is acted on behalf of and the standard in combination simulation modeling output interface for data receiver is acted on behalf of;
The standard in combination simulation modeling input interface agency sent for data is first according to the hardware input terminal received The attribute information of mouth and the attribute information of hardware output port, by exchanger corresponding in the attribute information of hardware input port Four name information, port name information, port width information and channel number information member's assignment are simultaneously combined into an object, Data transmission method for uplink is added to object generation again;
The standard in combination simulation modeling output interface agency for data receiver is by the attribute information of hardware output port In corresponding exchanger four name information, port name information, port width information and channel number information member's assignment And it is combined into an object, data receiver method is added to object generation;
Step S4 receives test stimulus data and the standard in combination simulation modeling interface proxy that test platform generates, passes through The test stimulus data is sent to the exchanger by the standard in combination simulation modeling interface proxy, and passes through the mark Quasi- collaborative simulation modeling interface proxy receives the data response message that the exchanger generates, and sends the data response message extremely The test platform.
2. the method according to claim 1, wherein the exchanger includes input port and output port, institute Step S3 is stated to be believed according to name information, the title of exchanger corresponding with the hardware input port of the hardware input port Breath, the name information of the hardware output port, the name information of exchanger corresponding with the hardware output port and described The attribute information of exchanger generates standard in combination simulation modeling interface proxy, comprising the following steps:
When input terminal in the name information of exchanger corresponding with the hardware input port and the attribute information of the exchanger Mouthful name information matching when, the input port of the hardware input port and the exchanger is bound, and ought be with The title of output port in the name information of the corresponding exchanger of the hardware output port and the attribute information of the exchanger When information matches, the output port of the hardware output port and the exchanger is bound, and is sent hard after binding The attribute information of the attribute information of part input port and the hardware output port after binding;
The attribute information of hardware input port after receiving the binding and the attribute of the hardware output port after binding letter Breath is the hardware input port log-on data hair after the binding according to the attribute information of the hardware input port after the binding Delivery method, and infused according to the attribute information of the hardware output port after the binding for the hardware output port after the binding Volumes sends the data transmission method for uplink and the data receiver method according to method of reseptance;
The data transmission method for uplink and the data receiver method are received, is generated according to the data transmission method for uplink and is sent out for data The standard in combination simulation modeling input interface agency sent, and the mark for being used for data receiver is generated according to the data receiver method Quasi- collaborative simulation modeling output interface agency.
3. according to the method described in claim 2, it is characterized in that, the hardware input port for after the binding registers number According to sending method, comprising the following steps:
The test stimulus data is sent to the input port of the exchanger by the hardware input port after the binding.
4. according to the method described in claim 2, it is characterized in that, the hardware output port for after the binding registers number According to method of reseptance, comprising the following steps:
The data response message generated by the output interface that the hardware output port after the binding receives the exchanger, and The data response message is sent to the step S4.
5. according to the method described in claim 2, it is characterized in that, passing through the standard in combination simulation modeling in the step S4 After the test stimulus data is sent to the exchanger by interface proxy, and assisted by the standard in the step S4 It is further comprising the steps of before receiving the data response message that the exchanger generates with simulation modeling interface proxy:
The test stimulus data is received by the input port of the exchanger, the test stimulus data is sent to described User's trial-ray method to be measured, and the data response message that user trial-ray method to be measured is sent is received, pass through the exchanger Output port send the data response message to the standard in combination simulation modeling interface proxy.
6. a kind of device realizing test platform and being communicated with user's trial-ray method to be measured characterized by comprising
Collector generates exchanger according to the top-level module in user's trial-ray method to be measured for receiving user's trial-ray method to be measured, And ginseng is generated according to the attribute information of the attribute information of hardware input port and hardware output port in user's trial-ray method to be measured Number file, sends the attribute information and the Parameter File of the exchanger;The attribute information of the hardware input port includes The name information of the name information of the hardware input port and exchanger corresponding with the hardware input port, the hardware The attribute information of output port includes the name information and friendship corresponding with the hardware output port of the hardware output port The name information of parallel operation;
Parsing module parses the Parameter File for receiving the Parameter File to obtain the name of the hardware input port Claim information, the name information of exchanger corresponding with the hardware input port, the name information of the hardware output port and The name information of exchanger corresponding with the hardware output port sends name information and the institute of the hardware input port State the name information of the corresponding exchanger of hardware input port, the name information of the hardware output port and defeated with the hardware The name information of the corresponding exchanger of exit port;
Proxy module, for receiving the name information of the hardware input port, exchange corresponding with the hardware input port The name information of device, the name information of the hardware output port, the title of exchanger corresponding with the hardware output port The attribute information of information and the exchanger, according to the name information of the hardware input port and the hardware input port The name information of corresponding exchanger, the name information of the hardware output port, friendship corresponding with the hardware output port The attribute information of the name information of parallel operation and the exchanger generates standard in combination simulation modeling interface proxy, sends the standard Collaborative simulation modeling interface proxy;
Wherein, the standard in combination simulation modeling interface proxy includes that the standard in combination simulation modeling input sent for data connects Mouth is acted on behalf of and the standard in combination simulation modeling output interface for data receiver is acted on behalf of;
The standard in combination simulation modeling input interface agency sent for data is first according to the hardware input terminal received The attribute information of mouth and the attribute information of hardware output port, by exchanger corresponding in the attribute information of hardware input port Four name information, port name information, port width information and channel number information member's assignment are simultaneously combined into an object, Data transmission method for uplink is added to object generation again;
The standard in combination simulation modeling output interface agency for data receiver is by the attribute information of hardware output port In corresponding exchanger four name information, port name information, port width information and channel number information member's assignment And it is combined into an object, data receiver method is added to object generation;
Transaction layer module, for receiving the test stimulus data and the standard in combination simulation modeling interface generation that test platform generates Reason, is sent to the exchanger, Yi Jitong for the test stimulus data by the standard in combination simulation modeling interface proxy It crosses the standard in combination simulation modeling interface proxy and receives the data response message that the exchanger generates, send the data and ring Answer information to the test platform.
7. device according to claim 6, which is characterized in that the exchanger includes input port and output port, institute Stating proxy module includes:
Exchanger binds submodule, exchanges for the name information when exchanger corresponding with the hardware input port with described In the attribute information of device when the name information matching of input port, by the input terminal of the hardware input port and the exchanger Mouth is bound, and when the name information of exchanger corresponding with the hardware output port and the attribute of the exchanger are believed In breath when the name information matching of output port, the output port of the hardware output port and the exchanger is tied up It is fixed, and send the attribute information of the hardware input port after binding and the attribute information of the hardware output port after binding;
Data transmission submodule, for receive the hardware input port after the binding attribute information and the binding after it is hard The attribute information of part output port is the hardware after the binding according to the attribute information of the hardware input port after the binding Input port log-on data sending method, and according to the attribute information of the hardware output port after the binding be the binding Hardware output port log-on data method of reseptance afterwards, and send the data transmission method for uplink and the data receiver method;
Agency generates submodule, for receiving the data transmission method for uplink and the data receiver method, is sent out according to the data Delivery method generates the standard in combination simulation modeling input interface agency sent for data, and according to the data receiver method It generates and is acted on behalf of for the standard in combination simulation modeling output interface of data receiver.
8. device according to claim 7, which is characterized in that the data transmission submodule includes:
Data transmission method for uplink registers submodule, for by the hardware input port after the binding by the test stimulus data It is sent to the input port of the exchanger.
9. device according to claim 7, which is characterized in that the data transmission submodule includes:
Data receiver method registers submodule, for receiving the defeated of the exchanger by the hardware output port after the binding The data response message that outgoing interface generates, and the data response message is sent to the transaction layer module.
10. device according to claim 6, which is characterized in that imitative by the standard in combination in the transaction layer module After the test stimulus data is sent to the exchanger by true modeling interface proxy, and pass through in the transaction layer module Before the standard in combination simulation modeling interface proxy receives the data response message that the exchanger generates, the exchanger is used In receiving the test stimulus data by input port, the test stimulus data is sent to the user is to be tested to be set Meter, and the data response message that user trial-ray method to be measured is sent is received, the data are sent by output port and are rung Answer information to the standard in combination simulation modeling interface proxy.
CN201610520857.5A 2016-07-01 2016-07-01 A kind of method and apparatus realizing test platform and being communicated with user's trial-ray method to be measured Active CN106156423B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610520857.5A CN106156423B (en) 2016-07-01 2016-07-01 A kind of method and apparatus realizing test platform and being communicated with user's trial-ray method to be measured

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610520857.5A CN106156423B (en) 2016-07-01 2016-07-01 A kind of method and apparatus realizing test platform and being communicated with user's trial-ray method to be measured

Publications (2)

Publication Number Publication Date
CN106156423A CN106156423A (en) 2016-11-23
CN106156423B true CN106156423B (en) 2019-07-12

Family

ID=58061286

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610520857.5A Active CN106156423B (en) 2016-07-01 2016-07-01 A kind of method and apparatus realizing test platform and being communicated with user's trial-ray method to be measured

Country Status (1)

Country Link
CN (1) CN106156423B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109492301B (en) * 2018-11-08 2020-05-22 北京世冠金洋科技发展有限公司 Software and hardware switching method and system
CN112463498A (en) * 2020-12-08 2021-03-09 上海移远通信技术股份有限公司 Hardware module testing method, system, electronic device and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1677362A (en) * 2004-03-29 2005-10-05 华为技术有限公司 Test executer
CN105229633A (en) * 2013-03-13 2016-01-06 萨勒斯福斯通讯有限公司 For realizing system, method and apparatus disclosed in data upload, process and predicted query API

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105593648B (en) * 2013-07-12 2019-11-05 约翰·C·卡拉马诺斯 fluid control measuring device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1677362A (en) * 2004-03-29 2005-10-05 华为技术有限公司 Test executer
CN105229633A (en) * 2013-03-13 2016-01-06 萨勒斯福斯通讯有限公司 For realizing system, method and apparatus disclosed in data upload, process and predicted query API

Also Published As

Publication number Publication date
CN106156423A (en) 2016-11-23

Similar Documents

Publication Publication Date Title
Jensen A brief introduction to coloured petri nets
Grabowski et al. An introduction to the testing and test control notation (TTCN-3)
CN104038605B (en) The method of telephone POS payment terminal transaction test
CN106202685B (en) A kind of software and hardware cooperating simulation accelerator operation environmental structure method and apparatus
CN109726098A (en) Interface test method, device and computer readable storage medium
CN107332750A (en) A kind of service deployment method, device and network element
CN109379326A (en) XML message rule method of calibration, equipment and storage medium
CN106161178B (en) A kind of method and apparatus accessing instant messaging network
CN107872484A (en) REST API fast registration methods, devices and systems
CN102147726B (en) Script-based method for implementing service configuration
CN103023708A (en) Method and system for testing communication protocol interface
CN105302564B (en) Network OA service control and implementation method
CN106156423B (en) A kind of method and apparatus realizing test platform and being communicated with user's trial-ray method to be measured
CN102855175B (en) Automated testing method and device
CN107040613A (en) A kind of message transmitting method and system
CN107566204B (en) Excitation message generation control method and device and logic detection equipment
CN105182111B (en) A kind of performance test methods and system of mobile terminal
Nayak et al. Computer Network simulation using NS2
CN105893235B (en) A kind of emulation test method, device and server
CN106250315A (en) A kind of automatic imitation request-reply system and method for configurableization
CN106095948A (en) The querying method of form, device and equipment
CN107493299A (en) A kind of user behavior source tracing method based on three-tier architecture
CN110162476A (en) Test method and device
CN104703197A (en) Terminal protocol consistency testing platform and terminal protocol consistency testing method based on TTCN-3
CN109587351A (en) A kind of call test method, device, equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant