1
0

rocketchip: add pbus width and AMO With classes (#357)

This commit is contained in:
Wesley W. Terpstra 2016-09-27 15:52:13 -07:00 committed by Henry Cook
parent eaea138d0d
commit 3926cb936b

View File

@ -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)
}
)