Amol Nikade Posted August 24, 2021 Report Share Posted August 24, 2021 Hi, can anyone explain, how to read chunk of memory using tlm::tlm_initiator_socket by taking any example with TB. I tried write to Memory, but I am not able to get How data pointer of trans can be assigned by memory start address in the target side. Quote Link to comment Share on other sites More sharing options...
Eyck Posted August 24, 2021 Report Share Posted August 24, 2021 You can find a complete implementation of a memory here: https://github.com/Minres/SystemC-Components/blob/main/src/components/scc/memory.h or here: https://git.minres.com/SystemC/PySysC-SC/src/branch/master/components/target.cpp The latter has also a toplevel: https://git.minres.com/SystemC/PySysC-SC/src/branch/master/top/ BR Quote Link to comment Share on other sites More sharing options...
Amol Nikade Posted August 24, 2021 Author Report Share Posted August 24, 2021 Thanks Eyck. 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.