rocketchip: re-enable testing of atomics
This commit is contained in:
parent
e5da3eb8bb
commit
0a3718881f
@ -141,7 +141,7 @@ class WithComparator extends Config(
|
|||||||
site(GlobalAddrMap)(name).start.longValue),
|
site(GlobalAddrMap)(name).start.longValue),
|
||||||
width = 8,
|
width = 8,
|
||||||
operations = 1000,
|
operations = 1000,
|
||||||
atomics = false, // !!! re-enable soon: site(UseAtomics),
|
atomics = site(UseAtomics),
|
||||||
prefetches = site("COMPARATOR_PREFETCHES"))
|
prefetches = site("COMPARATOR_PREFETCHES"))
|
||||||
case FPUConfig => None
|
case FPUConfig => None
|
||||||
case UseAtomics => false
|
case UseAtomics => false
|
||||||
@ -305,7 +305,7 @@ class WithDirectComparator extends Config(
|
|||||||
targets = Seq(0L, 0x100L),
|
targets = Seq(0L, 0x100L),
|
||||||
width = 8,
|
width = 8,
|
||||||
operations = 1000,
|
operations = 1000,
|
||||||
atomics = false, // !!! re-enable soon: site(UseAtomics),
|
atomics = site(UseAtomics),
|
||||||
prefetches = site("COMPARATOR_PREFETCHES"))
|
prefetches = site("COMPARATOR_PREFETCHES"))
|
||||||
case FPUConfig => None
|
case FPUConfig => None
|
||||||
case UseAtomics => false
|
case UseAtomics => false
|
||||||
|
@ -49,7 +49,7 @@ abstract class BaseTop(q: Parameters) extends LazyModule {
|
|||||||
|
|
||||||
val legacy = LazyModule(new TLLegacy()(p.alterPartial({ case TLId => "L2toMMIO" })))
|
val legacy = LazyModule(new TLLegacy()(p.alterPartial({ case TLId => "L2toMMIO" })))
|
||||||
|
|
||||||
peripheryBus.node := TLBuffer(TLWidthWidget(TLHintHandler(legacy.node), legacy.tlDataBytes))
|
peripheryBus.node := TLWidthWidget(TLBuffer(TLAtomicAutomata()(TLHintHandler(legacy.node))), legacy.tlDataBytes)
|
||||||
}
|
}
|
||||||
|
|
||||||
abstract class BaseTopBundle(val p: Parameters) extends Bundle {
|
abstract class BaseTopBundle(val p: Parameters) extends Bundle {
|
||||||
|
Loading…
Reference in New Issue
Block a user