configs, dev, learning-gem5, python, tests: more clarification
This commit contains the rest of the base 2 vs base 10 cache/memory size clarifications. It also changes the warning message to use warn(). With these changes, the warning message should now no longer show up during a fresh compilation of gem5. Change-Id: Ia63f841bdf045b76473437f41548fab27dc19631
This commit is contained in:
committed by
Erin (Jianghua) Le
parent
28453a0e3e
commit
e1db67c4bd
@@ -47,8 +47,8 @@ class GoodbyeObject(SimObject):
|
||||
cxx_class = "gem5::GoodbyeObject"
|
||||
|
||||
buffer_size = Param.MemorySize(
|
||||
"1kB", "Size of buffer to fill with goodbye"
|
||||
"1KiB", "Size of buffer to fill with goodbye"
|
||||
)
|
||||
write_bandwidth = Param.MemoryBandwidth(
|
||||
"100MB/s", "Bandwidth to fill the buffer"
|
||||
"100MiB/s", "Bandwidth to fill the buffer"
|
||||
)
|
||||
|
||||
@@ -41,6 +41,6 @@ class SimpleCache(ClockedObject):
|
||||
|
||||
latency = Param.Cycles(1, "Cycles taken on a hit or to resolve a miss")
|
||||
|
||||
size = Param.MemorySize("16kB", "The size of the cache")
|
||||
size = Param.MemorySize("16KiB", "The size of the cache")
|
||||
|
||||
system = Param.System(Parent.any, "The system this cache is part of")
|
||||
|
||||
Reference in New Issue
Block a user