1
0

minor Changes needed to support formal tests

This commit is contained in:
Jacob Chang
2016-12-01 14:55:25 -08:00
parent 4234cff074
commit 053f81d7c6
5 changed files with 28 additions and 3 deletions

View File

@ -415,11 +415,15 @@ class TLMonitor(gen: () => TLBundleSnoop, edge: () => TLEdge, sourceInfo: Source
legalizeSourceUnique(bundle, edge)
}
var code_insertion = (bundle_monitor: TLBundleSnoop, edge: TLEdge) => {}
lazy val module = new LazyModuleImp(this) {
val io = new Bundle {
val in = gen().asInput
}
code_insertion(io.in, edge())
legalize(io.in, edge())(sourceInfo)
}
}