-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
firtool: Unknown command line argument '-disable-infer-rw'. Try: 'firtool --help' #3508
Comments
Please use nix version of Circt this issues has been fixed by #3506 |
I just merged #3506, you can have a try with dev branch, but please use circt from nix in the future since we only support one circt in rc |
Title: Error using Nix version of Circt with RocketChip Emulator Description: Error:
I appreciate any assistance or suggestions to resolve this issue. Thank you! |
Hello, I have also encountered the same problem. Have you resolved this issue? |
please use nix. |
Please elaborate on how to build circt from Nix. |
Yes, I solved this problem by using the Nix package manager. You should enable the Nix functionality that comes with the repository. For example: |
firtool: Unknown command line argument '-disable-infer-rw'. Try: 'firtool --help'
This is my first installation. When I execute "make verilog" directly, it prompts " firtool: Unknown command line argument '-disable-infer-rw'. Try: 'firtool --help' " error. The new version of firtool does not have the "-disable-infer-rw" option. I am using 1.38.0.
I found that "build.sc" still has that option.
build.sc:
object mfccompiler extends Module {
def compile = T {
os.proc("firtool",
generator.chirrtl().path,
s"--annotation-file=${generator.chiselAnno().path}",
"-disable-infer-rw",
"--disable-annotation-unknown",
"-dedup",
"-O=debug",
"--split-verilog",
"--preserve-values=named",
"--output-annotation-file=mfc.anno.json",
s"-o=${T.dest}"
).call(T.dest)
PathRef(T.dest)
}
The text was updated successfully, but these errors were encountered: