Hi, I'm trying to instantiate a fake_isa in my gem5 platform. The idea is to understand how its works and than modify the device to fit my requirements. >From my understanding it is necessary to first instantiate the module on the main python script like this:
system.IsaFake = IsaFake() system.IsaFake.pio_addr="0xAAAA0000" system.IsaFake.pio_size= '100' system.IsaFake.pio = system.membus.master then, to avoid to get blocked by the mmu it is necessary to map the addresses of the I/O device I've connected to the bus like this: binary = '/home/lore/configure/bin/configure' process = LiveProcess() process.cmd = [binary] system.cpu.workload = process system.cpu.createThreads() root = Root(full_system = False, system = system) m5.instantiate() *root.system.cpu.workload.map(0xAAAA0000,0xAAAA0000,256)* however when I try to execute the script this error is shown: *root.system.cpu.workload.map(0xAAAA0000,0xAAAA0000,256)AttributeError: 'SimObjectVector' object has no attribute 'map'* Where am I wrong? Thanks Lorenzo
_______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
