add configuration checks for TraceGen
This commit is contained in:
parent
959630630a
commit
d56362f04c
@ -554,6 +554,9 @@ class TraceGenerator(id: Int)
|
|||||||
class GroundTestTraceGenerator(implicit p: Parameters)
|
class GroundTestTraceGenerator(implicit p: Parameters)
|
||||||
extends GroundTest()(p) with HasTraceGenParams {
|
extends GroundTest()(p) with HasTraceGenParams {
|
||||||
|
|
||||||
|
require(io.mem.size == 0)
|
||||||
|
require(io.cache.size == 1)
|
||||||
|
|
||||||
val traceGen = Module(new TraceGenerator(p(GroundTestId)))
|
val traceGen = Module(new TraceGenerator(p(GroundTestId)))
|
||||||
io.cache.head <> traceGen.io.mem
|
io.cache.head <> traceGen.io.mem
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user