1# Copyright (c) 2006-2007 The Regents of The University of Michigan 2# Copyright (c) 2009 Advanced Micro Devices, Inc. 3# Copyright (c) 2013 Mark D. Hill and David A. Wood 4# All rights reserved. 5# 6# Redistribution and use in source and binary forms, with or without 7# modification, are permitted provided that the following conditions are 8# met: redistributions of source code must retain the above copyright --- 23 unchanged lines hidden (view full) --- 32import math 33import m5 34from m5.objects import * 35from m5.defines import buildEnv 36from Ruby import create_topology 37from Ruby import send_evicts 38 39# |
40# Declare caches used by the protocol |
41# |
42class L0Cache(RubyCache): pass 43class L1Cache(RubyCache): pass 44class L2Cache(RubyCache): pass |
45 |
46def define_options(parser): 47 parser.add_option("--num-clusters", type="int", default=1, 48 help="number of clusters in a design in which there are shared\ 49 caches private to clusters") 50 return 51 52def create_system(options, full_system, system, dma_ports, ruby_system): 53 --- 187 unchanged lines hidden --- |