CN111082858B - High-reusability overhead simulation system and method based on UVM - Google Patents

High-reusability overhead simulation system and method based on UVM Download PDF

Info

Publication number
CN111082858B
CN111082858B CN201911296369.0A CN201911296369A CN111082858B CN 111082858 B CN111082858 B CN 111082858B CN 201911296369 A CN201911296369 A CN 201911296369A CN 111082858 B CN111082858 B CN 111082858B
Authority
CN
China
Prior art keywords
overhead
module
tested
simulation
test frame
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
CN201911296369.0A
Other languages
Chinese (zh)
Other versions
CN111082858A (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.)
Fiberhome Telecommunication Technologies Co Ltd
Wuhan Fisilink Microelectronics Technology Co Ltd
Original Assignee
Fiberhome Telecommunication Technologies Co Ltd
Wuhan Fisilink Microelectronics 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 Fiberhome Telecommunication Technologies Co Ltd, Wuhan Fisilink Microelectronics Technology Co Ltd filed Critical Fiberhome Telecommunication Technologies Co Ltd
Priority to CN201911296369.0A priority Critical patent/CN111082858B/en
Publication of CN111082858A publication Critical patent/CN111082858A/en
Application granted granted Critical
Publication of CN111082858B publication Critical patent/CN111082858B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/07Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems
    • H04B10/073Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an out-of-service signal
    • H04B10/0731Testing or characterisation of optical devices, e.g. amplifiers

Landscapes

  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a high-reusability overhead simulation system and method based on UVM, relating to the technical field of communication. The simulation system has complete functions, one set of system can cover all functions of optical network overhead processing, all modules in the system are provided with corresponding enabling control ends, the opening and closing of the functions of each module in a control platform can be controlled, and the attribute and the number of the object instantiated sets of each module in the system are controlled by parameters, so that the simulation system can be well adapted to multi-channel overhead processing modules to be detected, therefore, the system can be adapted to most overhead processing modules in the optical network in the using process and has high reusability.

Description

High-reusability overhead simulation system and method based on UVM
Technical Field
The invention relates to the technical field of communication, in particular to a high-reusability overhead simulation system and a high-reusability overhead simulation method.
Background
In the process of developing the optical network logic, a larger overhead processing module is divided into a plurality of small modules according to the function of the larger overhead processing module for processing, for example, the OTN overhead processing module may be divided into an overhead extraction module, an overhead insertion module, an overhead framing module, a serial overhead module, and the like. Currently, the mainstream practice in the industry is to separately develop a set of simulation system based on Universal Verification Methodology (UVM) for each divided module to perform corresponding overhead function Verification. And when the overhead integrated simulation is further carried out, the integrated simulation test environment needs to be re-developed. After the current optical network logic development is completed, the next optical network logic development needs to develop the overhead simulation platform again, so that the simulation platform is poor in reusability, single in structural function, large in workload of verification personnel, more in repeated work, seriously influencing the working efficiency of a simulation verifier and the progress of project development, and causing a large amount of resource waste.
Disclosure of Invention
Aiming at the defects in the prior art, the invention aims to provide a high-reusability overhead simulation system and method based on UVM, which can be adapted to various overhead processing modules to be tested, have high universality and improve the working efficiency of a verifier.
In order to achieve the above purposes, the technical scheme adopted by the invention is as follows: a UVM-based high-reusability overhead simulation system, comprising:
an excitation generation module to: generating a test frame and sending the test frame to an overhead configuration module;
an overhead configuration module to: the method comprises the steps that expenses in a test frame are configured according to an expense function of a current test, the configured test frame is sent to a module to be tested and a comparison module, and the expenses in the configured test frame are sent to an expense simulation module;
a signal receiving module to: receiving the test frame processed by the module to be tested and sending the test frame to the comparison module;
a comparison module to: comparing whether the payload areas of the test frame sent by the overhead configuration module and the test frame processed by the module to be tested sent by the signal receiving module are the same or not, and judging whether the processing of the payload areas of the test frame by the module to be tested is correct or not according to the comparison result; the overhead in the test frame processed by the module to be tested is transmitted to the overhead simulation module;
an overhead simulation module to: the overhead transmitted by the overhead configuration module is subjected to the same overhead processing as that of the module to be tested, the processed overhead is compared with the overhead transmitted by the comparison module and processed by the module to be tested, and whether the processing of the overhead by the module to be tested is correct or not is determined according to the comparison result;
the parameter control module is used for setting the attribute of each module and the number of the instantiated objects;
each module in the system is provided with an enabling control terminal, and the enabling control terminal is used for controlling the function of each module to be turned on or off.
On the basis of the above scheme, the system further comprises an excitation sending module, configured to: and sending the test frame configured by the overhead configuration module to the module to be tested.
On the basis of the above scheme, the system further includes a serial overhead transceiving module, configured to: and receiving the overhead extracted from the module to be tested through the serial overhead port and sending the overhead to the overhead simulation module.
On the basis of the scheme, the system further comprises a register read-write module, wherein the register read-write module is used for reading the overhead from the module to be tested in a register reading mode and transmitting the overhead to the overhead simulation module.
On the basis of the scheme, the overhead simulation module comprises two function selection sub-modules, two overhead extraction modules, two overhead insertion modules and three score boards, wherein:
the function selection sub-module is used for receiving the overhead transmitted by the overhead configuration module and transmitting the overhead to the overhead extraction sub-module and the overhead insertion sub-module according to the currently tested overhead function;
the overhead extraction sub-module is used for simulating the extraction function of the excitation overhead in the system to be tested; controlling the opening or closing of the self function according to the currently tested overhead function through the enabling control end;
the overhead insertion submodule is used for simulating an insertion function of excitation overhead in the system to be tested; controlling the opening or closing of the self function according to the currently tested overhead function through the enabling control end;
the scoring board is used for comparing the overhead after the simulation processing with the overhead after the processing of the module to be tested, and whether the processing of the overhead by the module to be tested is correct or not is judged according to the comparison results of the three scoring boards.
The invention also provides an overhead simulation method adopting the high-reusability overhead simulation system based on the UVM, which comprises the following steps:
setting the attribute of each module and the number of the object instantiations;
the excitation generating module generates a test frame and sends the test frame to the overhead configuration module;
the overhead configuration module configures the overhead in the test frame according to the overhead function of the current test, sends the configured test frame to the module to be tested and the comparison module, and sends the overhead in the configured test frame to the overhead simulation module;
the signal receiving module receives the test frame processed by the module to be tested and sends the test frame to the comparison module;
the comparison module compares whether the payload areas of the test frame sent by the overhead configuration module and the test frame processed by the module to be tested sent by the signal receiving module are the same or not, and judges whether the processing of the payload areas of the test frame by the module to be tested is correct or not according to the comparison result; the overhead in the test frame processed by the module to be tested is transmitted to the overhead simulation module;
the overhead simulation module carries out the same overhead processing as that of the module to be tested on the overhead transmitted by the overhead configuration module, compares the processed overhead with the overhead transmitted by the comparison module and processed by the module to be tested, and determines whether the processing of the overhead by the module to be tested is correct or not according to the comparison result.
On the basis of the scheme, the overhead configuration module sends the configured test frame to the module to be tested through the excitation sending module.
On the basis of the scheme, the overhead simulation module receives the overhead extracted from the module to be tested through the serial overhead transceiving module.
On the basis of the scheme, the overhead simulation module registers overhead from the module to be tested through the memory read-write module.
On the basis of the above scheme, the overhead simulation module performs the same overhead processing as that of the module to be tested on the overhead transmitted by the overhead configuration module, compares the processed overhead with the overhead transmitted by the comparison module and processed by the module to be tested, and determines whether the processing of the overhead by the module to be tested is correct according to the comparison result, which specifically includes the following steps:
the overhead simulation module comprises two function selection sub-modules, two overhead extraction modules, two overhead insertion modules and three score counting boards;
the function selection sub-module receives the overhead transmitted by the overhead configuration module, and transmits the overhead to the overhead extraction sub-module and the overhead insertion sub-module according to the currently tested overhead function;
configuring an enabling control end for the overhead extraction submodule and the overhead insertion submodule, and controlling the functions of the overhead extraction submodule and the overhead insertion submodule to be opened or closed through the enabling control end;
the overhead extraction sub-module simulates the extraction function of the excitation overhead in the system to be tested;
the overhead insertion sub-module simulates the insertion function of the excitation overhead in the system to be tested;
and comparing the overhead after the simulation processing with the overhead after the processing of the module to be tested by the score board, and judging whether the processing of the overhead by the module to be tested is correct or not according to the comparison results of the three score boards.
Compared with the prior art, the invention has the advantages that:
the invention configures the simulation platform according to various functions of overhead processing of the module to be tested in the optical network, thereby completing the simulation of the overhead module, not only judging whether the processing of the module to be tested on the payload area of the test frame is correct, but also judging whether the processing of the overhead by the module to be tested is correct. The simulation system has complete functions, one set of system can cover all functions of optical network overhead processing, all modules in the system are provided with corresponding enabling control ends, the opening and closing of the functions of each module in a control platform can be controlled, and the attribute and the number of the object instantiated sets of each module in the system are controlled by parameters, so that the simulation system can be well adapted to multi-channel overhead processing modules to be detected, therefore, the system can be adapted to most overhead processing modules in the optical network in the using process and has high reusability.
Drawings
Fig. 1 is a diagram illustrating a high-reusability overhead simulation system based on UVM according to an embodiment of the present invention;
FIG. 2 is a schematic structural diagram of a cancellation simulation submodule in the simulation system according to the embodiment of the present invention;
fig. 3 is a simulation flowchart of RX and TX sides of 200 ODUK overhead processing modules according to an embodiment of the present invention;
FIG. 4 is a simulation flow diagram of the RX side of the overhead simulation module according to an embodiment of the present invention;
FIG. 5 is a simulation flow diagram of the TX side of the overhead simulation module of an embodiment of the present invention.
Detailed Description
Embodiments of the present invention will be described in further detail below with reference to the accompanying drawings.
The embodiment of the invention provides a high-reusability overhead simulation system based on UVM, which comprises:
an excitation generation module to: generating a test frame and sending the test frame to an overhead configuration module;
an overhead configuration module to: the method comprises the steps of configuring the expenses in a test frame according to the current test expense function, sending the configured test frame to an expense processing module to be tested (called a module to be tested for short) and a comparison module, and sending the expenses in the configured test frame to an expense simulation module;
a signal receiving module to: receiving the test frame processed by the module to be tested and sending the test frame to the comparison module;
a comparison module to: comparing whether the payload areas of the test frame sent by the overhead configuration module and the test frame processed by the module to be tested sent by the signal receiving module are the same or not, and judging whether the processing of the payload areas of the test frame by the module to be tested is correct or not according to the comparison result; the overhead in the test frame processed by the module to be tested is transmitted to the overhead simulation module;
an overhead simulation module to: the overhead transmitted by the overhead configuration module is subjected to the same overhead processing as that of the module to be tested, the processed overhead is compared with the overhead transmitted by the comparison module and processed by the module to be tested, and whether the processing of the overhead by the module to be tested is correct or not is determined according to the comparison result;
the parameter control module is used for setting the attribute of each module and the number of the instantiated objects;
each module in the system is provided with an enabling control terminal, and the enabling control terminal is used for controlling the function of each module to be turned on or off.
The multiplexing and high efficiency of the present invention will be further described in detail with reference to the attached drawings by taking the simulation of the multi-channel ODUK overhead processing module as an example. The ODUK overhead processing module processes ODUK frames of 200 channels at the same time.
Fig. 1 is a structural diagram of the high-reusability overhead simulation system, which is divided into an overhead extraction side RX and an overhead insertion side TX according to the structure of an overhead processing module to be tested, and the simulation system has symmetry in the structures of the RX side and the TX side. Each module included in the structure diagram and the objects and attributes in the modules may be instantiated into one or more sets according to parameter values.
Fig. 2 is a structural diagram of an overhead simulation module, in which two overhead extraction sub-modules, two overhead insertion sub-modules and three score boards are designed in order to enhance the reusability of the module. The connection mode of each sub-module is shown in the figure. The overhead processing module to be tested can only perform overhead extraction and insertion once at most in the RX direction or the TX direction, and most of the cases are only overhead extraction or overhead insertion, so the structure shown in fig. 2 can adapt to all the situations of overhead insertion and overhead extraction.
The following are an adaptation mode in which the simulation system adapts 200 ODUK overhead processing modules to be tested and a method for performing function simulation on the 200 ODUK overhead processing modules.
Fig. 3 is a flowchart illustrating a function simulation of the 200 ODUK overhead processing modules, which is described in detail below.
Step 1: firstly, the number of channels and the bus interface of the simulation system are configured according to the number of channels occupied by the overhead processed by the module to be tested and the bus interface of the module to be tested, after the configuration is completed, the simulation system and the module to be tested are connected, and the subsequent further function simulation is carried out.
All the modules contained in the simulation system and the attributes and objects in the modules can be instantiated into one set or N sets according to the values set by the parameters, and if the models are instantiated into N sets, the simulation of the overhead functions of N channels can be simultaneously carried out. Because the ODUK overhead processing module to be tested is processed by 200 channels simultaneously, the number of sets of control parameters of the excitation generating module and the overhead configuring module are configured to be 200, at this time, 200 sets of excitation generating modules are instantiated by the excitation generating module, 200 sets of overhead configuring modules are instantiated by the overhead configuring module, the overhead configuring modules correspond to the excitation generating modules one by one, and each set of overhead configuring module configures the excitation overhead generated by the corresponding excitation generating module. And the excitation sending module sends data to the bus inlet of the module to be tested, and configures corresponding parameter values to instantiate the number of the bus sleeves in the excitation sending module to be the same as the number of the bus sleeves of the module to be tested according to the number of the bus interface sleeves of the module to be tested. The signal receiving module receives data from a bus outlet of the module to be tested, so that corresponding parameter values are configured to instantiate the number of sets of interfaces in the excitation sending module to be the same as the number of sets of main channel interfaces of the module to be tested. Similarly, the overhead simulation module and the score counting board 0 are also 200 sets in an exemplary manner according to the number of channels of the module to be tested. The serial overhead interface and the register read-write interface can also be instantiated into corresponding sets according to parameter configuration, and when the number of channels processed by the overhead processing module to be tested changes, the corresponding parameter values are modified to complete the conversion of the number of channels of the platform, so that the multiplexing of the platform is completed.
After the RX side interface and the TX side interface of the simulation system are connected with the RX side interface and the TX side interface of the module to be tested, the enabling end of each function of the simulation platform is configured according to the function point of the module to be tested for simulation.
Step 2: first, a functional simulation of the RX side is performed. The stimulus is first initiated and sent to the corresponding module.
The instantiated 200 sets of excitation generating modules start generating excitation of ODUK frames of 200 channels, and at the same time, the 200-path overhead configuration module modifies the overhead part of the ODUK frame by corresponding overhead domains, and after the modification is completed, the overhead of the 200-path ODUK frame is transferred to the 200-path overhead simulation module in a one-to-one correspondence manner, and at the same time, the 200 ODUK frame is transferred to the excitation transmitting module and the scoreboard 0.
Step 3: and sending the configured excitation from the simulation platform to the module to be tested.
The Bus interface of the excitation sending module is completed according to a time division multiplexing method, the total bandwidth of the interface is distributed into M time slots, the adaptation of excitation data obtained from the excitation generating module to a Bus is completed by configuring the number of the time slots occupied by each channel in the M time slots, the excitation is sent to a module to be tested after the adaptation is completed, as the main channel of the overhead processing module to be tested is 1 set of Bus, and then data received by 1 set of Bus is divided into 200 paths of ODUK frames for processing, the excitation sending module instantiates only 1 set of Bus and 200 sets of interfaces corresponding to the excitation generating module through configuration parameters, and after 200 paths of ODUK data are received, the data are adapted to the Bus according to the number of the time slots occupied by each configured channel and then sent to the module to be tested.
Step 4: and receiving the processed excitation from the module to be tested, and sending the received excitation to the simulation platform for further function simulation.
The bus interface of the signal receiving module is completed according to a time division demultiplexing method, the module re-separates a signal received from the module to be tested into multiple paths of ODUK frames, then the multiple paths of ODUK frames are transmitted to the score board 0 in a one-to-one corresponding mode, after the overhead extraction function of the overhead processing module to be tested is completed, 200 paths of ODUK frames are re-adapted into one path of data, and then the data are output from one set of bus, so that the signal receiving module only instantiates 1 set of bus and 200 sets of interfaces corresponding to the score board, and after the bus output data of the module to be tested are received, the data are restored into 200 paths of data, and then the corresponding score board 0 is sent.
Step 5: the score board 0 starts to judge whether the processing of the frame payload area by the module to be tested RX side is correct.
The scoring board 0 is used for judging whether the processing of the overhead area of the frame data by the module to be tested is correct, because the overhead area of the frame data to be tested is processed differently according to different functions while the overhead area is processed by the overhead module to be tested, sometimes the data of the payload area needs to be changed, sometimes the data of the payload area is not allowed to be changed, the scoring board 0 receives expected excitation data from the excitation generating module, receives the excitation data processed by the module to be tested from the signal receiving module, and judges whether the processing of the frame data by the module to be tested is correct by comparing whether the payload areas of the two are the same. The scoring board 0 also needs to transmit the overhead part in the excitation frame processed by the module to be tested to the overhead simulation module for overhead comparison. Since the ODUK overhead processing module to be measured is 200 paths of data, it is also necessary to configure parameters to instantiate a scoring board 0 by 200 sets.
Step 6: and the overhead simulation module starts to judge whether the split-pin processing on the RX side of the module to be tested is correct.
In the to-be-tested ODUK overhead processing module, it is assumed that the RX side performs overhead extraction before overhead insertion, and the TX side function to be tested performs overhead extraction after overhead insertion before overhead insertion, and the overhead simulation module can adapt to overhead processing function simulation of the RX side and the TX simultaneously, but the open enable is different, and since the to-be-tested ODUK overhead processing module is a 200-channel, 200 sets of simulation modules need to be instantiated in the overhead simulation modules of the RX side and the TX side, and each simulation module performs function simulation corresponding to one channel of ODUK overhead. Firstly, the RX side function simulation is explained, fig. 4 is a simulation flow chart of the RX side of the overhead simulation module, the excitation generated by the excitation generation module is processed by the overhead configuration module and then transmitted to the module to be tested and the function selection 1 sub-module of the overhead simulation module, because the module to be tested performs overhead extraction and then performs overhead insertion, the function selection 1 sub-module transmits the excitation to the overhead extraction 1 and overhead insertion 1, the overhead insertion enable of the overhead insertion 1 is closed, and the module only plays a role of transmitting the excitation to the function selection 2. After the overhead extraction 1 receives the overhead transmitted by the function selection 1 sub-module, the field in the overhead is protected and monitored by three frames, then the overhead is transmitted to the score counting board 1, the overhead extraction 1 transmits the overhead to the score counting board 1, simultaneously, the serial overhead port transceiving module also transmits the overhead extracted from the module to be tested to the score counting board 1, and the score counting board 1 judges whether the function of the overhead reported by the module to be tested through the serial overhead port is correct by comparing whether the overheads from the overhead extraction 1 and the serial overhead port transceiving module are consistent. The register read-write module reads the expenses from the module to be tested in a mode of reading the register and Ram and transmits the expenses to the scoring board 1, and the scoring board 1 judges whether the function of reporting the expenses through upi by the module to be tested is correct or not by comparing whether the expenses from the expense extraction 1 and the register read-write modules are consistent or not. Next, simulating an overhead insertion function of an RX side, wherein the function selection 1 transmits overhead to the function selection 2 through an overhead insertion 1 module, because the overhead extraction function completes simulation in the score counting board 1, the overhead extraction 2 score counting boards 2 can be closed, the overhead is transmitted to the overhead insertion 2 from the function selection 2, at the RX side, the source of the overhead insertion is only a register, an overhead insertion value is written into a module to be tested and the overhead insertion 2 module through a register read-write module, according to the insertion operation completed in the module to be tested, the same insertion operation as the module to be tested is also completed in an overhead insertion 2 sub-module, finally, the overhead in the overhead insertion 2 module is transmitted to the score counting board 3, the score counting board 0 also transmits the overhead processed by the module to be tested to the score counting board 3, and the score of the score counting board 3 is compared whether the overhead from the score counting board 0 and the overhead insertion 2 is consistent or not, to determine whether the function of inserting the pin into the RX side of the module under test is correct.
Step 7: and then, performing function simulation of the TX side, and after repeating Step 2-Step 5, starting to judge whether the split pin processing of the TX side of the module to be tested is correct by the overhead simulation module.
In the to-be-tested ODUK overhead processing module, it is assumed that the to-be-tested function of the to-be-tested ODUK overhead processing module on the TX side is overhead extraction after overhead insertion, fig. 5 is a simulation flow chart of the TX side of the overhead simulation module, the excitation generated by the excitation generation module is processed by the overhead configuration module and then transmitted to the to-be-tested module and the function selection 1 sub-module of the overhead simulation module, since the to-be-tested module performs overhead extraction after overhead insertion, the function selection 1 sub-module transmits the excitation to the overhead insertion 1, and the two modules of the overhead extraction 1 and the score counting board 1 are closed. At TX side, overhead source in overhead inserting operation of module to be tested has serial overhead opening and register, so overhead source of overhead inserting 1 sub-module is also serial overhead opening and register, serial overhead opening transceiving module generates inserting overhead, transferring to module to be tested and overhead inserting 1, at the same time, the overhead inserting value is written into module to be tested and overhead inserting 1 module by register read-write module, in the module to be tested and overhead inserting 1 module, there is inserting overhead source selection enable, which is also configured by register read-write module, inserting overhead source selection enable in module to be tested and overhead inserting 1 module is configured to be consistent by register read-write module, then according to the selection enable, overhead inserting operation is completed, overhead inserting 1 module transfers overhead to function selecting 2 module after completing overhead inserting operation, next, simulating the overhead extraction function of the TX side, the function selection 2 sub-module will transfer the overhead to overhead extraction 2 and overhead insertion 2, the insertion of overhead insertion 2 enables closing, and this module only plays a role of a channel for transferring the overhead to the score counting board 3. After the overhead extraction 2 receives the overhead transmitted by the function selection 2 sub-module, the three-frame protection monitoring is carried out on the domain in the overhead, then the overhead is transmitted to the scoring board 2, the overhead extraction 2 transmits the overhead to the scoring board 2, meanwhile, the serial overhead port transceiver module also transmits the overhead extracted from the module to be tested to the scoring board 2, and the scoring board 2 judges whether the function of the overhead reported by the module to be tested through the serial overhead port is correct by comparing whether the overheads from the overhead extraction 2 and the serial overhead port transceiver module are consistent or not. The register read-write module reads the expenses from the module to be tested by reading the register and Ram and transmits the expenses to the scoring board 2, and the scoring board 2 judges whether the function of the expenses reported by the module to be tested through upi is correct or not by comparing whether the expenses from the expense extraction 2 and the register read-write modules are consistent or not. Finally, simulating an overhead insertion function of the TX side, transmitting the overhead inserted into the module 2 to a score board 3, transmitting the overhead processed by the module to be tested to the score board 3 by a score board 0, and judging whether the overhead inserted into the function of the TX side of the module to be tested is correct or not by the score board 3 by comparing whether the overheads from the score board 0 and the overhead inserted into the module 2 are consistent or not
The above simulation system adapts to the multichannel ODUK overhead processing module and the method for performing function simulation on the multichannel ODUK overhead processing module by using the simulation system. When the number of channels, the frame type and the included function points of the module to be tested are changed, the simulation system can be flexibly configured through an enabling control end and a parameter control end in the simulation system, so that the simulation system can be adapted to various types of overhead processing modules. The simulation system has high reusability, greatly saves the workload of verification personnel, avoids repetitive work, improves the work efficiency of simulation verification workers and the progress of project development, and saves a large amount of resources.
The embodiment of the invention also provides an overhead simulation method adopting the high-reusability overhead simulation system based on the UVM, which comprises the following steps:
setting the attribute of each module and the number of the object instantiations;
the excitation generating module generates a test frame and sends the test frame to the overhead configuration module;
the overhead configuration module configures the overhead in the test frame according to the overhead function of the current test, sends the configured test frame to the module to be tested and the comparison module, and sends the overhead in the configured test frame to the overhead simulation module;
the signal receiving module receives the test frame processed by the module to be tested and sends the test frame to the comparison module;
the comparison module compares whether the payload areas of the test frame sent by the overhead configuration module and the test frame processed by the module to be tested sent by the signal receiving module are the same or not, and judges whether the processing of the payload areas of the test frame by the module to be tested is correct or not according to the comparison result; the overhead in the test frame processed by the module to be tested is transmitted to the overhead simulation module;
the overhead simulation module carries out the same overhead processing as that of the module to be tested on the overhead transmitted by the overhead configuration module, compares the processed overhead with the overhead transmitted by the comparison module and processed by the module to be tested, and determines whether the processing of the overhead by the module to be tested is correct or not according to the comparison result.
As a preferred embodiment, the overhead configuration module sends the configured test frame to the module to be tested through the excitation sending module.
As a preferred embodiment, the overhead simulation module receives the overhead extracted from the module to be tested through the serial overhead transceiver module.
As a preferred embodiment, the overhead simulation module registers the overhead from the module to be tested through the memory read-write module.
As a preferred embodiment, the overhead simulation module performs the same overhead processing as that of the module to be tested on the overhead transmitted from the overhead configuration module, compares the processed overhead with the overhead transmitted from the comparison module and processed by the module to be tested, and determines whether the processing of the overhead by the module to be tested is correct according to the comparison result, including the following steps:
the overhead simulation module comprises two function selection sub-modules, two overhead extraction modules, two overhead insertion modules and three score counting boards;
the function selection sub-module receives the overhead transmitted by the overhead configuration module, and transmits the overhead to the overhead extraction sub-module and the overhead insertion sub-module according to the currently tested overhead function;
configuring an enabling control end for the overhead extraction submodule and the overhead insertion submodule, and controlling the functions of the overhead extraction submodule and the overhead insertion submodule to be opened or closed through the enabling control end;
the overhead extraction sub-module simulates the extraction function of the excitation overhead in the system to be tested;
the overhead insertion sub-module simulates the insertion function of the excitation overhead in the system to be tested;
and comparing the overhead after the simulation processing with the overhead after the processing of the module to be tested by the score board, and judging whether the processing of the overhead by the module to be tested is correct or not according to the comparison results of the three score boards.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (8)

1. A UVM-based high-reusability overhead simulation system, comprising:
an excitation generation module to: generating a test frame and sending the test frame to an overhead configuration module;
an overhead configuration module to: the method comprises the steps that expenses in a test frame are configured according to an expense function of a current test, the configured test frame is sent to a module to be tested and a comparison module, and the expenses in the configured test frame are sent to an expense simulation module;
a signal receiving module to: receiving the test frame processed by the module to be tested and sending the test frame to the comparison module;
a comparison module to: comparing whether the payload areas of the test frame sent by the overhead configuration module and the test frame processed by the module to be tested sent by the signal receiving module are the same or not, and judging whether the processing of the payload areas of the test frame by the module to be tested is correct or not according to the comparison result; the overhead in the test frame processed by the module to be tested is transmitted to the overhead simulation module;
an overhead simulation module to: the overhead transmitted by the overhead configuration module is subjected to the same overhead processing as that of the module to be tested, the processed overhead is compared with the overhead transmitted by the comparison module and processed by the module to be tested, and whether the processing of the overhead by the module to be tested is correct or not is determined according to the comparison result; the overhead simulation module comprises two function selection sub-modules, two overhead extraction modules, two overhead insertion modules and three score boards, wherein:
the function selection sub-module is used for receiving the overhead transmitted by the overhead configuration module and transmitting the overhead to the overhead extraction sub-module and the overhead insertion sub-module according to the currently tested overhead function;
the overhead extraction sub-module is used for simulating the extraction function of the excitation overhead in the system to be tested; controlling the opening or closing of the self function according to the currently tested overhead function through the enabling control end;
the overhead insertion submodule is used for simulating an insertion function of excitation overhead in the system to be tested; controlling the opening or closing of the self function according to the currently tested overhead function through the enabling control end;
the scoring board is used for comparing the overhead after the simulation processing with the overhead after the processing of the module to be tested, and judging whether the processing of the overhead by the module to be tested is correct or not according to the comparison result of the three scoring boards;
the parameter control module is used for setting the attribute of each module and the number of the instantiated objects;
each module in the system is provided with an enabling control terminal, and the enabling control terminal is used for controlling the function of each module to be turned on or off.
2. The system of claim 1, wherein the system further comprises an incentive transmitting module for: and sending the test frame configured by the overhead configuration module to the module to be tested.
3. The system of claim 1, wherein the system further comprises a serial overhead transceiver module to: and receiving the overhead extracted from the module to be tested through the serial overhead port and sending the overhead to the overhead simulation module.
4. The system of claim 1, further comprising a register read-write module for reading overhead from the module under test by reading a register and transferring the overhead to the overhead simulation module.
5. An overhead simulation method using the UVM-based high-reusability overhead simulation system according to any one of claims 1 to 4, comprising the steps of:
setting the attribute of each module and the number of the object instantiations;
the excitation generating module generates a test frame and sends the test frame to the overhead configuration module;
the overhead configuration module configures the overhead in the test frame according to the overhead function of the current test, sends the configured test frame to the module to be tested and the comparison module, and sends the overhead in the configured test frame to the overhead simulation module;
the signal receiving module receives the test frame processed by the module to be tested and sends the test frame to the comparison module;
the comparison module compares whether the payload areas of the test frame sent by the overhead configuration module and the test frame processed by the module to be tested sent by the signal receiving module are the same or not, and judges whether the processing of the payload areas of the test frame by the module to be tested is correct or not according to the comparison result; the overhead in the test frame processed by the module to be tested is transmitted to the overhead simulation module;
the overhead simulation module performs the same overhead processing as that of the module to be tested on the overhead transmitted by the overhead configuration module, compares the processed overhead with the overhead transmitted by the comparison module and processed by the module to be tested, and determines whether the processing of the overhead by the module to be tested is correct according to the comparison result, which specifically comprises the following steps:
the overhead simulation module comprises two function selection sub-modules, two overhead extraction modules, two overhead insertion modules and three score counting boards;
the function selection sub-module receives the overhead transmitted by the overhead configuration module, and transmits the overhead to the overhead extraction sub-module and the overhead insertion sub-module according to the currently tested overhead function;
configuring an enabling control end for the overhead extraction submodule and the overhead insertion submodule, and controlling the functions of the overhead extraction submodule and the overhead insertion submodule to be opened or closed through the enabling control end;
the overhead extraction sub-module simulates the extraction function of the excitation overhead in the system to be tested;
the overhead insertion sub-module simulates the insertion function of the excitation overhead in the system to be tested;
and comparing the overhead after the simulation processing with the overhead after the processing of the module to be tested by the score board, and judging whether the processing of the overhead by the module to be tested is correct or not according to the comparison results of the three score boards.
6. The method of claim 5, wherein the overhead configuration module sends the configured test frame to the module under test via a stimulus sending module.
7. The method of claim 5, wherein the overhead simulation module receives the overhead extracted from the module under test through a serial overhead transceiver module.
8. The method of claim 5, wherein the overhead emulation module registers the overhead from the module under test through a register read-write module.
CN201911296369.0A 2019-12-16 2019-12-16 High-reusability overhead simulation system and method based on UVM Active CN111082858B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911296369.0A CN111082858B (en) 2019-12-16 2019-12-16 High-reusability overhead simulation system and method based on UVM

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911296369.0A CN111082858B (en) 2019-12-16 2019-12-16 High-reusability overhead simulation system and method based on UVM

Publications (2)

Publication Number Publication Date
CN111082858A CN111082858A (en) 2020-04-28
CN111082858B true CN111082858B (en) 2021-03-02

Family

ID=70315204

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911296369.0A Active CN111082858B (en) 2019-12-16 2019-12-16 High-reusability overhead simulation system and method based on UVM

Country Status (1)

Country Link
CN (1) CN111082858B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1770673A (en) * 2004-11-02 2006-05-10 华为技术有限公司 Spending processing method for service integration in OTN network
CN101848147B (en) * 2010-04-21 2012-04-04 华为技术有限公司 Transfer method, device and system of SDH (Synchronous Digital Hierarchy)/Sonet section overhead byte
CN105912765A (en) * 2016-04-07 2016-08-31 烽火通信科技股份有限公司 Reusable simulation components and method for simulation environment integration
CN105160124B (en) * 2015-09-23 2018-04-20 烽火通信科技股份有限公司 Optical transfer network expense analogue system and emulation mode
CN104866374B (en) * 2015-05-22 2018-07-06 北京华如科技股份有限公司 Discrete event parallel artificial and method for synchronizing time based on multitask

Family Cites Families (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7197243B1 (en) * 2000-03-31 2007-03-27 Nortel Networks Limited Optical waveform for use in a DWDM optical network and systems for generating and processing same
CN100512320C (en) * 2003-11-18 2009-07-08 华为技术有限公司 Method of realizing treatment on synchroaous digital series middle section and device thereof
CN101043281B (en) * 2006-03-23 2011-10-26 中兴通讯股份有限公司 Wavelength-division multiplex network synchronous digital hierarchy optical channel performance detecting device
CN101202589B (en) * 2006-12-12 2011-08-10 中兴通讯股份有限公司 Apparatus and method for malfunction detection of transmission equipment
CN101227450B (en) * 2007-01-16 2013-04-24 华为技术有限公司 Equipment, system and method for transmitting spending information
CN101247200B (en) * 2007-02-15 2013-01-09 华为技术有限公司 OTU signal multiplexing/de-multiplexing system and method
CN101277162B (en) * 2007-03-28 2011-11-30 华为技术有限公司 Method and apparatus for removing jitter in demapping, data readout clock obtaining method and apparatus
CN101488817B (en) * 2008-01-17 2012-05-30 湖北众友科技实业股份有限公司 SDH frame synchronization method
CN101299649B (en) * 2008-06-19 2011-08-24 中兴通讯股份有限公司 Method and device for mixing and concourse of multi-service based on all-purpose framing regulations
CN101686416A (en) * 2008-09-27 2010-03-31 华为技术有限公司 Method, device and network system for transporting optical transport unit (OTU) by optical transport network (OTN)
CN101944952B (en) * 2010-09-26 2015-05-20 中兴通讯股份有限公司 Device and method for realizing overhead processing of optical transport network
CN102395058B (en) * 2011-10-27 2018-03-23 中兴通讯股份有限公司 A kind of method and device of processing ODUk frames
CN103561360B (en) * 2013-10-24 2016-08-24 烽火通信科技股份有限公司 The device and method of serial process optical transfer network expense
CN105162658B (en) * 2015-09-11 2018-02-13 烽火通信科技股份有限公司 Generic validation platform and method for network class acp chip technological development
CN105718661A (en) * 2016-01-21 2016-06-29 烽火通信科技股份有限公司 Universal chip performance verifying device and method
US10310014B1 (en) * 2016-05-12 2019-06-04 Xilinx, Inc. Method to convert OVM/UVM-based pre-silicon tests to run post-silicon on a tester
US10810030B2 (en) * 2016-12-06 2020-10-20 Nutanix, Inc. Identifying entities in a virtualization environment by converting heterogeneous string identifiers for interaction with a single API
CN107332742A (en) * 2017-05-23 2017-11-07 烽火通信科技股份有限公司 The method and system of E1 signals access transmission are realized in packet network
US10985847B2 (en) * 2017-12-21 2021-04-20 Cisco Technology, Inc. Security over optical transport network beyond 100G
CN108763981A (en) * 2018-05-15 2018-11-06 佛山市顺德区中山大学研究院 A kind of RFID reader verification platform and verification method based on UVM
CN109472061B (en) * 2018-10-17 2022-10-14 北京广利核系统工程有限公司 Reusable simulation verification platform and simulation verification method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1770673A (en) * 2004-11-02 2006-05-10 华为技术有限公司 Spending processing method for service integration in OTN network
CN101848147B (en) * 2010-04-21 2012-04-04 华为技术有限公司 Transfer method, device and system of SDH (Synchronous Digital Hierarchy)/Sonet section overhead byte
CN104866374B (en) * 2015-05-22 2018-07-06 北京华如科技股份有限公司 Discrete event parallel artificial and method for synchronizing time based on multitask
CN105160124B (en) * 2015-09-23 2018-04-20 烽火通信科技股份有限公司 Optical transfer network expense analogue system and emulation mode
CN105912765A (en) * 2016-04-07 2016-08-31 烽火通信科技股份有限公司 Reusable simulation components and method for simulation environment integration

Also Published As

Publication number Publication date
CN111082858A (en) 2020-04-28

Similar Documents

Publication Publication Date Title
CN107038280B (en) Software and hardware collaborative simulation verification system and method
CN109726061B (en) SoC chip verification method
CA2948250A1 (en) System and method for safety-critical software automated requirements-based test case generation
CN109740222B (en) Testing device and system for automobile networking scene
US20080306722A1 (en) Logic verification system
CN106021044A (en) Reusable SPI (Serial Peripheral Interface) bus protocol module verification environment platform and verification method thereof
CN107659434A (en) A kind of automatic test approach of Devices to test, apparatus and system
US8504344B2 (en) Interface between a verification environment and a hardware acceleration engine
CN114417768B (en) Digital-analog hybrid simulation method and system of Ethernet chip
WO2016150077A1 (en) Method and device for parameter processing
CN113569509B (en) Performance verification system and application for AMBA bus architecture chip
CN112241347B (en) Method for realizing SystemC verification and verification platform assembly architecture
CN107171661B (en) Pin multiplexing method and device, optical module and communication equipment
CN116089281A (en) Chip testing method, testing platform and device
CN111427781A (en) Logic function testing method and platform compatible with simulation and entity
CN110888767A (en) Interface multiplexing module verification platform architecture and quick expansion implementation method
CN103200587A (en) Automatic stability test device and method in radio frequency far-end unit
CN108896841A (en) Test macro, test method and device
CN115496018A (en) Multi-version verification method, device and equipment for SoC (System on chip)
CN100388656C (en) Base station controller/base station receiving/transmitting information apparatus imitator in CDMA system
CN110381603A (en) A kind of accidental access method and terminal
CN111082858B (en) High-reusability overhead simulation system and method based on UVM
US20190369585A1 (en) Method for determining a physical connectivity topology of a controlling development set up for a real-time test apparatus
CN110688269A (en) RTL code automatic verification device and method adopting AXI bus interface
EP4030645A1 (en) Interference simulation system, method and apparatus, interference test system, method and apparatus, and computer readable storage medium

Legal Events

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