How do you handle the Memory Allocation behavior in simulation?

Hi all,

when verification some h/w block that access memory, test environment often need to have memory management behavior, such as malloc() or free().

In VMM we could use the MAM below.
http://www.vmmcentral.com/pdfs/using_memory_allocation_mger.pdf

is there an similar one in OVM? or is there any easy way to handle this problem?

Thanks for sharing any idea.

Given that OVM & VMM are being merged/leveraged to create UVM, it makes more sense to use both as much as one can in short term and move to UVM as soon as it hits the road.

I’ve a code base/example that shows how to use VMM-RAL on top of OVM env. Given that VMM-RAL (vmm_ral_mem to be precise) internally does use the vmm_mam, this combination is workable as well. I have not spent enough time in cleaning it up to upload it as contribution, will do so soon (hopefully). Meanwhile, feel free to send me an email svenka3 @ gmail.com if you are OK with “a” version that runs.

Regards
Srini
www.cvcblr.com/blog

Thanks so much for the good news, to make life eaiser. I would wait for the released one. but however, there are at least 3 implementations of register packages: RGM from Cadence, VMM-RAL from Synopsys and another one from Mentor.

I used RAL in VMM before, and now I am using Cadence RGM. which should be more promissing since it IP-XACT should be more standardized than RALF. but I have noticed the response latency from Cadence could be longer. there is not any response to my questions last month, you could find the thread 1555 or the URL below.

http://ovmworld.org/forums/showthread.php?t=1555

Could you also share the reason why you choose VMM-RAL?

Hi,

Thanks so much for the good news, to make life eaiser. I would wait for the released one. but however, there are at least 3 implementations of register packages: RGM from Cadence, VMM-RAL from Synopsys and another one from Mentor.
Could you also share the reason why you choose VMM-RAL?

We didn’t choose it that way, our customer did. They have used VMM for quite sometime and RAL as well. Their RAL usage was via a script developed by us to spit out RAL from a XL sheet - this way they ensured their “spec” is intact, even if they were to move to IP-XACT based flow (that’s their long term goal). FOr one of their designs they wanted to try out OVM but didn’t want to reinvent the wheel on RAL/XL sheet. Hence this combination.

Hope that explains.

Srini
www.cvcblr.com/blog

Hi all,
when verification some h/w block that access memory, test environment often need to have memory management behavior, such as malloc() or free().
In VMM we could use the MAM below.
http://www.vmmcentral.com/pdfs/using_memory_allocation_mger.pdf
is there an similar one in OVM? or is there any easy way to handle this problem?
Thanks for sharing any idea.

does anyone has similar class for ovm ??

Neel