Jump to content

Is interfacing between levels of abstraction a use case for TLM?


Recommended Posts

Hi,

 

I'm fairly new to SystemC, and still trying to get my head around lots of things.

 

I have developed a simplified version of a message format , that I intend to work with in hardware (simplified it just to try things out in SystemC land). This has been done purely in OO software, no SystemC at all, with a suite of tests to confirm that it works correctly. Basically, a test stack that captures the method calls to build a message, and the message calls to read a message, and confirms that what went in = what came out.

 

I have been working towards a hardware description of the serializers and deserializers that will translate this message format to and from its wire format. That is, on the wire it is a stream of bytes, in an application it might be held in memory in a different layout, and these functional units translate between the two.

 

On one side I have some tests, which are very software oriented, on the other I have a hardware model, that I intend to refine into an RTL description. I am thinking it would be very useful, if I can get my tests passing against the software version, then use the same tests against the hardware model, as it is developed.

 

And so to my question:

 

Am I right in thinking that part of the purpose of TLM is to be able to span levels of abstraction in a system model (and make it possible to do the kind of testing I describe above)?

 

To what degree is this the purpose of TLM? That is, does it really have some other purpose that I am failing to understand?

 

Thanks in advance for your helpful replies.

 

Rupert Smith

Link to comment
Share on other sites

Please read:

http://forums.accellera.org/topic/1389-use-cases-of-tlm-over-systemc/#entry5784

 

Please look at the TOC of the book. The whole book answers all of these kinds of questions completely and opens new doors to the TLM 2.0 paradigm. The chapters are not independent and follow previous ones that at the end you could have an allegation of having moderate knowledge about TLM 2.0.

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.

Guest
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...