Skip to content

Commit

Permalink
More named signals
Browse files Browse the repository at this point in the history
  • Loading branch information
Dolu1990 committed Jun 9, 2021
1 parent 0e89ebe commit 1ee45ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/scala/vexriscv/plugin/Misc.scala
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ object StreamForkVex{
object StreamVexPimper{
implicit class StreamFlushPimper[T <: Data](pimped : Stream[T]){
def m2sPipeWithFlush(flush : Bool, discardInput : Boolean = true, collapsBubble : Boolean = true, flushInput : Bool = null): Stream[T] = {
val ret = cloneOf(pimped)
val ret = cloneOf(pimped).setCompositeName(pimped, "m2sPipe", true)

val rValid = RegInit(False)
val rData = Reg(pimped.payloadType)
Expand Down

0 comments on commit 1ee45ee

Please sign in to comment.