Hi Steve,
Since a few weeks I'm working with the sampler object. For some test I
would like to do, I need to keep the caches warm while fast forwarding.
I thought this could simply be realized by creating a single data and
instruction cache (level 1) and pointing the SimpleCPU and DetailedCPU
to the same caches. I thought this would not form a major problem
because the two cpu's are never active at the same time. Unfortunately
this idea was too naive and I got the message:
warn: Entering event queue. Starting simulation...
0: Event_8a1c8a0: New switch event curTick=0 when=10000
m5.debug: m5/mem/cache/tags/cache_tags_impl.hh:336: typename
CacheTags<Tags, Compression>::BlkType* CacheTags<Tags,
Compression>::handleFill(typename Tags::BlkType*, MSHR*, unsigned int,
MemReqList&) [with Tags = LRU, Compression = NullCompression]:
Assertion `target->offset + target->size <= blkSize' failed.
Program aborted at cycle 127
Geannuleerd (core dumped)
I would like to fix the problem, but I don't know were to start. Do you
have an idea what the problem might be? Do you see a quick and easy
solution?
Configuration file:
root = Root()
root.hier = HierParams(do_data=True, do_events=True)
root.icache = L1Cache(out_bus=Parent.toL2Bus)
root.dcache = L1Cache(out_bus=Parent.toL2Bus)
root.toL2Bus = ToL2Bus()
root.l2 = L2(in_bus=Parent.toL2Bus, out_bus=Parent.toMemBus)
root.toMemBus = Bus(width=16, clock=1*Parent.clock.period)
root.dram = BaseMemory(in_bus=Parent.toMemBus,
latency=100*Parent.clock.period,
uncacheable_latency=1000*Parent.clock.period)
root.Last1 = Benchmarks.Crafty()
root.cpu = [ SimpleCPU( icache = Parent.icache, dcache = Parent.dcache,
width = 1), DetailedCPU( icache = Parent.icache, dcache =
Parent.dcache) ]
root.cpu[0].workload = Parent.Last1
root.cpu[1].workload = Parent.Last1
phase0_cpus = [ root.cpu[0] ]
phase1_cpus = [ root.cpu[1] ]
root.sampler = [ Sampler(periods = [1e4, 1e3], phase0_cpus=phase0_cpus,
phase1_cpus = phase1_cpus ) ]
BaseCPU.max_insts_any_thread = 1e7
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
m5sim-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/m5sim-users