rocketchip: add pbus width and AMO With classes (#357)
This commit is contained in:
parent
eaea138d0d
commit
3926cb936b
@ -195,3 +195,15 @@ class WithJtagDTM extends Config (
|
||||
case _ => throw new CDEMatchError
|
||||
}
|
||||
)
|
||||
|
||||
class WithNoPeripheryArithAMO extends Config (
|
||||
(pname, site, here) => pname match {
|
||||
case PeripheryBusKey => PeripheryBusConfig(arithAMO = false, beatBytes = 4)
|
||||
}
|
||||
)
|
||||
|
||||
class With64BitPeriphery extends Config (
|
||||
(pname, site, here) => pname match {
|
||||
case PeripheryBusKey => PeripheryBusConfig(arithAMO = true, beatBytes = 8)
|
||||
}
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user