Truss components interoperability between C++ and SystemVerilog versions.

in

Is it possible to use some Truss components with C++ realisation and other components written in SystemVerilog. How the communication between components is achieved?

Comments

C++ vs SystemVerilog

Thank you.

I don't think that we always need a master-slave approach here.
For example we have 2 separate components that provide stimulus to the DUT. Let's imagine they have a different control channels - some sort of APIs which were accesed from SystemVerilog and C++ legacy environments respectevly. Now we need to connect them both in a manner which will make both visible to each other so they could exchange information between them, like 2 xactors in VMM methodology pass transaction objects from one to another via channels and channels can be in both directions. The problem is that xactors in that case not using api directly, but use transaction objects to pass information.

If the environment requires that the components of the same behavior be implemented in different languages, so the customer could use the language he prefers to control own components while maintaining interoperability with legacy components written in other language, which language you suggest to start wih? SystemVerilog or C++? In which way conversion easier, SystemVerilog->C or C->SystemVerilog?

SC-SV interoperability

Hi,

I am still a little confused, so bear with me if my response is not appropriate.

I would have the legacy C++ transactor be "THE" transactor and have the SV other one be just a shell that sends its info to the C++ one for the "real" work. This makes the assumption that the legacy code is working, good, complete, etc. I have manually translated SV/C++/Specman/vera to my new "best" language.

How coordinated in time do these two transactors need to be? That can greatly complicate things.

The problem is how to coordinate the two BFMs such that the SV and C++ transactions can still

Here's a modsim specific presentation on SystemC and SV. Maybe it will help.
http://www-ti.informatik.uni-tuebingen.de/~systemc/Documents/Presentation-15-SF2_edelman.pdf

Take care,
Mike

coordination between languages

Hi,

I am actually working on that now for a client. There are many decisions that affect the final code.

For example, who is "in control" C++ or SV?

I am not sure there is a general solution. Can you tell me more about your specific use and maybe I can provide some guidance.

Take care,
Mike

Back to top