caches.py (12072:2ee7f25dd00d) | caches.py (13774:a1be2a0c55f2) |
---|---|
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; --- 19 unchanged lines hidden (view full) --- 28# Authors: Jason Power 29 30""" Caches with options for a simple gem5 configuration script 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""" | 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; --- 19 unchanged lines hidden (view full) --- 28# Authors: Jason Power 29 30""" Caches with options for a simple gem5 configuration script 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 __future__ import print_function 38from __future__ import absolute_import 39 |
|
36import m5 37from m5.objects import Cache 38 39# Add the common scripts to our path 40m5.util.addToPath('../../') 41 42from common import SimpleOpts 43 --- 89 unchanged lines hidden --- | 40import m5 41from m5.objects import Cache 42 43# Add the common scripts to our path 44m5.util.addToPath('../../') 45 46from common import SimpleOpts 47 --- 89 unchanged lines hidden --- |