Skip to content

Commit

Permalink
[dvsim] Adjust search path for ascent lint parser
Browse files Browse the repository at this point in the history
Switched ascent lint over to use FuseSoC's `--work-root` as oppose to
`--build-root`.

Signed-off-by: Hugo McNally <[email protected]>
  • Loading branch information
HU90m committed Dec 17, 2024
1 parent 6f7a437 commit 25a5c1e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion hw/lint/tools/dvsim/common_lint_cfg.hjson
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"--flag=fileset_{design_level}",
"--target={flow}",
"--tool={tool}",
"--build-root={build_dir}",
"--work-root={build_dir}/fusesoc-work",
"{fusesoc_core}"]

// Determines which message severities to print into report summaries.
Expand Down
4 changes: 2 additions & 2 deletions util/dvsim/ascentlint-report-parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def main():

# Patterns for ascentlint.log
parser_args.update({
args.repdir.joinpath('lint-ascentlint/ascentlint.log'): [
args.repdir.joinpath('fusesoc-work/lint-ascentlint/ascentlint.log'): [
("flow_error", r"^FlexNet Licensing error.*"),
("flow_error", r"^Error: .*"),
("flow_error", r"^ERROR.*"),
Expand All @@ -77,7 +77,7 @@ def main():

# Patterns for ascentlint.rpt
parser_args.update({
args.repdir.joinpath('lint-ascentlint/ascentlint.rpt'): [
args.repdir.joinpath('fusesoc-work/lint-ascentlint/ascentlint.rpt'): [
("lint_error", r"^E .*"),
("lint_warning", r"^W .*"),
("lint_info", r"^I .*")
Expand Down

0 comments on commit 25a5c1e

Please sign in to comment.