Use a def instead of a lazy val in ManagerCoherenceAgent.
Prevents C++ emulator from randomizing inputs in unit testing. Closes #44
This commit is contained in:
parent
d69446e177
commit
fd83d20857
@ -133,7 +133,7 @@ abstract class ManagerCoherenceAgent(implicit p: Parameters) extends CoherenceAg
|
|||||||
with HasCoherenceAgentWiringHelpers {
|
with HasCoherenceAgentWiringHelpers {
|
||||||
val io = new ManagerTLIO
|
val io = new ManagerTLIO
|
||||||
def innerTL = io.inner
|
def innerTL = io.inner
|
||||||
lazy val outerTL = TileLinkIOWrapper(io.outer)(p.alterPartial({case TLId => p(OuterTLId)}))
|
def outerTL = TileLinkIOWrapper(io.outer)(p.alterPartial({case TLId => p(OuterTLId)}))
|
||||||
def incoherent = io.incoherent
|
def incoherent = io.incoherent
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user