Ah! Of course, sorry about that.
You have to call the function *after* `m5.instantiate()`. The
`m5.instantiate()` function instantiates all of the C++ classes. Only after
that can you call C++ functions.
Cheers,
Jason
On Fri, Feb 14, 2020 at 6:09 AM Muhammad Aamir
wrote:
> Hi Jason,
>
> thank
Hi Jason,
thank you for the answer, I just have one more basic question(which might
seem trivial to you),
How do I correctly initialize the cxxMethods, as I am
continuously receiving errors while initializing the map function, I also
created my own simple cxxMethod to check what I was doing and
Hello,
You can use the "map" function on the Process SimObject to set a specific
virtual to physical mapping. See
https://gem5.googlesource.com/public/gem5/+/refs/heads/master/src/sim/Process.py#39
After you instantiate the process in your python config script, you can
call map() on it and then
Hi everyone,
I have basically initialized some simplememory class as a Scratchpad
memories, and I intend to write to them.
One way that i have figured to access them is using addresses, As I know
once initialized they are assigned some virtual addresses by the
pagetables, and since each virtual