Method and apparatus of enhancing functional coverage with concurrency coverage
The integration of run-time monitoring and post-process mechanisms addresses the limitations of traditional functional coverage in handling concurrent transactions, ensuring thorough verification of integrated circuit designs with complex protocols like CXL.
Patent Information
- Application Number
- US18/300333
- Authority / Receiving Office
- US · United States
- Patent Type
- Patents(United States)
- Current Assignee / Owner
- Filing Date
- 2023-04-13
- Publication Date
- 2026-12-01
- Estimated Expiration
- 2045-06-24
AI Technical Summary
Traditional functional coverage methodologies fail to adequately account for concurrent transactions in complex protocols like Compute Express Link (CXL), leading to incomplete verification of integrated circuit designs.
Implementing a run-time monitoring mechanism to track and analyze both transmission and reception transactions simultaneously, along with a post-process mechanism to verify sequencing correctness, enhancing traditional functional coverage metrics to ensure comprehensive verification of concurrency scenarios.
Ensures high-quality functional testing of integrated circuit designs by accurately verifying and reporting complex concurrency scenarios, thereby achieving complete functional coverage.
Smart Images

Figure US12818078-D00000_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present embodiments relate generally to verification and more particularly to functional verification techniques that account for handling concurrent transactions.BACKGROUND
[0002] Integrated circuit designs such as System on Chip (SoC) designs have individual circuit blocks that need to be verified before the signoff of the design. Many forms of verification are performed against various design requirements and / or objectives, such as area, power and functionality. Of these, functional verification typically involves changing the state of a logic design and measuring that the response generated by design is correct. Verification environments change the state of designs by driving stimulus in the form of directed or constrained random inputs. Signoff is the process of defining criteria, and objectively measuring metrics against the criteria as the development progresses, until they match.
[0003] Metric-driven signoff is a preferred methodology and technology for measuring and signing off on the design and verification metrics used during the many milestones typical in any integrated circuit (IC) development. While milestones and metrics vary by design type and end application, the final verification signoff will at, a minimum, contain the criteria and metrics within a flexible, human-readable, user-defined organizational structure. Automated data collection, project tracking, dashboards, and in-depth report techniques are mandatory elements to eliminate subjectivity, allowing engineers to spend more time on verification and less time manually collecting and organizing data.
[0004] Functional coverage is the metric of how the design functionality has been exercised and covered by the testbench verification environment. The functional coverage model follows the traditional approach of recording stimulus on the input / output interfaces of the device under test (DUT) or sampling the internal states of the DUT to measure. Many opportunities for improvement in functional coverage remain, for example, as the numbers and types of interfaces increase and change.
[0005] It is against this technological backdrop that the present Applicant sought a technological solution to these and other problems rooted in this technology.SUMMARY
[0006] The present embodiments relate generally to verification, and more particularly to methods and apparatuses for performing functional verification of an integrated circuit design that accounts for handling concurrent transactions. One or more embodiments include functionality to perform run-time monitoring and tracking of all transmission and reception transactions within the same instance simultaneously. These and other embodiments include a post-process mechanism to verify coverage of concurrent transactions, including sequencing correctness. Among other things, the present embodiments extend traditional functional coverage metrics to aid in verifying, reporting and analyzing interesting concurrency scenarios, thereby achieving high quality functional testing of an integrated circuit design.BRIEF DESCRIPTION OF THE DRAWINGS
[0007] These and other aspects and features of the present embodiments will become apparent to those ordinarily skilled in the art upon review of the following description of specific embodiments in conjunction with the accompanying figures, wherein:
[0008] FIG. 1A is a block diagram of an example functional verification system according to embodiments.
[0009] FIG. 1B illustrates example aspects of a functional coverage model according to embodiments.
[0010] FIG. 1C shows further example aspects of a concurrency coverage model according to embodiments.
[0011] FIG. 2 is a flowchart illustrating an example methodology 200 according to embodiments.
[0012] FIGS. 3A to 3D illustrate aspects of example concurrency scenarios that can be identified, monitored, assessed, etc. by the present embodiments.
[0013] FIG. 4 is a flowchart illustrating an example post-processing methodology of embodiments.
[0014] FIG. 5A is an example screenshot that can be provided by a simulator 102 and / or tool 160 according to embodiments.
[0015] FIG. 5B is an example screenshot that can be provided by a simulator 102 and / or tool 160 according to embodiments, and which further illustrates example concurrency coverage aspects of embodiments.DETAILED DESCRIPTION
[0016] The present embodiments will now be described in detail with reference to the drawings, which are provided as illustrative examples of the embodiments to enable those skilled in the art to practice the embodiments and alternatives apparent to those skilled in the art. Notably, the figures and examples below are not meant to limit the scope of the present embodiments to a single embodiment, but other embodiments are possible by way of the interchange of some or all of the described or illustrated elements. Moreover, where certain elements of the present embodiments can be partially or fully implemented using known components, only those portions of such known components that are necessary for an understanding of the present embodiments will be described, and detailed descriptions of other portions of such known components will be omitted so as not to obscure the present embodiments. Embodiments described as being implemented in software should not be limited to it, but can include embodiments implemented in hardware, or combinations of software and hardware, and vice-versa, as will be apparent to those skilled in the art, unless otherwise specified herein. In the present specification, an embodiment showing a singular component should not be considered limiting; rather, the present disclosure is intended to encompass other embodiments including a plurality of the same component, and vice-versa, unless explicitly stated otherwise herein. Moreover, applicants do not intend for any term in the specification or claims to be ascribed an uncommon or special meaning unless explicitly set forth as such. Further, the present embodiments encompass present and future known equivalents to the known components referred to herein by way of illustration.
[0017] According to certain general aspects, the present embodiments relate to the verification of an integrated circuit design from the standpoint of functional coverage, with enhanced capabilities for coverage of concurrent transactions. Concurrent transactions include, for example, a read request being issued to a device while a written request to the device is pending, or vice-versa. This is just one of many possible examples, and other types of concurrent transactions will be described in more detail hereinbelow. In some embodiments, in addition to providing functional verification using standard covergroups and coverpoints, logic is included to run-time monitor and track both transmission and reception transactions within the same instance at all times, including simultaneously. These and other embodiments further include a post-process mechanism to identify concurrent transactions and verify sequencing correctness. Among other aspects, the present embodiments go above and beyond the traditional functional coverage metrics to aid in verifying, report and analyzing interesting concurrency scenarios, therefore ensuring that the DUT is tested with the highest quality.
[0018] As set forth above, functional coverage measures how completely the design functionality has been exercised and covered by the testbench verification environment. The functional coverage model follows the traditional approach of recording stimulus on the input / output interfaces of the DUT and / or sampling the internal states of the DUT. Usually, functional coverage is determined based on a user-defined mapping of each functional feature to be tested to a so-called cover point. These coverage points have certain conditions, such as ranges, transitions, or crosses. Traditional functional coverage sets forth a list of requirements of measurable characteristics such as packet content, state machine transitions, configuration setup, and even error assertions that must be fulfilled before it can be established that a design has been fully functionally covered during simulation.
[0019] According to certain aspects, the present Applicant recognizes that many limitations of the traditional functional coverage model exist. For example, new intricate protocols like Compute Express Link (CXL) include complex transactions that often coincide in a Host or a Device with ordering rules. The traditional functional coverage methodology cannot fully account for concurrent transactions in the DUT, so the completeness of the verification cannot be attained using conventional approaches.
[0020] According to certain further aspects, therefore, the present embodiments relate to enhanced verification techniques that provide concurrency coverage, including support for concurrency scenarios associated with protocols such as CXL. These and other embodiments extend the traditional functional coverage metrics to enable verifying, reporting and analyzing interesting concurrency scenarios, thereby ensuring that the DUT is tested with the highest quality.
[0021] FIG. 1A is a block diagram of an example functional verification system 100 according to embodiments.
[0022] In accordance with aspects of the embodiments, system 100 includes a simulator 102 that is capable of performing functional verification including concurrency simulation of some or all portions of a design 106 (e.g. design for an integrated circuit such as a SoC). As will be described in more detail below, simulation (e.g. digital verification) can be performed using a testbench 104 and in accordance with verification plan 130. As further shown in FIG. 1A, testbench 104 via interface 120 provides stimulus (e.g. requests, commands, etc.) to a DUT comprising one or more IP blocks 110 within design 106. Testbench 104 further receives feedback such as response messages, internal states, external outputs, etc. via interface 120 and records results to simulation output 140. These and other results can be analyzed by tool 160 to measure functional coverage of the design by the verification process.
[0023] Although shown separately for ease of illustration, it should be apparent that the various components of system 100 can be implemented together or separately in various forms of combination, integration or separation. For example, some of all components of simulator 102 can be implemented commonly together with other components, and some components may be further divided into separate components not shown. Moreover, embodiments of system 100 may include additional or fewer components than shown in FIG. 1A.
[0024] In embodiments, the design 106 comprises code for one or more integrated circuit components written in a design language such as RTL, SystemVerilog, VHDL, etc. and / or written at higher or lower levels of abstraction (e.g., SystemC, C, or C++ models). In these and other embodiments, design 106 can include a complete design of one or more components for an entire integrated circuit (e.g. ASIC or SOC) or application. In other embodiments, design 106 can include a design for one or more sub-components for an integrated circuit (e.g. ASIC or SOC), such as a block or a unit. Although described herein as being a design provided by a user, the design 106 can include code from various sources such as RTL generated by a high level synthesis (HLS) tool, hand-written RTL, or acquired soft IP.
[0025] IP blocks 110 can include any type of integrated circuit component, but in accordance with concurrency aspects of the present embodiments, IP blocks 110 can also include devices and hosts that are compliant with protocols such as Peripheral Component Interface Express (PCIe) and CXL. In these and other example embodiments, IP blocks 110 can include specialized accelerators (such as smart NIC devices) with no local memory, high-performance GDDR or HBM memories, memory expansion devices and persistent memory (e.g. devices which provide a host CPU with low-latency access to local DRAM or byte-addressable non-volatile storage), devices that can implement Global Fabric Attached Memory (GFAM) mode, and devices that use a Port Based Routing (PBR) addressing mechanism. It should be noted that the present embodiments are not limited to these example types of IP blocks.
[0026] In embodiments, a system 100 including simulator 102 and tool 160 shown in FIG. 1A can be implemented by one or more general purpose computers that are loaded with software (e.g., EDA tools) and / or customized to include hardware for interactively implementing physical electronic designs. In some embodiments, the one or more computing systems comprise various components not shown such as processor(s) or processor core(s), memory, disks, etc. In some embodiments, the one or more computing systems are implemented in a “cloud” configuration and / or a client / server configuration. For example, one or more server computers may be loaded with application software (e.g., a RTL editor tool, synthesis tool, verification tool, etc.) for implementing some or all of the methodology of the present embodiments, and one or more client computers can communicate with the server computer(s) via a network to perform some or all of the methodology of the embodiments for a particular design. In these and other embodiments, system 100 can be included in an EDA solution built on a massively parallel architecture that performs distributed synthesis across multiple machines and CPUs. In these and other embodiments, a timing-driven partitioning algorithm can slice transparently across a design hierarchy and evenly distributes the optimization effort across different machines. The one or more computing systems may further write to and read from a local or remote volatile or non-volatile computer accessible storage that stores thereon data or information such as, but not limited to, testbench 104, design 106 and verification plan 130 and coverage model 150.
[0027] In some embodiments, the one or more computing systems may, by various standalone software, hardware modules or combinations thereof implement an EDA tool that includes a user interface module. Although not necessary for the present embodiments, the EDA tool may further include interactive or automated modules for interactively implementing designs for integrated circuits that are not shown such as place-and-route tools, floorplanners, design rule checkers, other verification engines (e.g. software, etc.), emulators, signal and power integrity checkers, etc. as will be appreciated by those skilled in the art. In these and other embodiments, a user can interact with simulator 102 and / or tool 160 via interface devices (e.g., mouse, keyboard, trackball, touchpad, microphone, speech recognition systems, AI engines, touchscreen, etc.) and user interfaces (e.g. menus, controls, list boxes, dialogue boxes, etc.), and displays them to the user via user interface devices (e.g., display monitor, speakers, etc.).
[0028] In embodiments, testbench 104 can include code written in a hardware description language for instantiating and providing stimulus 120 to design 106 as is known in the art. According to certain aspects to become more apparent from descriptions below, testbench 104 further instantiates a simulated host 112 (e.g. for interacting with IP blocks 110 that implement a transaction device), a simulated device 114 (e.g. for interacting with IP blocks 110 that implement a transaction host) and a transaction monitor 116 for monitoring messages, requests, responses and / or transactions involving one or more IP blocks 110.
[0029] As will also be described in more detail below, and perhaps in addition to other processing not necessary to the present embodiments, testbench 104 performs actions defined by verification plan 130, which in turn is at least partially defined in accordance with coverage model 150. Testbench 104 outputs simulation results and other simulation information (e.g. states, timestamps, etc.) to output 140. A coverage model 150 and / or concurrency coverage tool 160 can perform post-processing to analyze these results in accordance with coverage model 150 to determine enhanced functional coverage according to the present embodiments. A user can also interact with the system to review or otherwise configure coverage model 150 and to receive post-processing results.
[0030] FIG. 1B illustrates example aspects of a functional coverage model such as can be included in coverage model 150 in FIG. 1A.
[0031] As set forth above, the functional coverage model is based on performing simulation of a design by initiating and recording stimulus on the input / output interfaces of the DUT and / or sampling the internal states of the DUT to measure. In general, the coverage model includes a user-defined mapping of each functional feature to be tested to a so-called cover point. These coverage points have certain conditions, such as ranges, transitions, or crosses. Coverage is determined by fulfilling requirements related to a set of results including packet content, state machine transitions, configuration setup, and even error assertions during simulation.
[0032] More particularly, as shown in FIG. 1B, a verification plan 130 can include a list of simulation tasks 180 to perform during verification, based on items 182. Items 182 can include descriptions of one or more functional components of a design. In accordance with aspects of embodiments, these tasks 180 can include transmit and receive transactions between CXL compliant devices and hosts. Tasks 180 can further include many other conventional and proprietary testbench tasks for performing functional verification of a DUT. As further shown in FIG. 1B, coverage model 150 includes a user-defined mapping of tasks 180 to be performed to a so-called cover point 184.
[0033] Cover points 184 can have certain conditions, such as ranges, transitions, or crosses. As still further shown in the example of FIG. 1B, cover points 184 include one or more bins 186. Cover points 184 can include input / output and / or request / response transactions and bins 186 can include fields defining all of the values of interest associated with the transactions including transaction type, command type, address, data, etc.
[0034] Cover groups 188 include a set of similar types of cover points, for example a group of transmit / receive and / or read / write operations for a given component or group of components. These groups 188 may be configured by a user for grouping together certain functions of a design of particular interest for functional coverage, for example.
[0035] It should be noted that testbench 104, verification plan 130, coverage model 150 (including cover points 184, bins 186 and cover groups 188) can be defined and / or implemented using standard verification techniques, user interfaces and data structures well known to those skilled in the art, and so further details in addition to those provided herein will be omitted for sake of clarity of the description of the embodiments.
[0036] Among other things, the present Applicant recognizes that conventional coverage models only capture simple information like decoding transaction fields, capturing transaction directions, covering internal states, cross coverage of transaction fields, cross coverage of protocol features etc. Certain disadvantages of such traditional approaches are exposed by new intricate protocols like CXL.
[0037] By way of background, the CXL standard defines three separate protocols: CXL.io—based on PCIe 5.0 with a few enhancements, it provides configuration, link initialization and management, device discovery and enumeration, interrupts, DMA, and register I / O access using non-coherent loads / stores; CXL.cache—allows peripheral devices to coherently access and cache host CPU memory with a low latency request / response interface; and CXL.mem—allows a host CPU to coherently access cached device memory with load / store commands for both volatile (RAM) and persistent non-volatile (flash memory) storage. CXL.cache and CXL.mem protocols operate with a common link / transaction layer, which is separate from the CXL.io protocol link and transaction layer. These protocols / layers are multiplexed together by an Arbitration and Multiplexing (ARB / MUX) block before being transported over standard PCIe 5.0 PHY using fixed-width 528 bit (66 byte) Flow Control Unit (FLIT) block consisting of four 16-byte data ‘slots’ and a two-byte cyclic redundancy check (CRC) value. CXL FLITs encapsulate PCIe standard Transaction Layer Packet (TLP) and Data Link Layer Packet (DLLP) data with a variable frame size format.
[0038] As set forth above therefore, among other things, the present Applicant recognizes that in these and similar protocols and / or operating contexts, many concurrent complex transactions often coincide in a Host or a Device with ordering rules. In such circumstances, traditional functional coverage methodologies cannot qualify if the stimulus has tested all the concurrent transactions in the DUT; hence the completeness of the verification is not attained.
[0039] FIG. 1C shows aspects of a concurrency coverage model according to embodiments.
[0040] As set forth above, in embodiments, in addition to standard cover groups and cover points, testbench 104 includes a run-time monitor 116 to track all the ongoing Transmission / Reception transactions (e.g. FLITs) 190 within the same instance simultaneously, as well a post-process mechanism (e.g. tool 160 and / or coverage model 150) to identify such as the concurrency hits and sequencing correctness. As further shown in FIG. 1C, transactions 190 can correspond to read and write operations (as well as associated requests and responses) performed in connection with specified addresses in the DUT.
[0041] Accordingly, as shown in FIG. 1C, simulation using testbench 104 includes transactions 190, which can include multiple outstanding transactions, concurrent transactions, in-sequence transactions and out of order transactions. Monitor 116 and / or coverage model 150 tracks and stores information about both inbound / outbound traffic for the DUT, and maintains a history of past and current transactions. Coverage model 150 and / or monitor 116 can capture and store complete information such as transaction start time, transaction end time, transaction field values, transaction ordering, transactions' partial and full completeness etc. The coverage model by virtue of its post processing, evaluates key information like concurrency of transactions, sequencing of important scenarios and features, identifying out of order transactions, number of similar / different outstanding transactions etc.
[0042] In some embodiments, testbench 104 and / or monitor 116 can include or be implemented using a Bus Functional Model or BFM (also known as a Transaction Verification Model or TVM). BFM is a non-synthesizable software model of an integrated circuit component having one or more external buses. The emphasis of the model is on simulating system bus transactions prior to building and testing the actual hardware. BFMs are usually defined as tasks in Hardware description languages (HDLs), which apply stimuli to the design under verification via complex waveforms and protocols. A BFM is typically implemented using hardware description languages such as Verilog, VHDL, SystemC, or SystemVerilog.
[0043] Typically, BFMs offer a two-sided interface: One interface side drives and samples low-level signals according to the bus protocol. On its other side, tasks are available to create and respond to bus transactions. BFMs are often used as reusable building blocks to create simulation test benches, in which the bus interface ports of a design under test are connected to appropriate BFMs. Another common application of BFMs is the provision of substitute models for IP components: Instead of a netlist or RTL design of an IP component, a third party IP supplier might provide only a BFM suitable for verification purposes. The actual IP component in the form of a gate-level netlist can be directly provided to the foundry by the IP provider.
[0044] BFMs are sometimes referred to as Transaction Verification Models (TVMs). This is to emphasize that bus operations of the model have been bundled into atomic bus transactions to make it easier to issue and view bus transactions. Visualizations of the bus transactions modeled by TVMs are similar to the output of a protocol analyzer or bus sniffer.
[0045] FIG. 2 is a flowchart illustrating an example methodology 200 according to embodiments. This example methodology includes operations 202, 204, 206, 208 and 210. However, other embodiments may include additional or fewer operations. Moreover, the sequence of operations shown in this example is not necessary in all embodiments.
[0046] In the example shown in FIG. 2, methodology 200 includes operation 202, which is to identify a mapping between includes a user-defined mapping of each functional feature to be tested to a so-called cover point. As explained above, these coverage points can have certain conditions, such as ranges, transitions, or crosses. Coverage is determined by fulfilling requirements related to a set of results including packet content, state machine transitions, configuration setup, and even error assertions during simulation.
[0047] Methodology 200 further includes preparing a verification plan (204). As set forth above, a verification plan 130 can include a list of simulation tasks 180 to perform during verification, based on items 182. Items 182 can include descriptions of one or more functional components of a design. In accordance with aspects of embodiments, these tasks 180 can include transmit and receive transactions between CXL compliant devices and hosts. Tasks 180 can further include many other conventional and proprietary testbench tasks for performing functional verification of a DUT.
[0048] Operation 206 in example methodology 200 includes verification of the DUT by performing simulation of DUT in accordance with verification plan 130. For example, testbench 104 performs actions defined by verification plan 130, which in turn is at least partially defined in accordance with coverage model 150. Testbench 104 outputs simulation results and other simulation information (e.g. states, timestamps, etc.) to output 140.
[0049] Operation 208 in example methodology 200 includes monitoring transactions with the DUT during simulation. As explained above, the coverage model of embodiments supports the normal coverage flow using cover points and cross coverage. Alongside this, it also simultaneously monitors all the traffic exchanged on both sides of the link. The coverage model (e.g. using monitor 116) then captures and stores complete information like transaction start time, transaction end time, transaction field values, transaction ordering, transactions' partial and full completeness etc. This information can be outputted and / or stored in output 140, in addition to and / or separately from other simulation output information.
[0050] According to aspects of embodiments, example methodology 200 further includes operation 210, which is to perform post-processing to determine, assess or analyze the results of simulation in connection with concurrency coverage. As set forth above, in embodiments, concurrency coverage tool 160 can perform post-processing to analyze these results (e.g. transaction information in output 140) in accordance with coverage model 150 to determine enhanced functional coverage according to the present embodiments. This can include, for example, identifying out of order transactions, number of similar / different outstanding transactions etc. Tool 160 can also interact with a user to review or otherwise configure coverage model 150 and to allow a user to receive post-processing results.
[0051] FIGS. 3A to 3D illustrate aspects of example concurrency scenarios that can be identified, monitored, assessed, etc. by the present embodiments.
[0052] For example, FIG. 3A illustrates example aspects of concurrent transmit (Tx) transactions according to embodiments. As shown in this example, a CXL device (DUT) includes a cache line that generates two separate sets of packets for two different write operations (WOWrinv and Wrinv) that are being transmitted by the DUT concurrently to the same address in a CXL host.
[0053] FIG. 3B illustrates example aspects of concurrent receive (Rx) transactions according to embodiments. As shown in this example, a CXL host (DUT) includes a cache line that receives two separate sets of packets for two different read operations (clFlush and RdOwnNoData) that are being transmitted by the CXL device to the same address of the CXL host concurrently.
[0054] FIG. 3C illustrates example aspects of concurrent transmit (Tx) and receive (Rx) transactions according to embodiments. As shown in this example, a CXL host (DUT) includes a cache line that handles a set of packets for a host cache operation (SnpInv) that is being transmitted by the CXL host to a CXL device. Meanwhile, the CXL host (DUT) cache also handles a set of packets for another host cache operation (DirtyEvict). Thus, while the Rx request is in progress, a concurrent Tx request is transmitted by the CXL host. Likewise, while the Tx request is in progress a concurrent Rx request is received by the CXL device.
[0055] FIG. 3D illustrates example aspects of out of order transactions according to embodiments. As shown in this example, a CXL device (DUT) includes a cache that includes two separate sets of packets for two different request operations (D2HReq1 and D2HReq2) that are being transmitted by the DUT to the CXL host in a sequence. However, the responses for the requests (H2DRsp2 and H2DRsp1) are transmitted by the CXL host in a different order than when the requests were transmitted by the CXL device.
[0056] FIG. 4 is a flowchart illustrating an example post-processing methodology of embodiments. This example methodology includes operations 402, 404, 406, 408, 410, 412, 414, 416, 418, 420, 422, 424, 426 and 428. However, other embodiments may include additional or fewer operations. Moreover, the sequence of operations shown in this example is not necessary in all embodiments. The example methodology shown in FIG. 4 can be implemented by concurrency coverage model 150 and / or tool 160, for example.
[0057] In the example of FIG. 4, operation 402 includes separately processing each transaction packet detected by the monitor (e.g. by accessing information in simulation output 140). In this example, for all traffic seen by the monitor from the DUT, further processing is performed based on the direction of flow of the traffic as determined in operation 402.
[0058] If operation 402 determines that the traffic direction for the transaction is a transmit direction (i.e. transmitted from the DUT), the following processing is performed, with the flow of operation beginning in 404 as shown in FIG. 4.
[0059] In 404, it is determined whether a packet type of the transaction is a request. If it is determined in 404 that the packet type of the transaction is not a request, processing for the transaction proceeds to 406. Otherwise, processing for the transaction proceeds to 410.
[0060] In 406, it is determined whether a packet type of the transaction is a response. If it is determined in 406 that the packet type of the transaction is not a response, no further processing for the transaction is needed for concurrency coverage, and so processing ends. Otherwise, processing for the transaction proceeds to 408.
[0061] In 408, information regarding one or more of the following scenarios but not limited to is identified: 1) wOWrInv followed by wrInv; 2) d2Data messages. If it is determined in 408 that the scenario is out of order, the transaction is identified as an out of order transaction.
[0062] Referring back to the flow of transmit direction transaction processing in 404, if it is determined in 404 that the packet type of the transaction is a request, processing for the transaction proceeds to 410. In 410, the following operations are performed: 1) Store start time of reqTx[id]; 2) Set reqTxStart[id]=1; 3) Increment reqTxCount.
[0063] Next in 412, it is determined if reqTxCount>1. If it is determined in 412 that reqTxCount is not >1, no further processing for the transaction is needed for concurrency coverage, and so processing ends. Otherwise, if it is determined in 412 that reqTxCount is >1 transaction packet processing proceeds to 414, where one or more of the following but not limited to the scenarios is determined: 1) multiple rdCurr requests; 2) multiple clFlush requests; 3) multiple rdOwnNodata requests; 4) multiple wrInv / woWrInv / itoMWr / memWr; 5) read / Write followed by write / Read.
[0064] Based on these scenarios, in 414 the following concurrency information is determined based on the present transaction and prior transactions: 1) Number of parallel concurrent / nonconcurrent transactions; 2) Number of Tx outstanding transactions; and 3) Sequence of special Tx transactions.
[0065] Referring back to the flow of transaction processing in 402, if it is determined in 402 that the traffic direction for the transaction is a received direction (i.e. transmitted to the DUT), the following processing is performed, with the flow of operation beginning in 416 as shown in FIG. 4.
[0066] In 416, it is determined whether a packet type of the transaction is a request. If it is determined in 416 that the packet type of the transaction is not a request, no further processing for the transaction is needed for concurrency coverage, and so processing ends. Otherwise, processing for the transaction proceeds to 418.
[0067] In 418, the following transaction information is recorded: 1) Store start time of reqRx[id]; 2) reqRxStart[id]=1; 3) Increment reqRxCount.
[0068] Next, in 420, it is determined if reqRxCount>1. If it is determined in 420 that reqRxCount is not >1, no further processing for the transaction is needed for concurrency coverage, and so processing ends.
[0069] Otherwise, if it is determined in 420 that reqRxCount is >1 transaction packet processing proceeds to 422. In this case, one or more of the following but not limited to the concurrency scenarios is determined: 1) multiple rdCurr requests; 2) multiple clFlush requests; 3) multiple rdOwnNodata requests; 4) multiple wrInv / woWrInv / itoMWr / memWr; 5) read / Write followed by write / Read.
[0070] As further shown in FIG. 4, 422 includes determining the following concurrency information, based on this transaction and possibly past transactions: 1) Parallel concurrent / nonconcurrent transactions; 2) Number of Rx outstanding transactions; and 3) Sequence of special Rx transactions.
[0071] Referring back to transmit direction transaction processing in 404 and receive direction processing in 416, if it is determined that the transaction packet type is a request for either direction, further processing is performed as indicated by the flow starting in 424.
[0072] In 426, it is determined if (reqTx[id] location=reqRx[id] location) and (reqTxStart[id]=1 or reqRxStart[id]=1). If it is determined in 420 that (reqTx[id] location is not=reqRx[id] location) or (reqTxStart[id] is not=1 and reqRxStart[id] is not=1), no further processing for the transaction is needed for concurrency coverage, and so processing ends.
[0073] Otherwise, in 428, for traffic in the transmit direction, the following information but not limited to is determined: 1) reqTx=rdCurr; 2) reqTx=rdOwn; 3) reqTx=wrInv; 4) reqTx=dirtyEvict. For traffic in the receive direction, the following information but not limited to is determined: 1) rxReq=snpData; and 2) rxReq=snpInv.
[0074] In 428 one or more of the following concurrency information is further determined: 1) Tx concurrent while Rx in progress; 2) Rx concurrent while Tx in progress; 3) Tx and Rx concurrent at the same time.
[0075] FIG. 5A is an example screenshot that can be provided by a simulator 102 and / or tool 160 and presented to a user according to embodiments.
[0076] In the example of FIG. 5A, 502 indicates a covergroup capturing Rx packets, and 504 indicates a coverpoint capturing Rx transactions at a Rx address. 506 indicates a covergroup capturing Tx packets and 508 indicates a coverpoint capturing Tx transactions at a Tx address. 510 indicates a Rx request packet accessing address location of 0x1000. 512 indicates a Tx request packet accessing address location of 0x1000.
[0077] FIG. 5B is an example screenshot that can be provided by a simulator 102 and / or tool 160 according to embodiments, and which further illustrates example concurrency coverage aspects of embodiments.
[0078] In the example of FIG. 5B, 522 indicates a covergroup capturing Rx packets, and 524 indicates a concurrent Rx request packet received requesting access to same address location of 0x1000 with Tx request in progress. 524 indicates Tx and Rx request packets accessing a same address location of 0x1000.
[0079] The herein described subject matter sometimes illustrates different components contained within, or connected with, different other components. It is to be understood that such depicted architectures are illustrative, and that in fact many other architectures can be implemented which achieve the same functionality. In a conceptual sense, any arrangement of components to achieve the same functionality is effectively “associated” such that the desired functionality is achieved. Hence, any two components herein combined to achieve a particular functionality can be seen as “associated with” each other such that the desired functionality is achieved, irrespective of architectures or intermedial components. Likewise, any two components so associated can also be viewed as being “operably connected,” or “operably coupled,” to each other to achieve the desired functionality, and any two components capable of being so associated can also be viewed as being “operably coupleable,” to each other to achieve the desired functionality. Specific examples of operably coupleable include but are not limited to physically mateable and / or physically interacting components and / or wirelessly interactable and / or wirelessly interacting components and / or logically interacting and / or logically interactable components.
[0080] With respect to the use of plural and / or singular terms herein, those having skill in the art can translate from the plural to the singular and / or from the singular to the plural as is appropriate to the context and / or application. The various singular / plural permutations may be expressly set forth herein for sake of clarity.
[0081] It will be understood by those within the art that, in general, terms used herein, and especially in the appended claims (e.g., bodies of the appended claims) are generally intended as “open” terms (e.g., the term “including” should be interpreted as “including but not limited to,” the term “having” should be interpreted as “having at least,” the term “includes” should be interpreted as “includes but is not limited to,” etc.).
[0082] Although the figures and description may illustrate a specific order of method steps, the order of such steps may differ from what is depicted and described, unless specified differently above. Also, two or more steps may be performed concurrently or with partial concurrence, unless specified differently above. Such variation may depend, for example, on the software and hardware systems chosen and on designer choice. All such variations are within the scope of the disclosure. Likewise, software implementations of the described methods could be accomplished with standard programming techniques with rule-based logic and other logic to accomplish the various connection steps, processing steps, comparison steps, and decision steps.
[0083] It will be further understood by those within the art that if a specific number of an introduced claim recitation is intended, such an intent will be explicitly recited in the claim, and in the absence of such recitation, no such intent is present. For example, as an aid to understanding, the following appended claims may contain usage of the introductory phrases “at least one” and “one or more” to introduce claim recitations. However, the use of such phrases should not be construed to imply that the introduction of a claim recitation by the indefinite articles “a” or “an” limits any particular claim containing such introduced claim recitation to inventions containing only one such recitation, even when the same claim includes the introductory phrases “one or more” or “at least one” and indefinite articles such as “a” or “an” (e.g., “a” and / or “an” should typically be interpreted to mean “at least one” or “one or more”); the same holds true for the use of definite articles used to introduce claim recitations. In addition, even if a specific number of an introduced claim recitation is explicitly recited, those skilled in the art will recognize that such recitation should typically be interpreted to mean at least the recited number (e.g., the bare recitation of “two recitations,” without other modifiers, typically means at least two recitations, or two or more recitations).
[0084] Furthermore, in those instances where a convention analogous to “at least one of A, B, and C, etc.” is used, in general such a construction is intended in the sense that one having skill in the art would understand the convention (e.g., “a system having at least one of A, B, and C” would include but not be limited to systems that have A alone, B alone, C alone, A and B together, A and C together, B and C together, and / or A, B, and C together, etc.). In those instances where a convention analogous to “at least one of A, B, or C, etc.” is used, in general, such a construction is intended in the sense that one having skill in the art would understand the convention (e.g., “a system having at least one of A, B, or C” would include but not be limited to systems that have A alone, B alone, C alone, A and B together, A and C together, B and C together, and / or A, B, and C together, etc.). It will be further understood by those within the art that virtually any disjunctive word and / or phrase presenting two or more alternative terms, whether in the description, claims, or drawings, should be understood to contemplate the possibilities of including one of the terms, either of the terms, or both terms. For example, the phrase “A or B” will be understood to include the possibilities of “A” or “B” or “A and B.”
[0085] Further, unless otherwise noted, the use of the words “approximate,”“about,”“around,”“substantially,” etc., mean plus or minus ten percent.
[0086] Although the present embodiments have been particularly described with reference to preferred examples thereof, it should be readily apparent to those of ordinary skill in the art that changes and modifications in the form and details may be made without departing from the spirit and scope of the present disclosure. It is intended that the appended claims encompass such changes and modifications.
Claims
1. A method for performing functional verification of a component in an integrated circuit design, comprising:performing simulation of the component;performing run-time monitoring of all transmission and reception transactions with the component during the simulation, wherein the transmission and reception transactions comprise one or more concurrent transactions including a read request issued to the component while a write request issued to the component is pending, and vice-versa; andprocessing information regarding the transmission and reception transactions to verify coverage of the one or more concurrent transactions.
2. The method of claim 1, wherein performing simulation includes executing a testbench in accordance with a verification plan, and wherein the verification plan is based on cover points.
3. The method of claim 1, wherein the transactions comprise packets in compliance with Compute Express Link (CXL) protocol.
4. The method of claim 3, wherein the component comprises one of a CXL host and a CXL device.
5. The method of claim 1, wherein the transactions correspond to read and write operations performed in connection with specified addresses in the component.
6. The method of claim 1, wherein verifying coverage includes verifying transaction sequencing correctness.
7. The method of claim 1, wherein verifying coverage includes analyzing multiple outstanding concurrent transactions associated with the component.
8. The method of claim 1, wherein performing run-time monitoring includes:tracking and storing information about both inbound / outbound traffic for the component; andmaintaining a history of past and current transactions.
9. A system for performing functional verification of a component of an integrated circuit design, comprising:a simulator configured to perform simulation of the component;a monitor configured to perform run-time monitoring of all transmission and reception transactions with the component during the simulation, wherein the transmission and reception transactions comprise one or more concurrent transactions including a read request issued to the component while a write request issued to the component is pending, and vice-versa; anda tool configured to process information regarding the transmission and reception transactions to verify coverage of the one or more concurrent transactions.
10. The system of claim 9, wherein the simulator is further configured to execute a testbench in accordance with a verification plan and wherein the verification plan is based on cover points.
11. The system of claim 9, wherein the transactions comprise packets in compliance with Compute Express Link (CXL) protocol.
12. The system of claim 11, wherein the component comprises one of a CXL host and a CXL device.
13. The system of claim 9, wherein the transactions correspond to read and write operations performed in connection with specified addresses in the component.
14. The system of claim 9, wherein the tool is configured to verify coverage by verifying transaction sequencing correctness.
15. The system of claim 9, wherein the tool is configured to verify coverage by analyzing multiple outstanding concurrent transactions associated with the component.
16. The system of claim 9, wherein the monitor is further configured to:track and store information about both inbound / outbound traffic for the component; andmaintain a history of past and current transactions.
17. A computer program product comprising a non-transitory computer readable medium storing instructions which, when executed by a processor, cause the processor to perform a method for performing functional verification of a component an integrated circuit design, the method comprising:performing simulation of the component;performing run-time monitoring of all transmission and reception transactions with the component during the simulation, wherein the transmission and reception transactions comprise one or more concurrent transactions including a read request issued to the component while a write request issued to the component is pending, and vice-versa; andprocessing information regarding the transmission and reception transactions to verify coverage of the one or more concurrent transactions.
18. The computer program product of claim 17, wherein performing simulation includes executing a testbench in accordance with a verification plan, and wherein the verification plan is based on cover points.
19. The computer program product of claim 17, wherein the transactions comprise packets compliant with Compute Express Link (CXL) protocol.
Citation Information
Patent Citations
Hardware simulation controller, system and method for functional verification
US20140282312A1
Compliance and debug testing of a die-to-die interconnect
US20220318111A1
Compiler-based code generation for post-silicon validation
US20220381824A1
Techniques to perform semiconductor testing
US20230258716A1
