CN116170267A - OFDM communication system verification platform and method based on UVM - Google Patents
OFDM communication system verification platform and method based on UVM Download PDFInfo
- Publication number
- CN116170267A CN116170267A CN202310152904.5A CN202310152904A CN116170267A CN 116170267 A CN116170267 A CN 116170267A CN 202310152904 A CN202310152904 A CN 202310152904A CN 116170267 A CN116170267 A CN 116170267A
- Authority
- CN
- China
- Prior art keywords
- data
- communication system
- ofdm communication
- component
- output data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000004891 communication Methods 0.000 title claims abstract description 140
- 238000012795 verification Methods 0.000 title claims abstract description 72
- 238000000034 method Methods 0.000 title claims abstract description 29
- 230000005284 excitation Effects 0.000 claims abstract description 43
- 230000006870 function Effects 0.000 claims description 30
- 238000012545 processing Methods 0.000 claims description 23
- 238000012544 monitoring process Methods 0.000 claims description 21
- 238000004088 simulation Methods 0.000 claims description 13
- 238000012546 transfer Methods 0.000 claims description 12
- 230000026676 system process Effects 0.000 claims 1
- 238000010200 validation analysis Methods 0.000 claims 1
- 238000010586 diagram Methods 0.000 description 5
- 230000003993 interaction Effects 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 238000012360 testing method Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 238000012938 design process Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005538 encapsulation Methods 0.000 description 1
- 230000000977 initiatory effect Effects 0.000 description 1
- 230000007257 malfunction Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003595 spectral effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L27/00—Modulated-carrier systems
- H04L27/26—Systems using multi-frequency codes
- H04L27/2601—Multicarrier modulation systems
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L27/00—Modulated-carrier systems
- H04L27/26—Systems using multi-frequency codes
- H04L27/2601—Multicarrier modulation systems
- H04L27/2626—Arrangements specific to the transmitter only
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L27/00—Modulated-carrier systems
- H04L27/26—Systems using multi-frequency codes
- H04L27/2601—Multicarrier modulation systems
- H04L27/2647—Arrangements specific to the receiver only
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/22—Parsing or analysis of headers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/06—Authentication
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Maintenance And Management Of Digital Transmission (AREA)
Abstract
The application relates to a verification platform and a verification method of an OFDM communication system based on UVM, wherein the platform comprises the following components: the system comprises a Sequence component for generating excitation data, an Env container for instantiating each packaged component and an OFDM communication system, wherein the OFDM communication system is connected with the Env container through an interface component, three Agent components, a Reference Model component and a Scoreboard component are packaged in the Env container, a Sequence module, a Driver module and a first Monitor module are packaged in a first Agent component, a second Monitor module is packaged in a second Agent component, and a third Monitor module is packaged in a third Agent component. The platform provided by the invention improves the verification efficiency and can be easily transplanted to other communication verification systems.
Description
Technical Field
The application relates to the technical field of chip verification, in particular to an OFDM communication system verification platform and method based on UVM.
Background
An OFDM communication system is an advanced multi-carrier transmission technique. Due to its advantages of good multipath resistance, high spectral efficiency and low implementation complexity, it becomes one of the standards of IEEE802.11 and is widely used in cellular mobile communication and wireless local area network communication.
In the chip design stage, in order for the OFDM communication system to meet different application scenario requirements, signal processing algorithms such as different coding modulation modes are generally adopted to realize a compromise of effectiveness and reliability, which results in a complex system. In the current large circuit design process, the time spent for verification occupies 70% -80% of the development period. But if not sufficiently verified, the system is prone to malfunction, resulting in failure of the system.
The verification environment is built by adopting the traditional verification modes such as Verilog or SystemVerilog, and when facing to complex communication system design, many bottlenecks are encountered, such as unclear verification environment level, low verification efficiency, low executable verification program, difficulty in measuring verification progress and the like.
Disclosure of Invention
In order to solve the above problems, the embodiments of the present application provide an OFDM communication system verification platform and a verification method based on UVM, which greatly improve verification efficiency, and can be easily transplanted to other communication verification systems.
The embodiment of the application adopts the following technical scheme:
in a first aspect, there is provided a UVM-based OFDM communication system verification platform comprising: a Sequence component, an Env container, and an OFDM communication system; wherein,,
a Sequence component for generating stimulus data;
an Env container for instantiating each of its encapsulated components, the OFDM communication system being connected to the Env container by an interface component;
wherein, three Agent components, reference Model components and a Scoreboard component are packaged in the Env container; wherein,,
the first Agent component is internally packaged with a sequence module, a Driver module and a first Monitor module; the Sequencer module is used for receiving the excitation data and transmitting the excitation data to the Driver module; the Driver module is used for analyzing the excitation data to obtain analysis data, transmitting the analysis data to the OFDM communication system according to an interface protocol, and the first monitor module is used for monitoring the analysis data input to a transmitter of the OFDM communication system and transmitting the analysis data to the Reference Model component;
the second Agent component is internally packaged with a second Monitor module, and is used for monitoring first output data output from a transmitter of the OFDM communication system and transmitting the first output data to the Scoreboard component;
the third Agent component is internally packaged with a third Monitor module, and is used for monitoring second output data output from a receiver of the OFDM communication system and transmitting the second monitoring data to the Scoreboard component;
a Reference Model component for determining first Reference data and second Reference data based on the parsed data using an OFDM baseband processing algorithm simulation Model;
a Scoreboard component configured to compare the first reference data with the first output data, and/or the second reference data with the second output data, so as to determine a verification result of the OFDM communication system;
the transmitter of the OFDM communication system receives the analysis data and obtains first output data after signal processing, and the first output data is transmitted to the receiver of the OFDM communication system, and the receiver of the OFDM communication system receives the first output data and obtains second output data after signal processing.
Optionally, the Sequence component is further configured to generate corresponding directional or random excitation data according to a preset verification function.
Optionally, the Sequencer module is further configured to determine corresponding incentive data through arbitration scheduling.
Optionally, the TLM communication between the Driver module and the Sequencer module adopts get mode, and the Driver module initiates an excitation data acquisition request to the Sequencer module.
Alternatively, the interface component implements the connection of the OFDM communication system to the Env container via uvm _config_db.
Optionally, the Scoreboard component includes a functional coverage module;
and the function coverage rate module is used for determining the function coverage rate of the OFDM communication system based on the verification result.
Optionally, the first Monitor module is further configured to convert the parsed data into a transaction parsed data packet and transmit the parsed data packet to the Reference Model component;
and/or the second Monitor module is further configured to convert the first output data into a transaction first output data packet and transmit the first output data packet to the Scoreboard component;
and/or the third Monitor module is further configured to convert the second output data into a transaction second output data packet and transfer the second output data packet to the Scoreboard component.
Alternatively, the OFDM baseband processing algorithm simulation Model of the Reference Model component is written by Matlab, and other components are written by SystemVerilog.
Optionally, the SystemVerilog includes a DPI interface for calling a C function, the Matlab includes a C interface library, and the Reference Model component and other components implement data transfer through a C language.
In a second aspect, an OFDM communication system verification method based on UVM is provided, where the method is implemented based on the above-mentioned OFDM communication system verification platform based on UVM, and the method includes:
generating stimulus data using the Sequence component;
the method comprises the steps that a Sequencer module is used for receiving excitation data and transmitting the excitation data to a Driver module;
analyzing the excitation data by using a Driver module to obtain analysis data, and transmitting the analysis data to an OFDM communication system;
monitoring analytic data input to a transmitter of the OFDM communication system by using a first Monitor module, and transmitting the analytic data to a Reference Model assembly;
monitoring first output data output from a transmitter of the OFDM communication system using a second Monitor module and delivering the first output data to a Scoreboard component;
monitoring second output data output from a receiver of the OFDM communication system using a third Monitor module and transferring the second output data to a Scoreboard component;
determining first Reference data and second Reference data based on the parsed data using an OFDM baseband processing algorithm simulation Model of the Reference Model component;
and comparing the first reference data with the first output data and/or the second reference data with the second output data by utilizing the Scoreboard component to determine a verification result of the OFDM communication system.
The above-mentioned at least one technical scheme that this application embodiment adopted can reach following beneficial effect:
the OFDM communication system verification platform based on UVM can automatically generate excitation data, verify the OFDM communication system and directly obtain a verification result. Compared with the traditional SystemVerilog writing verification environment, the verification efficiency is greatly improved. And the verification platform can be easily transplanted to other communication verification systems, so that the universality is stronger.
The foregoing description is only an overview of the technical solutions of the present application, and may be implemented according to the content of the specification in order to make the technical means of the present application more clearly understood, and in order to make the above-mentioned and other objects, features and advantages of the present application more readily understood, the following detailed description of the present application will be presented in conjunction with the following detailed description of the present application.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiments of the application and together with the description serve to explain the application and do not constitute an undue limitation to the application. In the drawings:
fig. 1 shows a schematic structural diagram of a UVM based OFDM communication system verification platform according to an embodiment of the present application;
FIG. 2 illustrates a schematic diagram of a Reference Model component and other components implementing data transfer in C language according to one embodiment of the present application;
fig. 3 shows a flow diagram of a UVM based OFDM communication system verification method according to one embodiment of the present application.
Detailed Description
Exemplary embodiments of the present application will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present application are shown in the drawings, it should be understood that the present application may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
Fig. 1 is a schematic structural diagram of an OFDM communication system verification platform based on UVM according to an embodiment of the present application. As shown in fig. 1, the platform includes: sequence component, env container and OFDM communication system.
A Sequence component for generating stimulus data; an Env container for instantiating each component of its encapsulation, the OFDM communication system being connected to the Env container by an interface component.
The Env container has three Agent components, reference Model components, and a Scoreboard component packaged therein.
The first Agent component is internally packaged with a sequence module, a Driver module and a first Monitor module; the Sequencer module is used for receiving the excitation data and transmitting the excitation data to the Driver module; the Driver module is used for analyzing the excitation data to obtain analysis data, transmitting the analysis data to the OFDM communication system according to an interface protocol, and the first monitor module is used for monitoring the analysis data input to a transmitter of the OFDM communication system and transmitting the analysis data to the Reference Model component.
The second Agent component is internally packaged with a second Monitor module, and is used for monitoring the first output data output from the transmitter of the OFDM communication system and transmitting the first output data to the Scoreboard component.
And a third Monitor module is encapsulated in the third Agent component and is used for monitoring second output data output from a receiver of the OFDM communication system and transmitting the second monitoring data to the Scoreboard component.
And a Reference Model component for determining the first Reference data and the second Reference data based on the parsed data using an OFDM baseband processing algorithm simulation Model.
And the Scoreboard component is used for comparing the first reference data with the first output data and/or comparing the second reference data with the second output data so as to determine a verification result of the OFDM communication system.
The transmitter of the OFDM communication system receives the analysis data and obtains first output data after signal processing, and the first output data is transmitted to the receiver of the OFDM communication system, and the receiver of the OFDM communication system receives the first output data and obtains second output data after signal processing.
The Sequence component generates stimulus data (transactions), creates transactions through body tasks in the Sequence component, and sends to the Sequence module. The Sequence component can separate the test case from the test platform.
The Env container is used to instantiate its packaged individual components. The Env container encapsulates the components together and configures communication interfaces between the components to implement an environment with multiple use cases. When running different use cases, instantiation is needed in the Env container.
The OFDM communication system is a baseband signal processing system designed to be tested, and comprises a transmitter and a receiver. The Env container is connected with the OFDM communication system through an interface component.
In the Env container, three Agent components are encapsulated, and modules of the same protocol are encapsulated under each Agent component.
The first Agent component is internally packaged with a Sequencer module, a Driver module and a first Monitor module. The Sequence module organizes and manages the excitation data generated by the Sequence, and transmits the excitation data generated by the Sequence to the Driver module when the Driver module requests to acquire the excitation data. The Driver module analyzes the excitation data to obtain analysis data, and transmits the analysis data to a transmitter of the OFDM communication system according to an interface protocol. The first monitor module monitors the parsed data input to the transmitter of the OFDM communication system and passes the parsed data to the Reference Model component.
And a second Monitor module is packaged in the second Agent component. The transmitter of the OFDM communication system communicates the signal-processed first output data to the receiver of the OFDM communication system. The second Monitor module monitors first output data output by a transmitter of the OFDM communication system and passes the first output data to the Scoreboard component.
And a third Monitor module is packaged in the third Agent component. And the receiver of the OFDM communication system performs signal processing on the first output data to obtain second output data. The third Monitor module monitors second output data output by the receiver of the OFDM communication system and passes the second output data to the Scoreboard component.
In the Env container, there are also encapsulated Reference Model components and Scoreboard components.
The Reference Model component is used for simulating a Reference Model of the OFDM communication system, completing the same function as the OFDM communication system and simulating a correct output result of the OFDM communication system, thereby providing a judgment standard for the verification of the OFDM communication system.
The Scoreboard component compares the correct output of the Reference Model component with the actual output of the OFDM communication system to verify that the actual output of the OFDM communication system is correct.
And starting the OFDM communication system verification platform based on the UVM, generating excitation data by a Sequence component, and transmitting the excitation data to a Driver module through a Sequence module. And the Driver module analyzes the excitation data to obtain analysis data, and then transmits the analysis data to a transmitter of the OFDM communication system according to an interface protocol. The transmitter delivers the signal-processed first output signal to a receiver of an OFDM communication system. The three Monitor modules respectively Monitor the input and output ports of the OFDM communication system, the first Monitor module transmits the analysis data to the Reference Model component, and the second Monitor module and the third Monitor module respectively transmit the first output data and the second output data to the Scoreboard component. The Reference Model simulates based on the parsed data and passes the correct output results with Reference significance to the Scoreboard. In the Scoreboard, the correct output result and the actual output result of the OFDM communication system are compared in data, and if the correct output result and the actual output result can be completely consistent in value, the OFDM communication system is verified to be correct, thereby realizing verification of the OFDM communication system.
Based on the platform shown in fig. 1, excitation data can be automatically generated, and the OFDM communication system is verified and the verification result is directly obtained. Compared with the traditional SystemVerilog writing verification environment, the verification efficiency is greatly improved. And the verification platform can be easily transplanted to other communication verification systems, so that the universality is stronger.
In some alternative embodiments, in the above platform, the Sequence component is further configured to generate corresponding directional or random incentive data according to a preset verification function.
Different functions are required to be verified for different functions implemented by the OFDM communication system and functional points to be verified are listed in detail. Therefore, different sentences are written for the Sequence component according to the preset verification function, so that the Sequence generates the excitation data required by the corresponding function point.
In some alternative embodiments, in the above platform, the Sequencer module is further configured to determine corresponding incentive data by arbitration scheduling.
The Sequencer module is a bridge connecting the Sequencer component and the Driver module and has an arbitration function. For a variety of different stimulus data generated by the Sequence component, the Sequence determines the appropriate stimulus data by arbitration scheduling.
In some alternative embodiments, in the platform, TLM communication between the Driver module and the Sequencer module uses get mode, and the Driver module initiates an incentive data acquisition request to the Sequencer module.
The TLM communication between the Driver module and the sequence module adopts a get mode, namely, the Driver module initiates an acquisition request for obtaining the excitation data from the sequence module, and the sequence module transmits the excitation data to the Driver module. The Driver module needs to decompose the excitation data to obtain analysis data, and then the analysis data is generated into data streams according to an interface protocol of the OFDM communication system, and the data streams flow to the OFDM communication system through the interface component.
In some alternative embodiments, in the above platform, the interface component implements a connection of the OFDM communication system to the Env container through uvm _config_db.
The interface component enables data transfer between the OFDM communication system and the Env container via uvm _config_db. The parsed data enters a transmitter of the OFDM communication system, and the first output data processed by the transmitter enters a receiver of the OFDM communication system. Each Monitor module monitors the input of the transmitter, the output of the transmitter, and the output of the receiver of the OFDM communication system via interface components.
In some alternative embodiments, in the platform described above, the Scoreboard component includes a functional coverage module; and the function coverage rate module is used for determining the function coverage rate of the OFDM communication system based on the verification result.
The function coverage rate module is integrated in the Scoreboard component, and after the Scoreboard determines the verification result based on the correct output result and the actual output result, the function coverage rate module can be used for further collecting the function coverage rate of the OFDM communication system. The function coverage rate module can also realize the function of automatically collecting code coverage rate.
In some alternative embodiments, in the above platform, the first Monitor module is further configured to convert the resolution data into a transaction resolution packet and pass the resolution packet to the Reference Model component; and/or the second Monitor module is further configured to convert the first output data into a transaction first output data packet and transmit the first output data packet to the Scoreboard component; and/or the third Monitor module is further configured to convert the second output data into a transaction second output data packet and transfer the second output data packet to the Scoreboard component.
After each Monitor module receives each data from the OFDM communication system, each received data is converted into a sequence_item data packet of a transaction level, and each data packet is correspondingly transferred to the Reference Model component and the Scoreboard component respectively.
In some alternative embodiments, in the above platform, the OFDM baseband processing algorithm simulation Model of the Reference Model component is written in Matlab, and the other components are written in System Verilog.
In some alternative embodiments, in the platform, the SystemVerilog includes a DPI interface that calls a C function, and the Matlab includes a C interface library, and the Reference Model component and other components implement data transfer through a C language.
FIG. 2 is a schematic diagram illustrating the data transfer between a Reference Model component and other components in the C language according to one embodiment of the present application. According to FIG. 2, the Reference Model component communicates data with other components as follows.
And (3) pre-writing an OFDM baseband processing algorithm simulation Model code in a Reference Model through Matlab. Because the simulation Model code of the OFDM baseband processing algorithm is written by Matlab, a brand new communication mode for realizing Reference Model data communication is provided in order to facilitate interaction with languages such as C, C ++. Other components are written in SystemVerilog, which provides a DPI interface that invokes the C language. Matlab itself provides a C interface library, then Matlab can be controlled and data transferred by calling a C function. For example, a function defined in C is imported through the DPI interface, a method for starting Matlab and performing data transmission with each other is defined in the C function, and after a verification platform is started in Modelsim, a gcc compiler is utilized to compile C code, so that data interaction is realized.
Based on the platform, directional excitation or random excitation can be automatically generated, and results such as code coverage rate, functional coverage rate and the like can be directly collected. Compared with the traditional SystemVerilog writing verification environment, the verification efficiency is greatly improved. And the verification platform can be easily transplanted to other communication verification systems, so that the universality is stronger. Based on the platform described above, reference Model components can be written based on Matlab, and other components can be written based on SystemVerilog. After Matlab is started, the analysis data is transmitted to the Matlab, then the Matlab simulates the analysis data, and the correct output result is transmitted to the Scorboard component. And data interaction is realized between Matlab and SystemVerilog through a C function, so that the efficiency of collaborative simulation is improved.
Fig. 3 illustrates a UVM based OFDM communication system verification method according to another embodiment of the present application. As shown in fig. 3, the method of this embodiment is implemented based on the above-mentioned UVM-based OFDM communication system verification platform. The method of the present embodiment includes the following steps S301 to S309:
step S301, generating excitation data by using the Sequence component.
Step S302, the Sequencer module is used for receiving the excitation data and transmitting the excitation data to the Driver module.
Step S303, analyzing the excitation data by using a Driver module to obtain analysis data, and transmitting the analysis data to the OFDM communication system.
Step S304, the transmitter of the OFDM communication system is utilized to perform signal processing on the analysis data to obtain first output data, the first output data is transmitted to the receiver of the OFDM communication system, and the receiver of the OFDM communication system performs signal processing on the first output data to obtain second output data.
In step S305, the first Monitor module is used to Monitor the analytic data input to the transmitter of the OFDM communication system, and the analytic data is transferred to the Reference Model component.
In step S306, the second Monitor module is used to Monitor the first output data output from the transmitter of the OFDM communication system, and transfer the first output data to the Scoreboard component.
In step S307, the third Monitor module is used to Monitor the second output data output from the receiver of the OFDM communication system, and transfer the second output data to the Scoreboard component.
In step S308, the first Reference data and the second Reference data are determined based on the analysis data using the OFDM baseband processing algorithm simulation Model of the Reference Model component.
In step S309, the score board component is used to compare the first reference data with the first output data, and/or the second reference data with the second output data, so as to determine the verification result of the OFDM communication system.
In some alternative embodiments, in the above method, generating stimulus data with a Sequence component includes: and generating corresponding orientation or random excitation data according to a preset verification function.
In some alternative embodiments, in the above method, the step of receiving the excitation data by using the Sequencer module and transmitting the excitation data to the Driver module includes: the corresponding incentive data is determined by arbitration scheduling.
In some alternative embodiments, in the method, the method further includes receiving, by the Sequencer module, the excitation data and transmitting the excitation data to the Driver module, and further including: and initiating an excitation data acquisition request to the sequence module by using the Driver module.
In some alternative embodiments, in the above method, the data communication between the OFDM communication system and the modules is implemented by uvm _config_db.
In some optional embodiments, in the above method, after determining a verification result of the OFDM communication system, the method further includes: and determining the functional coverage rate of the OFDM communication system based on the verification result.
In some alternative embodiments, in the above method, monitoring, with the first Monitor module, the parsed data input to the transmitter of the OFDM communication system, and passing the parsed data to the Reference Model component, includes: converting the analysis data into a transaction analysis data packet and transmitting the analysis data packet to a Reference Model component; and/or monitoring, with a second Monitor module, first output data output from a transmitter of the OFDM communication system and delivering the first output data to a Scoreboard component, comprising: converting the first output data into a transaction first output data packet and transmitting the first output data packet to a Scoreboard component; and/or monitoring, with a third Monitor module, second output data output from a receiver of the OFDM communication system and communicating the second monitored data to a Scoreboard component, comprising: the second output data is converted into a transaction second output data packet and the second output data packet is passed to the Scoreboard component.
In some alternative embodiments, in the above method, the simulation model of the OFDM baseband processing algorithm is written by Matlab, and the other components are written by System Verilog.
In some alternative embodiments, in the above method, data interaction is achieved between Matlab and SystemVerilog through a C function.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of the functional units and modules is illustrated, and in practical application, the above-described functional distribution may be performed by different functional units and modules according to needs, i.e. the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-described functions.
The above embodiments are only for illustrating the technical solution of the present invention, and not for limiting the same; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention, and are intended to be included in the scope of the present invention.
Claims (10)
1. An UVM-based OFDM communication system verification platform, the platform comprising:
a Sequence component, an Env container, and an OFDM communication system; wherein,,
the Sequence component is used for generating excitation data;
the Env container is used for instantiating each packaged component of the Env container, and the OFDM communication system is connected with the Env container through an interface component;
wherein, three Agent components, reference Model components and a Scoreboard component are packaged in the Env container; wherein,,
the first Agent component is internally packaged with a sequence module, a Driver module and a first Monitor module; the Sequencer module is used for receiving the excitation data and transmitting the excitation data to the Driver module; the Driver module is used for analyzing the excitation data to obtain analysis data, transmitting the analysis data to the OFDM communication system according to an interface protocol, and the first monitor module is used for monitoring the analysis data input to a transmitter of the OFDM communication system and transmitting the analysis data to the Reference Model assembly;
the second Agent component is internally packaged with a second Monitor module, and is used for monitoring first output data output from a transmitter of the OFDM communication system and transmitting the first output data to the Scoreboard component;
the third Agent component is internally packaged with a third Monitor module, and is used for monitoring second output data output from a receiver of the OFDM communication system and transmitting the second monitoring data to the Scoreboard component;
the Reference Model component is used for determining first Reference data and second Reference data based on the analysis data by using an OFDM baseband processing algorithm simulation Model;
the Scoreboard component is configured to compare the first reference data with the first output data, and/or the second reference data with the second output data, so as to determine a verification result of the OFDM communication system;
and the transmitter of the OFDM communication system receives the analysis data and obtains first output data after signal processing, and the first output data is transmitted to the receiver of the OFDM communication system, and the receiver of the OFDM communication system receives the first output data and obtains second output data after signal processing.
2. The UVM based OFDM communication system verification platform of claim 1, wherein the Sequence component is further configured to generate corresponding directional or random incentive data based on a preset verification function.
3. The UVM based OFDM communication system verification platform of claim 1, wherein the Sequencer module is further configured to determine the corresponding incentive data by an arbitration schedule.
4. The UVM based OFDM communication system verification platform of claim 1, wherein TLM communication between the Driver module and the Sequencer module employs a get mode, and wherein an incentive data acquisition request is initiated by the Driver module to the Sequencer module.
5. The UVM based OFDM communication system verification platform of claim 1, wherein the interface component enables connection of the OFDM communication system to the Env container through UVM _config_db.
6. The UVM based OFDM communication system verification platform of claim 1, wherein the Scoreboard component comprises a functional coverage module;
the function coverage rate module is used for determining the function coverage rate of the OFDM communication system based on the verification result.
7. The UVM based OFDM communication system validation platform of claim 1, wherein the first Monitor module is further configured to convert the parsed data into a transaction parsed data packet and pass the parsed data packet to the Reference Model component;
and/or the second Monitor module is further configured to convert the first output data into a transaction first output data packet and transfer the first output data packet to the Scoreboard component;
and/or the third Monitor module is further configured to convert the second output data into a transaction second output data packet and transfer the second output data packet to the Scoreboard component.
8. The UVM-based OFDM communication system verification platform of claim 1, wherein the OFDM baseband processing algorithm simulation Model of the Reference Model component is written in Matlab and the other components are written in SystemVerilog.
9. The UVM-based OFDM communication system verification platform of claim 8, wherein the SystemVerilog comprises a DPI interface for calling a C function, the Matlab comprises a C interface library, and the Reference Model component and other components implement data transfer through a C language.
10. A method for UVM-based OFDM communication system verification, the method being implemented based on the UVM-based OFDM communication system verification platform of any of claims 1-9, the method comprising:
generating stimulus data using the Sequence component;
the excitation data is received by a sequence module and transmitted to the Driver module;
analyzing the excitation data by using the Driver module to obtain analysis data, and transmitting the analysis data to the OFDM communication system;
the transmitter of the OFDM communication system is utilized to process the analysis data to obtain first output data, the first output data is transmitted to the receiver of the OFDM communication system, and the receiver of the OFDM communication system processes the first output data to obtain second output data;
monitoring the parsed data input to the transmitter of the OFDM communication system with a first Monitor module and passing the parsed data to the Reference Model component;
monitoring first output data output from a transmitter of the OFDM communication system with a second Monitor module and delivering the first output data to the Scoreboard component;
monitoring second output data output from a receiver of the OFDM communication system using a third Monitor module and transferring the second output data to the Scoreboard component;
determining first Reference data and second Reference data based on the parsed data using an OFDM baseband processing algorithm simulation Model of the Reference Model component;
and comparing the first reference data with the first output data and/or the second reference data with the second output data by using the Scoreboard component to determine a verification result of the OFDM communication system.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310152904.5A CN116170267A (en) | 2023-02-17 | 2023-02-17 | OFDM communication system verification platform and method based on UVM |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310152904.5A CN116170267A (en) | 2023-02-17 | 2023-02-17 | OFDM communication system verification platform and method based on UVM |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116170267A true CN116170267A (en) | 2023-05-26 |
Family
ID=86414424
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310152904.5A Pending CN116170267A (en) | 2023-02-17 | 2023-02-17 | OFDM communication system verification platform and method based on UVM |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116170267A (en) |
-
2023
- 2023-02-17 CN CN202310152904.5A patent/CN116170267A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104734911A (en) | CAN bus network management test system and method | |
US8504344B2 (en) | Interface between a verification environment and a hardware acceleration engine | |
CN105306156A (en) | Remote sensing satellite data transmission product automatic testing system and method | |
CN101499937A (en) | Software and hardware collaborative simulation verification system and method based on FPGA | |
KR102275144B1 (en) | Can frame-ethernet packet converting method in domain control unit | |
CN112579381A (en) | UVM-based UART bus UVM verification system and method | |
CN105791025B (en) | A kind of automotive networking communication system forward design method | |
Yang et al. | A novel bus transfer mode (AS transfer) and a performance evaluation methodology | |
CN108519936B (en) | Verification system and method for data transmission bus of effective load subsystem | |
CN113934192A (en) | Simulation debugging system and method for vehicle information system | |
CN104243246B (en) | A kind of FlexRay bus tests and optimization method and device based on ZigBee technology | |
CN116170267A (en) | OFDM communication system verification platform and method based on UVM | |
CN115657646B (en) | Test method and device of CAN controller | |
CN106789449A (en) | A kind of CAN exploitation and method of testing and system | |
CN107911288B (en) | Train communication network card and train control management system | |
CN116209002A (en) | Test data interaction method, test data interaction device and electronic equipment | |
EP4020241A1 (en) | Methods and apparatuses involving radar system data paths | |
CN115776653A (en) | Vehicle-mounted data acquisition method, device, equipment and medium | |
CN113422756B (en) | Verification data transmission method, rate conversion device and verification data transmission system | |
CN105916155B (en) | Authorization auxiliary access network system | |
CN100365587C (en) | Adaptive wave filter logic verifying system and method | |
CN104580514A (en) | Remote software application debugging method and device based on cloud computing | |
CN106817426A (en) | A kind of reminding method, data transmission method and equipment | |
CN115130406B (en) | FC protocol verification platform device and method based on UVM | |
CN113258941B (en) | Vector signal generation module and method |
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 |