-
Notifications
You must be signed in to change notification settings - Fork 792
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[top,lint] Add special cores for lint, sim for earlgrey
These cores collect the relevant cross-referenced virtual core implementations into the dependency list, so lint is run on the earlgrey-specific configuration for ipgen'd and reggen_top cores. Also fix up the references in the lint configs. Also add top_englishbreakfast to lint targets for englishbreakfast's hjson file. Signed-off-by: Alexander Williams <[email protected]>
- Loading branch information
Showing
23 changed files
with
231 additions
and
37 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
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
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
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
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,33 @@ | ||
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:dv:top_earlgrey_ast_top:0.1" | ||
description: "Pseudo top-level for Earl Grey's ast" | ||
filesets: | ||
files_rtl: | ||
depend: | ||
- lowrisc:opentitan:top_earlgrey_alert_handler_pkg | ||
- lowrisc:opentitan:top_earlgrey_clkmgr_pkg | ||
- lowrisc:opentitan:top_earlgrey_pwrmgr_pkg | ||
- lowrisc:opentitan:top_earlgrey_rstmgr_pkg | ||
- lowrisc:opentitan:top_earlgrey_ast | ||
|
||
parameters: | ||
SYNTHESIS: | ||
datatype: bool | ||
paramtype: vlogdefine | ||
|
||
targets: | ||
lint: | ||
toplevel: ast | ||
filesets: | ||
- files_rtl | ||
default_tool: verilator | ||
parameters: | ||
- SYNTHESIS=true | ||
tools: | ||
verilator: | ||
mode: lint-only | ||
verilator_options: | ||
- "-Wall" default: &default_target |
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,40 @@ | ||
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:opentitan:top_earlgrey_clkmgr_sim_top:0.1" | ||
description: "Pseudo top-level for Earl Grey's clkmgr" | ||
filesets: | ||
files_rtl: | ||
depend: | ||
- lowrisc:opentitan:top_earlgrey_pwrmgr_pkg | ||
- lowrisc:opentitan:top_earlgrey_clkmgr | ||
files_dv: | ||
depend: | ||
- lowrisc:opentitan:top_earlgrey_clkmgr_sim | ||
|
||
parameters: | ||
SYNTHESIS: | ||
datatype: bool | ||
paramtype: vlogdefine | ||
|
||
targets: | ||
lint: | ||
toplevel: clkmgr | ||
filesets: | ||
- files_rtl | ||
default_tool: verilator | ||
parameters: | ||
- SYNTHESIS=true | ||
tools: | ||
verilator: | ||
mode: lint-only | ||
verilator_options: | ||
- "-Wall" default: &default_target | ||
|
||
sim: | ||
toplevel: tb | ||
filesets: | ||
- files_rtl | ||
- files_dv | ||
default_tool: vcs |
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,40 @@ | ||
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:opentitan:top_earlgrey_flash_ctrl_sim_top:0.1" | ||
description: "Pseudo top-level for Earl Grey's flash_ctrl" | ||
filesets: | ||
files_rtl: | ||
depend: | ||
- lowrisc:opentitan:top_earlgrey_pwrmgr_pkg | ||
- lowrisc:opentitan:top_earlgrey_flash_ctrl | ||
files_dv: | ||
depend: | ||
- lowrisc:opentitan:top_earlgrey_flash_ctrl_sim | ||
|
||
parameters: | ||
SYNTHESIS: | ||
datatype: bool | ||
paramtype: vlogdefine | ||
|
||
targets: | ||
lint: | ||
toplevel: flash_ctrl | ||
filesets: | ||
- files_rtl | ||
default_tool: verilator | ||
parameters: | ||
- SYNTHESIS=true | ||
tools: | ||
verilator: | ||
mode: lint-only | ||
verilator_options: | ||
- "-Wall" default: &default_target | ||
|
||
sim: | ||
toplevel: tb | ||
filesets: | ||
- files_rtl | ||
- files_dv | ||
default_tool: vcs |
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,41 @@ | ||
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:opentitan:top_earlgrey_pwrmgr_sim_top:0.1" | ||
description: "Pseudo top-level for Earl Grey's pwrmgr" | ||
filesets: | ||
files_rtl: | ||
depend: | ||
- lowrisc:opentitan:top_earlgrey_alert_handler_pkg | ||
- lowrisc:opentitan:top_earlgrey_pwrmgr | ||
files_dv: | ||
depend: | ||
- lowrisc:opentitan:top_earlgrey_pwrmgr_sim | ||
- lowrisc:opentitan:clkmgr_pwrmgr_sva_if | ||
|
||
parameters: | ||
SYNTHESIS: | ||
datatype: bool | ||
paramtype: vlogdefine | ||
|
||
targets: | ||
lint: | ||
toplevel: pwrmgr | ||
filesets: | ||
- files_rtl | ||
default_tool: verilator | ||
parameters: | ||
- SYNTHESIS=true | ||
tools: | ||
verilator: | ||
mode: lint-only | ||
verilator_options: | ||
- "-Wall" default: &default_target | ||
|
||
sim: | ||
toplevel: tb | ||
filesets: | ||
- files_rtl | ||
- files_dv | ||
default_tool: vcs |
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,41 @@ | ||
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:opentitan:top_earlgrey_rstmgr_sim_top:0.1" | ||
description: "Pseudo top-level for Earl Grey's rstmgr" | ||
filesets: | ||
files_rtl: | ||
depend: | ||
- lowrisc:opentitan:top_earlgrey_pwrmgr_pkg | ||
- lowrisc:opentitan:top_earlgrey_rstmgr | ||
files_dv: | ||
depend: | ||
- lowrisc:opentitan:top_earlgrey_pwrmgr_rstmgr_sva_if | ||
- lowrisc:opentitan:top_earlgrey_rstmgr_sim | ||
|
||
parameters: | ||
SYNTHESIS: | ||
datatype: bool | ||
paramtype: vlogdefine | ||
|
||
targets: | ||
lint: | ||
toplevel: rstmgr | ||
filesets: | ||
- files_rtl | ||
default_tool: verilator | ||
parameters: | ||
- SYNTHESIS=true | ||
tools: | ||
verilator: | ||
mode: lint-only | ||
verilator_options: | ||
- "-Wall" default: &default_target | ||
|
||
sim: | ||
toplevel: tb | ||
filesets: | ||
- files_rtl | ||
- files_dv | ||
default_tool: vcs |
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
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
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
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
Oops, something went wrong.