Jump to content

[Cadence] About ML-UVM for SC-SV TLM communication.

Recommended Posts

Hi Cadence Gentlemen,

Thanks for your answers in advanced.

1. To maintain corresponding data structure (packet.h, packet.sv) in 2 languages manually is easily to introduce error. especially pack/unpack orders. does cadence plan to provide user some translation script that could generate another implementation?

2. How the synchronization is handled between both languages? are they always sync together or is it possible to let SC temporal decoupling from SV, (for example to speed up the OS booting time in SC without interrupt from idle DUT.)

3. I heard there would be a new standard for sc-sv interoperability last time (URL below), just curious if there is any progress revealed?


Link to comment
Share on other sites

Hi SeanChou,

I'll take a stab at the first two items in your list.

#1 - yes, Cadence provides a tool that automates that exact part - mapping class declarations in one language to another, so that they can be used for multi-language communication (e.g. via TLM ports). The utility is called 'mltypemap' and it's documented in the Incisive docs. Please look it up for it for all the details.

#2 - the question seems to stem from a HW/SW verification effort. We have quite a bit in that domain, so I'd recommend you look up things like ISX.


Link to comment
Share on other sites

Thanks for Zeevk's response.

1. I still need some hint for the usage of mltypemap after referring to the UVM-ML reference and "mltypemap -help".

1.1 reference says it could map sv to e, could it to sc also?

1.2 is there also an example that I could refer to?

2. After taking a glance at ISX data sheet, it provides more function than expected and complex.

The purpose is to leverage some existed UVM scenario to verify not only the h/w but a system. which could be compiled with OSCI libraries with g++. should I need ISX solution to realize temporal decoupling?

Link to comment
Share on other sites

Hi SeanChou,

Regarding #1 - yes, mltypemap can map SV classes to SystemC.

There is an example in the documentation - bring up cdnshelp in the Incisive 10.2 release, and search for mltypemap. The examples section includes a SV -> SystemC example (section 5.1.2).

I'll ask someone else to follow up on your #2 question.


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...