gem5-users@gem5.org

The gem5 Users mailing list

View all threads

what's the proper way to connect multi systems?

O
oe-fans
Tue, Sep 26, 2023 3:55 PM

Hi, all,

I setup two systems in my config file. I want to export some memory space from one system (system2)
 to another system (system1), so program in system1 can access system2's memory or device registers.
So I setup a bridge between two membus.
But if system1 using cache, the memory access from system1 to system2 will failed, system1 will read 
64bytes even if my program read just one byte, so gem5 crash. 
Why this happen? Do I missing anything? What's the proper way to connect multi systems?

Hi, all, I setup two systems in my config file. I want to export some memory space from one system (system2)  to another system (system1), so program in system1 can access system2's memory or device registers. So I setup a bridge between two membus. But if system1 using cache, the memory access from system1 to system2 will failed, system1 will read  64bytes even if my program read just one byte, so gem5 crash.  Why this happen? Do I missing anything? What's the proper way to connect multi systems?