Skip to content

firtool 1.131.0 generates references to non-existant layer files #9020

@oharboe

Description

@oharboe

When generating a single verilog file, the layer files are included, even if they are not generated, leading to errors.

  1. untar no-include.tar.gz
  2. Run firtool '--format=mlir' --disable-all-randomization -strip-debug-info '-disable-layers=Verification' '-disable-layers=Verification.Assert' '-disable-layers=Verification.Assume' '-disable-layers=Verification.Cover' counter_fir.fir -o counter.sv

Now we see that references to non-existant files are generated:

$ grep include counter.sv
  `include "layers-TestCounter-Verification.sv"
  `include "layers-TestCounter-Verification.sv"
  `include "layers-TestCounter-Verification.sv"
$ find . | grep layers
$

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