o3-timing-mp.py (9728:7daeab1685e9) o3-timing-mp.py (9790:ccc428657233)
1# Copyright (c) 2006-2007 The Regents of The University of Michigan
2# All rights reserved.
3#
4# Redistribution and use in source and binary forms, with or without
5# modification, are permitted provided that the following conditions are
6# met: redistributions of source code must retain the above copyright
7# notice, this list of conditions and the following disclaimer;
8# redistributions in binary form must reproduce the above copyright

--- 25 unchanged lines hidden (view full) ---

34nb_cores = 4
35cpus = [ DerivO3CPU(cpu_id=i) for i in xrange(nb_cores) ]
36
37# system simulated
38system = System(cpu = cpus,
39 physmem = DDR3_1600_x64(),
40 membus = CoherentBus(),
41 mem_mode = "timing")
1# Copyright (c) 2006-2007 The Regents of The University of Michigan
2# All rights reserved.
3#
4# Redistribution and use in source and binary forms, with or without
5# modification, are permitted provided that the following conditions are
6# met: redistributions of source code must retain the above copyright
7# notice, this list of conditions and the following disclaimer;
8# redistributions in binary form must reproduce the above copyright

--- 25 unchanged lines hidden (view full) ---

34nb_cores = 4
35cpus = [ DerivO3CPU(cpu_id=i) for i in xrange(nb_cores) ]
36
37# system simulated
38system = System(cpu = cpus,
39 physmem = DDR3_1600_x64(),
40 membus = CoherentBus(),
41 mem_mode = "timing")
42system.clock = '1GHz'
42
43# l2cache & bus
44system.toL2Bus = CoherentBus(clock = '2GHz')
45system.l2c = L2Cache(clock = '2GHz', size='4MB', assoc=8)
46system.l2c.cpu_side = system.toL2Bus.master
47
48# connect l2c to membus
49system.l2c.mem_side = system.membus.slave

--- 25 unchanged lines hidden ---
43
44# l2cache & bus
45system.toL2Bus = CoherentBus(clock = '2GHz')
46system.l2c = L2Cache(clock = '2GHz', size='4MB', assoc=8)
47system.l2c.cpu_side = system.toL2Bus.master
48
49# connect l2c to membus
50system.l2c.mem_side = system.membus.slave

--- 25 unchanged lines hidden ---