1
0

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:
Ken McMillan 2016-05-17 17:13:48 -07:00 committed by Henry Cook
parent d69446e177
commit fd83d20857

View File

@ -133,7 +133,7 @@ abstract class ManagerCoherenceAgent(implicit p: Parameters) extends CoherenceAg
with HasCoherenceAgentWiringHelpers {
val io = new ManagerTLIO
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
}