Khushi Posted November 15 Report Posted November 15 Hello Do I need to call b-transport twice when writing a 64 bit register via a 32 bit socket? Do a 32 bit socket can only read or write 32 bit or less at a time? Thank you Khushi Quote
karthickg Posted November 15 Report Posted November 15 The TLM payload carries a data as a byte array, along with length of data and optional byte-enables. An initiator can perform a 64-bit (or even more) transfers with a single `b_transport` call, by setting the length appropriately. So - you may then ask, why is the socket width that is cooked into the type relevant? One reason is that the width is reflective of the data-width in real hardware, so could be used to calculate an annotated delay value (for example). Another place where it assumes importance if we have mixed-endian systems - the specification has a discussion on that. Quote
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.