summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Lawson2016-07-27 08:59:11 -0700
committerJim Lawson2016-07-27 08:59:11 -0700
commitbdbc554c0ccf490dd75d57c57b171452ac3de14b (patch)
treeb0ce5be758fbe251ede29f8be812b2a39efed5c9 /src
parent11f119d0aba5ca578f2178cf83ba5096cc26cb22 (diff)
Correct EnqIO/DeqIO Flipped-ness.
Diffstat (limited to 'src')
-rw-r--r--src/main/scala/chisel3/util/Decoupled.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/scala/chisel3/util/Decoupled.scala b/src/main/scala/chisel3/util/Decoupled.scala
index 68c3ae88..3ee363a2 100644
--- a/src/main/scala/chisel3/util/Decoupled.scala
+++ b/src/main/scala/chisel3/util/Decoupled.scala
@@ -64,10 +64,10 @@ object DecoupledIO {
}
object EnqIO {
- def apply[T<:Data](gen: T): DecoupledIO[T] = Flipped(DecoupledIO(gen))
+ def apply[T<:Data](gen: T): DecoupledIO[T] = DecoupledIO(gen)
}
object DeqIO {
- def apply[T<:Data](gen: T): DecoupledIO[T] = DecoupledIO(gen)
+ def apply[T<:Data](gen: T): DecoupledIO[T] = Flipped(DecoupledIO(gen))
}
/** An I/O Bundle for Queues