You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Exception in thread "main" java.lang.IllegalArgumentException: requirement failed
at ... ()
at Foo.$anonfun$x$4(NegativeWidth.scala:11)
at chisel3.SpecifiedDirection$.specifiedDirection(Data.scala:66)
at chisel3.Input$.apply(Data.scala:264)
at Foo.$anonfun$x$3(NegativeWidth.scala:11)
at chisel3.IO$.apply(IO.scala:34)
at chisel3.experimental.BaseModule.IO(Module.scala:821)
at Foo.$anonfun$x$2(NegativeWidth.scala:11)
at chisel3.experimental.prefix$.apply(prefix.scala:50)
at Foo.$anonfun$x$1(NegativeWidth.scala:11)
at chisel3.internal.plugin.package$.autoNameRecursively(package.scala:33)
at Foo.<init>(NegativeWidth.scala:11)
at Main$.$anonfun$new$1(NegativeWidth.scala:17)
at ... ()
at ... (Stack trace trimmed to user code only. Rerun with --full-stacktrace to see the full stack trace)
If you have a negative width, this produces a bad error message about "requirement failed". Consider:
This produces:
h/t @mmaloney-sf for finding this.
The text was updated successfully, but these errors were encountered: