Dear all, I have two question about how to get data from the main memory which was just read out or write in to the main memory. I am using DRAMSim2 as the memory part.
1) According to previous posts, lots of posts use the 'virtaddr' and 'ctx' in 'MemoryRequest', but I did not see the declaration in the definition of 'MemoryRequest'. Is it the reason of code or I get it the wrong way? 2) After problem 1 solved, in my understanding the method to get data from the main memory is: 1. get a instance of 'Context' 2. get the virtaddr by using 'check_and_translate' function 3. do access by using 'loadvirt' function are these steps correct? Thanks. -- *Best regards **from* Wenjie Liu TEL: (+86)132 9723 0518 E-mail: *[email protected] <[email protected]>* Wuhan National Laboratory for Optoelectronics, Huazhong University of Science&Technology, 1037 Luoyu Road Wuhan, Hubei,P.R.C, 430074.
_______________________________________________ http://www.marss86.org Marss86-Devel mailing list [email protected] https://www.cs.binghamton.edu/mailman/listinfo/marss86-devel
