ARI Posted May 10, 2023 Report Share Posted May 10, 2023 Hello Everyone, Could anyone please help me to understand the use cases of transport_dbg and when to use it. Is it mandatory to have implementation of tranport_dbg in target side? How to bypass transport_dbg and use only b_transport. Thanks ARI Quote Link to comment Share on other sites More sharing options...
Eyck Posted May 10, 2023 Report Share Posted May 10, 2023 transport_dbg is similar to b_transport but without timing and the target is not allowed to call wait (similar to nb_transport_*). It is used to do debugg accesses, e.g. when using a target debugger in a virtual platform. Accesses via transport_dbg shoul be transparrent to the simulation itself. E.g. the simulation should behave the same way no matter if a register is read via transport_dbg or not. Quote Link to comment Share on other sites More sharing options...
David Black Posted May 10, 2023 Report Share Posted May 10, 2023 transport_dbg is used to examine and modify conditions in a simulation. A better name for it would have been, transport_debug. transport_dbg can also be used to do things such as initialize a memory to setup conditions for a test. Obviously, this does affect simulation. b_transport is typically used for "loosely-timed" modeling used when simulation performance is more important than timing accuracy. This contrasts with the more intense nb_transport_* pair, which are used for "approximately-timed" simulations (where timing accuracy is more important than simulation performance). 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.