*Hi *
*I'm trying to write a simple configuration script for ARM Like so:*
import m5
from m5.objects import *
T1=System()
T1.clk_domain = SrcClockDomain()
T1.clk_domain.clock = '1GHz'
T1.clk_domain.voltage_domain = VoltageDomain()
T1.mem_mode = 'timing'
T1.mem_ranges = [AddrRange('512MB')]
T1.mem_mode = 'timing'
T1.mem_ranges = [AddrRange('512MB')]
T1.cpu = DerivO3CPU()
T1.membus = SystemXBar()
T1.cpu.icache_port = T1.membus.slave
T1.cpu.dcache_port = T1.membus.slave
T1.cpu.createInterruptController()
T1.system_port = T1.membus.slave
process = LiveProcess()
process.cmd = ['tests/test-progs/hello/bin/arm/linux/hello']
T1.cpu.workload = process
T1.cpu.createThreads()
root = Root(full_system = False, system = T1)
m5.instantiate()
print 'Exiting @ tick %i because %s' % (m5.curTick(), exit_event.getCause())
*But when i try to run ot i get this error message:*
*gem5.opt: build/ARM/base/statistics.hh:1251: Derived&
Stats::Vector2dBase<Derived, Stor>::init(Stats::size_type,
Stats::size_type) [with Derived = Stats::Vector2d, Stor = Stats::StatStor,
Stats::size_type = unsigned int]: Assertion `_x > 0 && _y > 0 && "sizes
must be positive!"' failed.*
*Can someone explain to me what's wrong please and how can i fix it
pleease?*
*Thank you*
--
*Anouar NECHI*
*IT Engineer : Industrial systems*
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users