python: Apply Black formatter to Python files
The command executed was `black src configs tests util`. Change-Id: I8dfaa6ab04658fea37618127d6ac19270028d771 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/47024 Maintainer: Bobby Bruce <bbruce@ucdavis.edu> Reviewed-by: Jason Lowe-Power <power.jg@gmail.com> Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com> Tested-by: kokoro <noreply+kokoro@google.com>
This commit is contained in:
committed by
Giacomo Travaglini
parent
1cfaa8da83
commit
787204c92d
@@ -36,6 +36,7 @@
|
||||
from m5.params import *
|
||||
from m5.objects.BaseAtomicSimpleCPU import BaseAtomicSimpleCPU
|
||||
|
||||
|
||||
class BaseNonCachingSimpleCPU(BaseAtomicSimpleCPU):
|
||||
"""Simple CPU model based on the atomic CPU. Unlike the atomic CPU,
|
||||
this model causes the memory system to bypass caches and is
|
||||
@@ -45,15 +46,15 @@ class BaseNonCachingSimpleCPU(BaseAtomicSimpleCPU):
|
||||
|
||||
"""
|
||||
|
||||
type = 'BaseNonCachingSimpleCPU'
|
||||
type = "BaseNonCachingSimpleCPU"
|
||||
cxx_header = "cpu/simple/noncaching.hh"
|
||||
cxx_class = 'gem5::NonCachingSimpleCPU'
|
||||
cxx_class = "gem5::NonCachingSimpleCPU"
|
||||
|
||||
numThreads = 1
|
||||
|
||||
@classmethod
|
||||
def memory_mode(cls):
|
||||
return 'atomic_noncaching'
|
||||
return "atomic_noncaching"
|
||||
|
||||
@classmethod
|
||||
def support_take_over(cls):
|
||||
|
||||
Reference in New Issue
Block a user