MI_example.py (7535:7f8213cb2337) MI_example.py (7538:5691b9dd51f4)
1# Copyright (c) 2006-2007 The Regents of The University of Michigan
2# Copyright (c) 2009 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;

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

32from m5.defines import buildEnv
33
34#
35# Note: the cache latency is only used by the sequencer on fast path hits
36#
37class Cache(RubyCache):
38 latency = 3
39
1# Copyright (c) 2006-2007 The Regents of The University of Michigan
2# Copyright (c) 2009 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;

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

32from m5.defines import buildEnv
33
34#
35# Note: the cache latency is only used by the sequencer on fast path hits
36#
37class Cache(RubyCache):
38 latency = 3
39
40def define_options(parser):
41 return
42
40def create_system(options, phys_mem, piobus, dma_devices):
41
42 if buildEnv['PROTOCOL'] != 'MI_example':
43 panic("This script requires the MI_example protocol to be built.")
44
45 cpu_sequencers = []
46
47 #

--- 83 unchanged lines hidden ---
43def create_system(options, phys_mem, piobus, dma_devices):
44
45 if buildEnv['PROTOCOL'] != 'MI_example':
46 panic("This script requires the MI_example protocol to be built.")
47
48 cpu_sequencers = []
49
50 #

--- 83 unchanged lines hidden ---