Confusing error message on unassigned inferred UInt() input

13 views
Skip to first unread message

Øyvind Harboe

unread,
Dec 16, 2021, 2:52:32 AM12/16/21
to chisel-users
I've discovered that when I get error messages about uninferred widths, it can be because that input has not been assigned yet.

It would of course be much less confusing if the error message was about the unassigne input...

[info]   firrtl.passes.PassExceptions: firrtl.passes.CheckWidths$UninferredWidth:  : Uninferred width for target below. (Did you forget to assign to it?)
[info]     circuit FooTestBench:
[info]     └── module VecAccess:
[info]         └── element
Reply all
Reply to author
Forward
0 new messages