1
0

TLBuffer: Add a nodedebugstring for quick browsing of the properties of the buffer.

This commit is contained in:
Megan Wachs
2017-08-29 10:36:46 -07:00
parent bdaae40035
commit a62ce0afe6
2 changed files with 17 additions and 3 deletions

View File

@ -279,6 +279,9 @@ case class BufferParams(depth: Int, flow: Boolean, pipe: Boolean)
sq.io.enq <> x
sq.io.deq
}
override def toString() = "BufferParams:%d%s%s".format(depth, if (flow) "F" else "", if (pipe) "P" else "")
}
object BufferParams