From 7f71df09255c1ba046875e3c0586d14c521e1b88 Mon Sep 17 00:00:00 2001 From: "Wesley W. Terpstra" Date: Tue, 14 Mar 2017 10:28:52 -0700 Subject: [PATCH] apb: better test coverage --- src/main/scala/uncore/apb/Test.scala | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/main/scala/uncore/apb/Test.scala b/src/main/scala/uncore/apb/Test.scala index e59c5820..c6d6f56e 100644 --- a/src/main/scala/uncore/apb/Test.scala +++ b/src/main/scala/uncore/apb/Test.scala @@ -25,9 +25,14 @@ class APBFuzzBridge()(implicit p: Parameters) extends LazyModule val gpio = LazyModule(new RRTest0(0x100)) model.node := fuzz.node - xbar.node := TLToAPB()(TLDelayer(0.1)(model.node)) ram.node := xbar.node gpio.node := xbar.node + xbar.node := + TLToAPB()( + TLDelayer(0.2)( + TLBuffer(TLBufferParams.flow)( + TLDelayer(0.2)( + model.node)))) lazy val module = new LazyModuleImp(this) with HasUnitTestIO { io.finished := fuzz.module.io.finished