rahuljn Posted August 12, 2014 Report Share Posted August 12, 2014 Hi Guys Is it possible to model serial interfaces in TLM2 (e.g. interfaces defined in MIPI standard) If yes, I will appreciate if you can also give me some idea about how to start the modeling of such interfaces Thanks Quote Link to comment Share on other sites More sharing options...
karthickg Posted August 12, 2014 Report Share Posted August 12, 2014 Is it possible to model serial interfaces in TLM2? Yes, certainly - UART, SPI, I2C, etc. Specifically on MIPI - I have no idea, maybe someone else can comment. On how to go about modeling such interfaces - why not use TLM initiator/target socket itself? Quote Link to comment Share on other sites More sharing options...
rahuljn Posted September 24, 2014 Author Report Share Posted September 24, 2014 Hi Guys, To model the 32 bit TLM2 interface to serial interface, what I am doing is the following - I have one 32 bit target socket - one 1 bit initiator socket Then in b_transport implementation, I am calling b_transport of next block 32 times with 1 bit data each time. Is it ok ? Thanks Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.