Method and apparatus of enabling direct memory access into a target system memory modeled in dual abstractions while ensuring coherency
AssigneeCadence Design Systems, Inc.
InventorAshutosh Varma
Life of this patent
Estimating the term…
Loading patent…
AssigneeCadence Design Systems, Inc.
InventorAshutosh Varma
Estimating the term…
The present patent document relates to a method and apparatus for enabling direct memory access into a target memory subsystem of an electronic system modeled in dual abstractions while maintaining coherency. The portions of the memory subsystem shared between the first abstraction and the second abstraction are shadowed in both abstractions, allowing either abstraction to coherently access memory written by the other. Flags associated with memory pages of the memory subsystem are set to indicate which abstraction has most recently updated the memory page. Where the first abstraction is SystemC using TLM2, DMI access may be selectively enabled to facilitate faster access from SystemC, and DMI access disabled when an access from the second abstraction is detected in order to invoke coherency procedures. This allows coherency to be maintained and may enable faster software code execution where most access are DMI accesses from SystemC.
A method of maintaining memory coherency in a memory subsystem of a functional verification system using a plurality of design abstractions, wherein the memory subsystem comprises a plurality of memory pages and a plurality of shadow memory pages, wherein each memory page of the plurality of memory pages is modeled in the first design abstraction used by the functional verification system, wherein each shadow memory page is an image of one of the plurality of memory pages and is modeled in the second design abstraction used by the functional verification system, and wherein each memory page of the plurality of memory cages is accessible to an agent in the first design abstraction using a first method and a second method, comprising:
A functional verification system, comprising:
A computer-readable non-transitory storage medium having stored thereon a plurality of instructions, the plurality of instructions when executed by a computer, cause the computer to perform:
Dependencies are inferred from the claim text.