1
0

RegMapper: clarify interface is DecoupledIO

This commit is contained in:
Wesley W. Terpstra 2016-10-02 00:31:14 -07:00 committed by Andrew Waterman
parent 8a268268ad
commit 02f89fb530

View File

@ -3,7 +3,6 @@
package uncore.tilelink2
import Chisel._
import chisel3.util.{Irrevocable, IrrevocableIO}
// A bus agnostic register interface to a register-based device
@ -52,8 +51,8 @@ object RegMapper
val inBits = inParams.indexBits
assert (wordmap.keySet.max < (1 << inBits), "Register map does not fit in device")
val out = Wire(Irrevocable(new RegMapperOutput(inParams)))
val front = Wire(Irrevocable(new RegMapperInput(inParams)))
val out = Wire(Decoupled(new RegMapperOutput(inParams)))
val front = Wire(Decoupled(new RegMapperInput(inParams)))
front.bits := in.bits
// Must this device pipeline the control channel?