memtest-ruby.py (10120:f5ceb3c3edb6) | memtest-ruby.py (10405:7a618c07e663) |
---|---|
1# Copyright (c) 2006-2007 The Regents of The University of Michigan 2# Copyright (c) 2010 Advanced Micro Devices, Inc. 3# All rights reserved. 4# 5# Redistribution and use in source and binary forms, with or without 6# modification, are permitted provided that the following conditions are 7# met: redistributions of source code must retain the above copyright 8# notice, this list of conditions and the following disclaimer; --- 67 unchanged lines hidden (view full) --- 76 77# overwrite options.num_cpus with the nb_cores value 78options.num_cpus = nb_cores 79 80# system simulated 81system = System(cpu = cpus, 82 funcmem = SimpleMemory(in_addr_map = False), 83 physmem = SimpleMemory(null = True), | 1# Copyright (c) 2006-2007 The Regents of The University of Michigan 2# Copyright (c) 2010 Advanced Micro Devices, Inc. 3# All rights reserved. 4# 5# Redistribution and use in source and binary forms, with or without 6# modification, are permitted provided that the following conditions are 7# met: redistributions of source code must retain the above copyright 8# notice, this list of conditions and the following disclaimer; --- 67 unchanged lines hidden (view full) --- 76 77# overwrite options.num_cpus with the nb_cores value 78options.num_cpus = nb_cores 79 80# system simulated 81system = System(cpu = cpus, 82 funcmem = SimpleMemory(in_addr_map = False), 83 physmem = SimpleMemory(null = True), |
84 funcbus = NoncoherentBus()) | 84 funcbus = NoncoherentXBar()) |
85# Dummy voltage domain for all our clock domains 86system.voltage_domain = VoltageDomain() 87system.clk_domain = SrcClockDomain(clock = '1GHz', 88 voltage_domain = system.voltage_domain) 89 90# Create a seperate clock domain for components that should run at 91# CPUs frequency 92system.cpu_clk_domain = SrcClockDomain(clock = '2GHz', --- 42 unchanged lines hidden --- | 85# Dummy voltage domain for all our clock domains 86system.voltage_domain = VoltageDomain() 87system.clk_domain = SrcClockDomain(clock = '1GHz', 88 voltage_domain = system.voltage_domain) 89 90# Create a seperate clock domain for components that should run at 91# CPUs frequency 92system.cpu_clk_domain = SrcClockDomain(clock = '2GHz', --- 42 unchanged lines hidden --- |