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 --- 30 unchanged lines hidden (view full) --- 39# should set hit latency and response latency to 20 cycles as for 40# other scripts 41cpu.clock = '2GHz' 42 43system = System(cpu = cpu, 44 physmem = DDR3_1600_x64(), 45 membus = CoherentBus(), 46 mem_mode = "timing") |
47system.clock = '1GHz' |
48system.system_port = system.membus.slave 49system.physmem.port = system.membus.master 50# create the interrupt controller 51cpu.createInterruptController() 52cpu.connectAllPorts(system.membus) 53 54root = Root(full_system = False, system = system) |