Connection between processor and memory

11 views
Skip to first unread message

O.ELMahi

unread,
Apr 26, 2012, 12:33:17 PM4/26/12
to resp-sim
Hello

i am trying to solve some problem.

What i am trying to do is to print out the access of some variables on
my program running on resp.
i nees the read and write time and it was accessed by which processor.
i am using the simple Architecture in the Resp-Sim-read-only/
architectures/base/mp-templets.py.

as i understand there should be a connection between processors -> Bus
-> Memory

i tried to print the access time in the Resp-Sim-read-only/Components/
memories/simpleMem/MemoryLT.hpp by adding the lines :
cout << sc_time_stamp() << " " << trans.get_address() << " " <<
trans.get_data_length() << " " << trans.is_write()<< " " << endl;

and filter on the address i need. also i was able to print out the
processor ID in the Resp-Sim-read-only/Components/processors/arm7tdmi/
funcLT/interface.cpp

and in Resp-Sim-read-only/src/cm/concurrency_manager.cpp and added the
line:
std::cerr << " PROCESSOR ID : " << " " << sc_time_stamp() << this-
>processorInstance.getProcessorID() << std::endl;

but i can not add the connection between the two i searcher in the
busLT but i can not find the connection.

can you help me ?

Thanks

Reply all
Reply to author
Forward
0 new messages