Skip to content
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

Chisel 7 Bump Issue due to Default Layers #84

Open
seldridge opened this issue Aug 21, 2024 · 1 comment
Open

Chisel 7 Bump Issue due to Default Layers #84

seldridge opened this issue Aug 21, 2024 · 1 comment

Comments

@seldridge
Copy link
Member

FYI: if this project tries to bump to Chisel 7, which now includes default layers, there will be problems with how the FMATester.scala generates Verilog here:

os.write(testRunDir / "dut.v", chisel3.getVerilogString(module()))

With default layers always being there, then doing this may create an invalid single-file Verilog file that has `include directives pointing at directories/files which don't exist.

This can either be fixed by changing the ChiselStage invocation to include -enable-layers arguments that specialize away the default layers or this invocation could be changed to use one-file-per-module output and changing the Verilator invocation to properly setup +incdir pointing at the output directory.

@nibrunieAtSi5
Copy link

Thanks for the heads-up @seldridge

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants