-
Notifications
You must be signed in to change notification settings - Fork 639
Closed
Description
Type of issue: Bug Report
Please provide the steps to reproduce the problem:
lhs :#= rhs
where lhs
and rhs
are e.g. UInt
but with mismatching widths.
What is the current behavior?
The following exception is thrown:
chisel3.package$ChiselException: Error: desiredName of MyModule is null.
at chisel3.experimental.BaseModule.err$1(Module.scala:674)
at chisel3.experimental.BaseModule.liftedTree1$1(Module.scala:686)
at chisel3.experimental.BaseModule.name$lzycompute(Module.scala:676)
at chisel3.experimental.BaseModule.name(Module.scala:670)
at chisel3.Data.$anonfun$parentNameOpt$1(Data.scala:519)
at scala.Option.map(Option.scala:242)
at chisel3.Data.parentNameOpt(Data.scala:519)
at chisel3.Data.stringAccessor(Data.scala:492)
at chisel3.UInt.toString(Bits.scala:235)
at java.base/java.lang.String.valueOf(String.java:4465)
at java.base/java.lang.StringBuilder.append(StringBuilder.java:173)
at chisel3.connectable.Connection$.doConnection(Connection.scala:176)
at chisel3.connectable.Connection$.connect(Connection.scala:111)
at chisel3.connectable.Connectable$ConnectableOpExtension.$colon$hash$eq(Connectable.scala:364)
...
at chisel3.package$.withName(package.scala:493)
...
What is the expected behavior?
Understandble connection error pointing out the width mismatch.
Please tell us about your environment:
version: at least 7.0.0-RC1
and later SNAPSHOTs
Other Information
What is the use case for changing the behavior?
Metadata
Metadata
Assignees
Labels
No labels