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
I noticed that the firtool-produced error messages coming out of scala-cli are not showing up. I think this is due to the source locators being emitted kind of strangely. Consider:
Note that the source locator is Users/schuylere/.... I.e., this is a relative path, but is actually absolute.
The error (top-level module uninferred reset port) is then reported as:
Users/schuylere/repos/github.com/llvm/circt/build/scala-cli/Foo.scala:10:13: error: a port "x" with abstract reset type was unable to be inferred by InferResets (is this a top-level port?)
<stdin>:3:10: note: the module with this uninferred reset port was defined here
module Foo :
^
If I manually change the source locator to be absolute, I get:
/Users/schuylere/repos/github.com/llvm/circt/build/scala-cli/Foo.scala:10:13: error: a port "x" with abstract reset type was unable to be inferred by InferResets (is this a top-level port?)
val x = IO(Output(Reset()))
^
Foo.fir:3:10: note: the module with this uninferred reset port was defined here
module Foo :
^
The text was updated successfully, but these errors were encountered:
I noticed that the firtool-produced error messages coming out of scala-cli are not showing up. I think this is due to the source locators being emitted kind of strangely. Consider:
The CHIRRTL is:
Note that the source locator is
Users/schuylere/...
. I.e., this is a relative path, but is actually absolute.The error (top-level module uninferred reset port) is then reported as:
If I manually change the source locator to be absolute, I get:
The text was updated successfully, but these errors were encountered: