Skip to main content

Lint

Linting is the first step where the RTL code is statically analyzed to detect issues that violate common design guidelines, such as undeclared signals, mixing of blocking and non-blocking assignments, unconnected ports, mismatched widths, unreachable code, and other structural errors. This step ensures the design is clean, consistent, and structurally sound before proceeding to CDC or synthesis.

Lint Directory Structure​

lint
├── inputs
│ ├── design_config.tcl -> <path_to_design_config.tcl>
│ └── tech_config.tcl -> <path_to_design_config.tcl>
├── logs
│ └── lint.log
├── outputs
├── reports
│ ├── checks.rpt
│ └── stats.json
├── scripts
│ └── lint.run
└── tmp

Files Description​

PathFileDescription
inputs/design_config.tclDesign configuration file specifying RTL and design-specific settings.
tech_config.tclTechnology configuration file specifying PDK, library paths, physical design parameters and flow specific settings.
logs/lint.logLog file capturing the output of the linting run, including messages and errors.
reports/checks.rptSummary report for Error and warning during the run.
stats.jsonUsed to populate the stage-specific dashboard with metrics and run information for the lint stage.
scripts/lint.runScript used to execute the linting flow. Often includes tool commands and settings.
tmp/Temporary working directory used during the linting process.