Hi all,
I just begin to learn chisel, and not understand the "view_arg" in Bundle's constructor. as in the source code:
class Bundle(view_arg: Seq[String] = null)
---------------------------------------------------------
the older example like this doesn't work:
class MyFloat extends Bundle {
val sign = Bool()
val exponent = Bits(width = 8)
val significand = Bits(width = 23)
}
while the modified version pass the compilation:
class MyFloat extends Bundle(null) {
val sign = Bool()
val exponent = Bits(width = 8)
val significand = Bits(width = 23)
}
any help will be appreciated!