Skip to content

Commit

Permalink
Fix incorrect comment in ScalaDoc (#1756) (#1757)
Browse files Browse the repository at this point in the history
(cherry picked from commit d0db0b8)

Co-authored-by: Jack Koenig <[email protected]>
  • Loading branch information
mergify[bot] and jackkoenig authored Jan 27, 2021
1 parent f23c61e commit 3d1d3aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chiselFrontend/src/main/scala/chisel3/Reg.scala
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ object RegNext {
* val x = Wire(UInt())
* val y = Wire(UInt(8.W))
* val r1 = RegInit(x) // width will be inferred
* val r2 = RegInit(y) // width is set to 8
* val r2 = RegInit(y) // width will be inferred
* }}}
*
* 3. [[Aggregate]] initializer - width will be set to match the aggregate
Expand Down

0 comments on commit 3d1d3aa

Please sign in to comment.