From e91e12ed880ac14ef9491f22ca7b58110373eebb Mon Sep 17 00:00:00 2001 From: Andrew Waterman Date: Wed, 14 May 2014 16:17:39 -0700 Subject: [PATCH] Fix RoCC accumulator example --- rocket/src/main/scala/rocc.scala | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/rocket/src/main/scala/rocc.scala b/rocket/src/main/scala/rocc.scala index 3a3e2bf4..c1ce0694 100644 --- a/rocket/src/main/scala/rocc.scala +++ b/rocket/src/main/scala/rocc.scala @@ -3,6 +3,7 @@ package rocket import Chisel._ import Node._ import uncore._ +import Util._ class RoCCInstruction extends Bundle { @@ -119,4 +120,11 @@ class AccumulatorExample(conf: RocketConfiguration) extends RoCC(conf) io.mem.req.bits.cmd := M_XRD // perform a load (M_XWR for stores) io.mem.req.bits.typ := MT_D // D = 8 bytes, W = 4, H = 2, B = 1 io.mem.req.bits.data := Bits(0) // we're not performing any stores... + + io.imem.acquire.valid := false + io.imem.grant.ready := false + io.imem.finish.valid := false + io.iptw.req.valid := false + io.dptw.req.valid := false + io.pptw.req.valid := false }