RegMapper: clarify interface is DecoupledIO
This commit is contained in:
parent
8a268268ad
commit
02f89fb530
@ -3,7 +3,6 @@
|
|||||||
package uncore.tilelink2
|
package uncore.tilelink2
|
||||||
|
|
||||||
import Chisel._
|
import Chisel._
|
||||||
import chisel3.util.{Irrevocable, IrrevocableIO}
|
|
||||||
|
|
||||||
// A bus agnostic register interface to a register-based device
|
// A bus agnostic register interface to a register-based device
|
||||||
|
|
||||||
@ -52,8 +51,8 @@ object RegMapper
|
|||||||
val inBits = inParams.indexBits
|
val inBits = inParams.indexBits
|
||||||
assert (wordmap.keySet.max < (1 << inBits), "Register map does not fit in device")
|
assert (wordmap.keySet.max < (1 << inBits), "Register map does not fit in device")
|
||||||
|
|
||||||
val out = Wire(Irrevocable(new RegMapperOutput(inParams)))
|
val out = Wire(Decoupled(new RegMapperOutput(inParams)))
|
||||||
val front = Wire(Irrevocable(new RegMapperInput(inParams)))
|
val front = Wire(Decoupled(new RegMapperInput(inParams)))
|
||||||
front.bits := in.bits
|
front.bits := in.bits
|
||||||
|
|
||||||
// Must this device pipeline the control channel?
|
// Must this device pipeline the control channel?
|
||||||
|
Loading…
Reference in New Issue
Block a user