Skip to content

Failed to run template #141

@balanx

Description

@balanx
Administrator[3] MSYS ~/chisel-template-main (main)
$ sbt
[info] welcome to sbt 1.11.0 (Eclipse Adoptium Java 17.0.15)
[info] loading settings for project chisel-template-main-build from plugins.sbt...
[info] loading project definition from D:\Shdl\msys64\home\Administrator\chisel-template-main\project
[info] loading settings for project root from build.sbt...
[info] set current project to %NAME% (in build file:/D:/Shdl/msys64/home/Administrator/chisel-template-main/)
[info]
[info] Here are some highlights of sbt 1.11.0:
[info]   - The Central Repository publishing
[info] See https://eed3si9n.com/sbt-1.11.0 for full release notes.
[info] Hide the banner for this release by running `skipBanner`.
[info] sbt server started at local:sbt-server-f6cd332ac56a60e54b48
[info] started sbt server
sbt:0AME[36m> compile
[success] Total time: 2 s, completed 2025年11月8日 下午2:34:32
sbt:0AME[36m> run
[info] running gcd.GCD
[error] circt.stage.phases.Exceptions$FirtoolNonZeroExitCode: C:\Users\Administrator\AppData\Local\org.chipsalliance\llvm-firtool\cache\1.128.0\bin\firtool returned a non-zero exit code. Note that this version of Chisel (7.0.0) was published against firt
ool version 1.128.0.
[error] ------------------------------------------------------------------------------
[error] ExitCode:
[error] -1073741819
[error] STDOUT:
[error]
[error] STDERR:
[error]
[error] ------------------------------------------------------------------------------
[error] stack trace is suppressed; run last Compile / run for the full output
[error] (Compile / run) circt.stage.phases.Exceptions$FirtoolNonZeroExitCode: C:\Users\Administrator\AppData\Local\org.chipsalliance\llvm-firtool\cache\1.128.0\bin\firtool returned a non-zero exit code. Note that this version of Chisel (7.0.0) was publis
hed against firtool version 1.128.0.
[error] ------------------------------------------------------------------------------
[error] ExitCode:
[error] -1073741819
[error] STDOUT:
[error]
[error] STDERR:
[error]
[error] ------------------------------------------------------------------------------
[error] Total time: 2 s, completed 2025年11月8日 下午2:34:39
Exception in thread "C:\Users\Administrator\AppData\Local\org.chipsalliance\llvm-firtool\cache\1.128.0\bin\firtool -format=fir -warn-on-unprocessed-annotations -output-annotation-file circt.anno.json -disable-all-randomization -strip-debug-info -default-
layer-specialization=enable --split-verilog -o=. stdin thread" java.io.IOException: 管道正在被关闭。
        at java.base/java.io.FileOutputStream.writeBytes(Native Method)
        at java.base/java.io.FileOutputStream.write(FileOutputStream.java:349)
        at java.base/java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:81)
        at java.base/java.io.BufferedOutputStream.flush(BufferedOutputStream.java:142)
        at java.base/java.io.FilterOutputStream.close(FilterOutputStream.java:182)
        at os.SubProcess$InputStream.close(SubProcess.scala:208)
        at os.ProcessInput$SourceInput$$anon$3.run(SubProcess.scala:423)
        at java.base/java.lang.Thread.run(Thread.java:840)
sbt:0AME[36m>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions