-
Notifications
You must be signed in to change notification settings - Fork 807
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[hw,top_racl_pkg,lint] Explixctely lint the RACL pkg for long file name
the RACL might be pulled in in blocl level DV and there pullute tje lint. Therefore, we need to add a dedicated waiver rather than waiving the package in the block level, e.g., in Darjeeling. Signed-off-by: Robert Schilling <[email protected]>
- Loading branch information
Showing
8 changed files
with
76 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Copyright lowRISC contributors (OpenTitan project). | ||
# Licensed under the Apache License, Version 2.0, see LICENSE for details. | ||
# SPDX-License-Identifier: Apache-2.0 | ||
# | ||
# waiver file for top_racl_pkg | ||
|
||
waive -rules {LINE_LENGTH} -location {top_racl_pkg.sv} -regexp {Line length of [0-9]+ exceeds 100 character limit} \ | ||
-comment "top_racl_pkg is auto-generated and expected to exceed line length limit" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Copyright lowRISC contributors (OpenTitan project). | ||
# Licensed under the Apache License, Version 2.0, see LICENSE for details. | ||
# SPDX-License-Identifier: Apache-2.0 | ||
# | ||
# waiver file for top_racl_pkg | ||
|
||
waive -rules {LINE_LENGTH} -location {top_racl_pkg.sv} -regexp {Line length of [0-9]+ exceeds 100 character limit} \ | ||
-comment "top_racl_pkg is auto-generated and expected to exceed line length limit" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Copyright lowRISC contributors (OpenTitan project). | ||
# Licensed under the Apache License, Version 2.0, see LICENSE for details. | ||
# SPDX-License-Identifier: Apache-2.0 | ||
# | ||
# waiver file for top_racl_pkg | ||
|
||
waive -rules {LINE_LENGTH} -location {top_racl_pkg.sv} -regexp {Line length of [0-9]+ exceeds 100 character limit} \ | ||
-comment "top_racl_pkg is auto-generated and expected to exceed line length limit" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 31 additions & 0 deletions
31
hw/top_englishbreakfast/top_englishbreakfast_racl_pkg.core
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
CAPI=2: | ||
# Copyright lowRISC contributors (OpenTitan project). | ||
# Licensed under the Apache License, Version 2.0, see LICENSE for details. | ||
# SPDX-License-Identifier: Apache-2.0 | ||
name: "lowrisc:systems:top_englishbreakfast_racl_pkg:0.1" | ||
description: "Autogenerated top_englishbreakfast_racl_pkg used in RTL and DV." | ||
virtual: | ||
- lowrisc:systems:top_racl_pkg | ||
|
||
filesets: | ||
files_rtl: | ||
depend: | ||
- lowrisc:tlul:headers | ||
files: | ||
- rtl/autogen/top_racl_pkg.sv | ||
file_type: systemVerilogSource | ||
|
||
files_ascentlint_waiver: | ||
depend: | ||
# common waivers | ||
- lowrisc:lint:common | ||
- lowrisc:lint:comportable | ||
files: | ||
- lint/top_racl_pkg.waiver | ||
file_type: waiver | ||
|
||
targets: | ||
default: &default_target | ||
filesets: | ||
- tool_ascentlint ? (files_ascentlint_waiver) | ||
- files_rtl |