-
Notifications
You must be signed in to change notification settings - Fork 299
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] Verification layers are not included in filelist.f #7542
Comments
cc @SpriteOvO, I wonder if it's possible for layer to have their own |
Is there a specific use case for this? |
So there are a number of ways to handle this: (1) include the bind files in the compilation, (2) use I've handled this on the Chisel side for ChiselSim by adding the ability to customize what layers are enabled. The layers have predictable names and you can pattern match them based on what layers you want to enable. We're currently using (2) internally while I work on flows to allow users to choose what layers they want/need for a specific test or use case. |
Also, I should clarify that this change is coming from Chisel, specifically this: chipsalliance/chisel@42f8a04 Nothing has changed with CIRCT/firtool regarding these statements. |
Background: We are bumping our firtool version. See chipsalliance/t1#734
Description
After the bumping, our workflow breaks as if all
$stop
statements are discarded. It seems recently how firtool generates verilog code has drastically changed.We observe that
layers_TestBench_Verification.sv
and such are NOT included infilelist.f
. These files containsbind
statements to actually bind verification modules, thus it effectively throw out all code in verification layers. This is the root cause of the issue.Any ideas on how to recover the previous behavior?
firtool version after bumping: 1.81.1
Addtional Context
Content of `filelist.f`
Content of the directory
Reproduce
Clone dependencies-bumping-2024-08-21
Run
nix build -L .#t1.blastoise.ip.verilator-emu-rtl -o result-rtl
The
result-rtl
directory will contains generated SystemVerilog code and filelist.fThe text was updated successfully, but these errors were encountered: