Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/main/scala/chisel3/util/Decoupled.scala
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ object Decoupled
* Additionally, once 'valid' is raised it will never be lowered until after
* 'ready' has also been raised.
*/
class IrrevocableIO[+T <: Data](gen: T) extends ReadyValidIO[T](gen)
class IrrevocableIO[+T <: Data](gen: T) extends DecoupledIO[T](gen)
{
override def cloneType: this.type = new IrrevocableIO(gen).asInstanceOf[this.type]
}
Expand All @@ -129,7 +129,7 @@ object Irrevocable
}

object EnqIO {
def apply[T<:Data](gen: T): DecoupledIO[T] = Decoupled(gen)
def apply[T<:Data](gen: T): IrrevocableIO[T] = Irrevocable(gen)
}
object DeqIO {
def apply[T<:Data](gen: T): DecoupledIO[T] = Flipped(Decoupled(gen))
Expand Down