Hi,
I was having few basic doubts regarding tlm,I am using system c again after few months.
I wanted to know ,how exactly tlm is being used.I know the basics of system c and was approaching to start with tlm.
I had googled to see few of tlm uses,but i was not able to catch up those points.
I want to know under this scenario,like if i had modelled a system in system c and was having 5 files,design.cpp,producer.cpp,consumer.cpp,top.cpp,main.cpp .I would have used threads as function and called at particular time and would do the communicvation between modules.But what about tlm,as i had read in tlm we are having initiator and target and there are different types of interface connections which can be used for communication.
But my question here would be,how and where would i put those 5 files when commuication mode being used is tlm.Do i need to model producer as initiator & vice versa & use any of the interface method of tlm or what !?
Any help would be appreciated a lot.
Thank you.
Regards,
Shubham