Hi Joao,

I can't really tell where the problem is but when you configure your system you 
have to make sure that the cores have a stage 2 MMU for both the data 
(dstage2_mmu) and the instruction side (istage2_mmu).

Nikos

On 03/08/2018, 15:28, "gem5-users on behalf of João Miguel Morgado Pereira 
Vieira" <[email protected] on behalf of 
[email protected]> wrote:

    Hi guys,

    In SE mode, I have a memory mapped accelerator and I have to perform 
virtual to physical address translation to access the data in memory. I took as 
inspiration the work of powerjg, (thank you a lot for sharing your code, by the 
way). However I am using the ARM model, instead of the x86, which means that I 
should use the ArmTLB instead of the X86TLB. I instantiate it and pass it as 
parameter to my accelerator. When I use the X86 model (and consequently the 
X86TLB) everything goes fine, but when I try to instantiate the ArmTLB, I 
simply get: fatal: fatal condition !stage2Mmu occurred: Table walker must have 
a valid stage-2 MMU.

    Does someone came across with this problem and can give me a hint about how 
to solve it?

    Thank you very much in advance.

    Best,
    João Vieira

    _______________________________________________
    gem5-users mailing list
    [email protected]
    http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

IMPORTANT NOTICE: The contents of this email and any attachments are 
confidential and may also be privileged. If you are not the intended recipient, 
please notify the sender immediately and do not disclose the contents to any 
other person, use it for any purpose, or store or copy the information in any 
medium. Thank you.
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to