Jump to content

Recommended Posts

Hello,

It is my first participation. I'm a master computer sciences student. I had program a code with SystemC 2.3.1 (includes TLM). I have some questions. Does SystemC 2.3.1 (includes TLM) includes TLM 1.0 ? What is the benefits of TLM 1.0? Can i use GTKWave with TLM 1.0 or it works just with SystemC RTL? What is the difference between TLM 1.0 and TLM 2.0 ? I would like to more understand TLM 1.0 any documents suggestions?

Any help?

Thanks.

Share this post


Link to post
Share on other sites

Hi,

TLM 1.0 still a current std.

it is supporting/providing low level interfaces for transaction level modeling(like packets/ not pin level) . It is widely using in SV-OVM based Env.

TLM 1.0 was not designed specifically for bus modeling or interoperability.

Please refer to the following page.

http://accellera.org/downloads/standards/systemc

thanks,

Sudha.

Share this post


Link to post
Share on other sites

Thanks Sraman,

I already see this documents, I had program my code with different way. I hadn’t put a class for every module i do it like this :

decoder.h

SC_MODULE (decoder)

{sc_port<read_flit_if<int> > in;

sc_port<write_flit_if<int> > out;

void(deoding);

SC_CTOR(decoding)

{

SC_THREAD(decoding);

}

}; 

decoder.cpp

void decoder::decoding()

{................

................

}

It works but i want to know if it is a correct way or not with TLM1.0?

I want to know too, does modules communicate together just by sc_channel?

Thanks for your help.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×