Skip to content

Commit 5274b6a

Browse files
committed
PipeCon apply
1 parent 80e63d4 commit 5274b6a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/main/scala/soc/PipeCon.scala

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,7 @@ class PipeCon(private val addrWidth: Int) extends Bundle {
1717
val wrMask = Input(UInt(4.W))
1818
val ack = Output(Bool())
1919
}
20+
21+
object PipeCon {
22+
def apply(addrWidth: Int): PipeCon = new PipeCon(addrWidth)
23+
}

0 commit comments

Comments
 (0)