diff options
| author | Stephen Twigg | 2016-04-27 17:19:44 -0700 |
|---|---|---|
| committer | Andrew Waterman | 2016-05-04 01:38:33 -0700 |
| commit | f3ea8f1f7539d4afb50555df28dd16562c0ee256 (patch) | |
| tree | 30d640acfee45ecb34d31018242b5c1615314a5e /src/main/scala/Chisel/util | |
| parent | 2b5045b3665446430e0d522087ce2af5773dc426 (diff) | |
clock|reset to _clock|_reset, added explanatory comment
@aswaterman closes #156
Diffstat (limited to 'src/main/scala/Chisel/util')
| -rw-r--r-- | src/main/scala/Chisel/util/Decoupled.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/scala/Chisel/util/Decoupled.scala b/src/main/scala/Chisel/util/Decoupled.scala index 6c7787f8..8e045855 100644 --- a/src/main/scala/Chisel/util/Decoupled.scala +++ b/src/main/scala/Chisel/util/Decoupled.scala @@ -106,8 +106,8 @@ class Queue[T <: Data](gen: T, val entries: Int, flow: Boolean = false, override_reset: Option[Bool] = None) extends Module(override_reset=override_reset) { - def this(gen: T, entries: Int, pipe: Boolean, flow: Boolean, reset: Bool) = - this(gen, entries, pipe, flow, Some(reset)) + def this(gen: T, entries: Int, pipe: Boolean, flow: Boolean, _reset: Bool) = + this(gen, entries, pipe, flow, Some(_reset)) val io = new QueueIO(gen, entries) |
