make CacheConstants an object
This commit is contained in:
parent
f13d76628b
commit
056bb156ca
@ -54,6 +54,7 @@ trait AddressConstants {
|
|||||||
val PERM_BITS = 6;
|
val PERM_BITS = 6;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
object CacheConstants extends CacheConstants
|
||||||
trait CacheConstants {
|
trait CacheConstants {
|
||||||
val CACHE_DATA_SIZE_IN_BYTES = 1 << 6
|
val CACHE_DATA_SIZE_IN_BYTES = 1 << 6
|
||||||
val OFFSET_BITS = log2Up(CACHE_DATA_SIZE_IN_BYTES)
|
val OFFSET_BITS = log2Up(CACHE_DATA_SIZE_IN_BYTES)
|
||||||
|
Loading…
Reference in New Issue
Block a user