Skip to content

Commit

Permalink
scalafmt
Browse files Browse the repository at this point in the history
  • Loading branch information
mwachs5 committed Apr 20, 2022
1 parent 931905e commit 152cbf7
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/main/scala/chisel3/util/Bitwise.scala
Original file line number Diff line number Diff line change
Expand Up @@ -61,16 +61,16 @@ object FillInterleaved {
* }}}
*/
object PopCount {

def apply(in: Iterable[Bool]): UInt = macro SourceInfoTransform.inArg
def do_apply(in: Iterable[Bool])(implicit sourceInfo: SourceInfo, compileOptions: CompileOptions): UInt = _apply_impl(

def do_apply(in: Iterable[Bool])(implicit sourceInfo: SourceInfo, compileOptions: CompileOptions): UInt = _apply_impl(
in.toSeq
)

def apply(in: Bits): UInt = macro SourceInfoTransform.inArg
def do_apply(in: Bits)(implicit sourceInfo: SourceInfo, compileOptions: CompileOptions): UInt = _apply_impl(

def do_apply(in: Bits)(implicit sourceInfo: SourceInfo, compileOptions: CompileOptions): UInt = _apply_impl(
(0 until in.getWidth).map(in(_))
)

Expand Down Expand Up @@ -144,5 +144,5 @@ object Reverse {

def apply(in: UInt): UInt = macro SourceInfoTransform.inArg

def do_apply(in: UInt)(implicit sourceInfo: SourceInfo, compileOptions: CompileOptions): UInt = doit(in, in.getWidth)
def do_apply(in: UInt)(implicit sourceInfo: SourceInfo, compileOptions: CompileOptions): UInt = doit(in, in.getWidth)
}

0 comments on commit 152cbf7

Please sign in to comment.