| // Copyright lowRISC contributors. |
| // Licensed under the Apache License, Version 2.0, see LICENSE for details. |
| // SPDX-License-Identifier: Apache-2.0 |
| { |
| flow: lint |
| lint_root: "{proj_root}/hw/lint" |
| flow_makefile: "{lint_root}/tools/dvsim/lint.mk" |
| |
| import_cfgs: [// Common server configuration for results upload |
| "{proj_root}/hw/data/common_project_cfg.hjson" |
| // Tool-specific configuration |
| "{lint_root}/tools/dvsim/{tool}.hjson"] |
| |
| // Name of the DUT / top-level to be run through lint. |
| dut: "{name}" |
| |
| // Default directory structure for the output. |
| build_dir: "{scratch_path}/{build_mode}" |
| build_log: "{build_dir}/{tool}.log" |
| |
| // We rely on fusesoc to run lint for us. |
| build_cmd: "{job_prefix} fusesoc" |
| build_opts: ["--cores-root {proj_root}", |
| "run", |
| "--flag=fileset_{design_level}", |
| "--target={flow}", |
| "--tool={tool}", |
| "--build-root={build_dir}", |
| "{fusesoc_core}"] |
| |
| // Determines which message severities to print into report summaries. |
| report_severities: ["warning", "error"] |
| // Determines which message severities lead to a pass/fail. |
| fail_severities: ["warning", "error"] |
| // Define message bucket categories and severities. |
| message_buckets: [ |
| {category: "flow", severity: "warning", label: ""}, |
| {category: "flow", severity: "error", label: ""}, |
| {category: "lint", severity: "info", label: ""}, |
| {category: "lint", severity: "warning", label: ""}, |
| {category: "lint", severity: "error", label: ""} |
| ] |
| |
| // TODO(#9079): Need to align with new parser mechanism. |
| build_fail_patterns: [] |
| |
| // These are not needed currently. |
| sv_flist_gen_cmd: "" |
| sv_flist_gen_opts: [] |
| sv_flist_gen_dir: "" |
| } |