caches.py (11104:2d537040a4b9) caches.py (11682:612f75cf36a0)
1# -*- coding: utf-8 -*-
2# Copyright (c) 2015 Jason Power
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;

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

31
32This file contains L1 I/D and L2 caches to be used in the simple
33gem5 configuration script. It uses the SimpleOpts wrapper to set up command
34line options from each individual class.
35"""
36
37from m5.objects import Cache
38
1# -*- coding: utf-8 -*-
2# Copyright (c) 2015 Jason Power
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;

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

31
32This file contains L1 I/D and L2 caches to be used in the simple
33gem5 configuration script. It uses the SimpleOpts wrapper to set up command
34line options from each individual class.
35"""
36
37from m5.objects import Cache
38
39import SimpleOpts
39from common import SimpleOpts
40
41# Some specific options for caches
42# For all options see src/mem/cache/BaseCache.py
43
44class L1Cache(Cache):
45 """Simple L1 Cache with default values"""
46
47 assoc = 2

--- 80 unchanged lines hidden ---
40
41# Some specific options for caches
42# For all options see src/mem/cache/BaseCache.py
43
44class L1Cache(Cache):
45 """Simple L1 Cache with default values"""
46
47 assoc = 2

--- 80 unchanged lines hidden ---