|
Post by karandeep963 on Apr 29, 2013 7:18:28 GMT
How the communication could be established between two SystemC/TLM models acting one as transmitter while other as receiver ?
|
|
|
Post by Akhil Kumar on Apr 30, 2013 6:19:19 GMT
How the communication could be established between two SystemC/TLM models acting one as transmitter while other as receiver ? Here are some methods which I think can be implemented for communication between two or more instances of same SystemC/TLM model some acting as transmitter and other as receiver:
- For testing the communication on the same machine, a file system can be implemented. In this case transmitter and receiver will write its data in a file. A SystemC or C++ block will be implemented on both ends which will detect the change in the file and will trigger the TLM transaction onto both transmitter and receiver.
- For testing it on multiple machines, one method is to use COMP port. But with this communication between only two virtual devices can be tested. For communication between more than two devices, LAN network can be used (i'm not sure about this solution).
- The solution which will help in analyzing the VP more accurately, is to use external RF modules. Now communication will done through RF, like it will be done in hardware.
|
|
|
Post by namrata on Apr 30, 2013 9:36:30 GMT
How the communication could be established between two SystemC/TLM models acting one as transmitter while other as receiver ? Here are some methods which I think can be implemented for communication between two or more instances of same SystemC/TLM model some acting as transmitter and other as receiver:
- For testing the communication on the same machine, a file system can be implemented. In this case transmitter and receiver will write its data in a file. A SystemC or C++ block will be implemented on both ends which will detect the change in the file and will trigger the TLM transaction onto both transmitter and receiver.
- For testing it on multiple machines, one method is to use COMP port. But with this communication between only two virtual devices can be tested. For communication between more than two devices, LAN network can be used (i'm not sure about this solution).
- The solution which will help in analyzing the VP more accurately, is to use external RF modules. Now communication will done through RF, like it will be done in hardware.
In second solution what do you mean by "COMP port" please elaborate it. By using "COMP port" method how to say that communication between only two virtual devices.
|
|
|
Post by Akhil Kumar on May 1, 2013 2:47:18 GMT
Here are some methods which I think can be implemented for communication between two or more instances of same SystemC/TLM model some acting as transmitter and other as receiver:
- For testing the communication on the same machine, a file system can be implemented. In this case transmitter and receiver will write its data in a file. A SystemC or C++ block will be implemented on both ends which will detect the change in the file and will trigger the TLM transaction onto both transmitter and receiver.
- For testing it on multiple machines, one method is to use COMP port. But with this communication between only two virtual devices can be tested. For communication between more than two devices, LAN network can be used (i'm not sure about this solution).
- The solution which will help in analyzing the VP more accurately, is to use external RF modules. Now communication will done through RF, like it will be done in hardware.
In second solution what do you mean by "COMP port" please elaborate it. By using "COMP port" method how to say that communication between only two virtual devices. By COMP port, I mean computer ports serial or parallel which are used to perform data transfer between two computers. For example, RS232 which is a serial port. And to know that how can we program a COMP port you can look at this link...electrosofts.com/serial/
|
|