Skip to content

Commit

Permalink
Fix incorrect comment in ScalaDoc (#1756)
Browse files Browse the repository at this point in the history
  • Loading branch information
jackkoenig authored Jan 27, 2021
1 parent 2a96767 commit d0db0b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/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 d0db0b8

Please sign in to comment.