Home > Community > Blogs > Industry Insights > ee times webinar verifying arm ace cache coherent interconnects with uvm
 
Login with a Cadence account.
Not a member yet?
Create a permanent login account to make interactions with Cadence more conveniennt.

Register | Membership benefits
Get email delivery of the Industry Insights blog (individual posts).
 

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

EE Times Webinar: Verifying ARM ACE Cache-Coherent Interconnects with UVM

Comments(0)Filed under: Industry Insights, ARM, SoC, verification, EE Times, IP, Functional Verification, Verification IP, UVM, AMBA, AMBA 4, webinar, ACE, cache, interconnect, Fromovich, ACE VIP, VIP agents, Interconnect Validator, snoop, cache-coherent interconnect, coherency, transactions

Cache-coherent interconnect is a key component of any SoC that uses the ARM AMBA 4 Coherency Extension (ACE) specification. It's hard to design and even harder to verify. A recently archived EE Times webinar shows why cache-coherent interconnect is so complex, and explains how to build a Universal Verification Methodology (UVM) based verification environment using verification IP (VIP).

The one-hour webinar was presented by Mirit Fromovich, verification IP solutions architect at Cadence. It was titled "How to Verify ARM ACE Coherent Interconnects with UVM Verification IP."

Fromovich began by noting that cache-coherent interconnect is more than just interconnect - it is also a coherency manager. "Unlike the AXI environment, where the interconnect just transfers data from one point to another, ACE based interconnect has a much broader responsibility," she said. For example, cache-coherent interconnect should be able to snoop the right master, calculate the accumulate response, make sure correct data is returned, perform speculative fetches to save time, and provide a "snoop filter" to avoid unnecessary access to processors.

Difficult to Verify

Going into more detail, Fromovich provided several examples of the complexity of cache-coherent interconnect. She showed how interconnect needs to manage multi-cache line operations, provide snoop filter support in the midst of a dynamically changing environment, and use barrier transactions to force ordering in the system. All these features, she said, "make cache-coherent interconnect much more complex and much harder to verify."

So, how can one build a verification environment that supports this complexity? UVM provides part of the answer. UVM, she noted, provides ease of use, scales to support large systems, offers block-to-system vertical reuse, and integration-ready components. She showed how UVM provides a configuration object that can greatly simplify the verification space.

Fromovich identified three key tasks that are required to verify cache-coherent interconnect:

  • Generate test scenarios - sequences of transactions that will mimic your environment
  • Check protocol compliance and data coherency, at the interface and interconnect levels
  • Use coverage to ensure compliance with all aspects of the specification

She then showed how Cadence ACE verification IP (VIP) supports these requirements. As the following slide indicates, the solution includes a set of VIP "agents" including an active master that can generate stimulus, a passive master that can monitor bus transactions, and active and passive slaves that respond to read/write commands. The VIP also contains a cache model to ensure correct activity on the bus.

The Cadence VIP also supports what Fromovich called "intelligent transaction generation." Whereas AXI uses reads and writes, ACE transactions are much more varied and complex, she said. Further, each transaction is dependent on the cache state, and there are many possible permutations. Intelligent transaction generation considers four key factors - protocol constraints, timing between transactions, cache line state, and design-specific constraints.

Fromovich showed a complex scenario involving a "shared clean" cache state and a ReadShared transaction. She then walked through code examples for virtual sequences, a UVM capability for handling differing test sequences, and share/load transactions on a master, a way of simplifying tests by bringing a test scenario up to a higher level of abstraction.

Interconnect Validator 

For checking protocol compliance, using passive agents that sit on an individual master is not sufficient, she said. What's needed is an "Interconnect Validator" that can monitor activity for the entire interconnect, from block to subsystem to SoC. It is, in essence, "system VIP" that works with the VIP that verifies individual ports for compliance with the protocol specification. Cadence provides this capability.

Fromovich also discussed the UVM coverage model, and stressed the importance of filtering out illegal crosses so as to keep the verification space under control.

"It is not enough to just have ACE VIP that provides you with all the SystemVerilog sequences and constraints and coverage," she concluded. "It is a must to have an Interconnect Validator to ensure coherency. Without these two components you cannot get the completeness of your design."

This on-demand webinar provides a lot of good information for anyone interested in cache-coherent interconnect verification. You can access it here.

Richard Goering

 

Comments(0)

Leave a Comment


Name
E-mail (will not be published)
Comment
 I have read and agree to the Terms of use and Community Guidelines.
Community Guidelines
The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.