-
Notifications
You must be signed in to change notification settings - Fork 20
[hw] Split DV and DD for lowRISC vendored IPs #612
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
martin-velay
wants to merge
3
commits into
lowRISC:main
Choose a base branch
from
martin-velay:split_dd_dv_opentitan
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 1 commit
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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,14 @@ | ||
| // Copyright lowRISC contributors (OpenTitan project). | ||
| // Licensed under the Apache License, Version 2.0, see LICENSE for details. | ||
| // SPDX-License-Identifier: Apache-2.0 | ||
|
|
||
| // This file is generated by the util/vendor script. Please do not modify it | ||
| // manually. | ||
|
|
||
| { | ||
| upstream: | ||
| { | ||
| url: https://github.com/lowRISC/opentitan | ||
| rev: bf4a2b24e41742151cfce9c4041e959a3ba76ca3 | ||
| } | ||
| } |
This file contains hidden or 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,63 @@ | ||
| // Copyright lowRISC contributors. | ||
| // Licensed under the Apache License, Version 2.0, see LICENSE for details. | ||
| // SPDX-License-Identifier: Apache-2.0 | ||
| // | ||
| // DV half of the lowRISC vendoring split. This config shares its target_dir | ||
| // ("lowrisc_ip") with hw/vendor/lowrisc_ip.vendor.hjson (the DD/RTL half): | ||
| // the DD config vendors the RTL under ip/<block> and excludes */dv, while this | ||
| // config vendors only the DV subtrees. The two halves are pinned to | ||
| // independent upstream revisions via their separate lock files. | ||
| // | ||
| // Run order matters: vendor the DD config first, then this DV config. A DD run | ||
| // deletes each ip/<block> directory (including its dv/ subdir) before | ||
| // re-importing, so running the DD vendor after the DV vendor wipes the DV | ||
| // content until this DV vendor is re-run. util/artefacts.py runs both in this | ||
| // order before a single dirty-check. | ||
| { | ||
| name: "lowrisc_ip_dv", | ||
| target_dir: "lowrisc_ip", | ||
| patch_dir: "patches/lowrisc_ip", | ||
|
|
||
| upstream: { | ||
| url: "https://github.com/lowRISC/opentitan" | ||
| // Pinned revision of main branch | ||
| rev: "master" | ||
| } | ||
|
|
||
| mapping: [ | ||
| // Shared DV infrastructure. | ||
| {from: "hw/dv/dpi/gpiodpi", to: "dv/dpi/gpiodpi", patch_dir: "gpiodpi"}, | ||
| {from: "hw/dv/dpi/spidpi", to: "dv/dpi/spidpi"}, | ||
| {from: "hw/dv/dpi/uartdpi", to: "dv/dpi/uartdpi"}, | ||
| {from: "hw/dv/dpi/jtagdpi", to: "dv/dpi/jtagdpi"}, | ||
| {from: "hw/dv/dpi/common/tcp_server", to: "dv/dpi/common/tcp_server"}, | ||
| {from: "hw/dv/sv", to: "dv/sv", patch_dir: "dv_sv"}, | ||
| {from: "hw/dv/verilator", to: "dv/verilator", patch_dir: "dv_verilator"}, | ||
| {from: "hw/dv/tools", to: "dv/tools", patch_dir: "dv_tools"}, | ||
| {from: "hw/formal/tools", to: "formal/tools", patch_dir: "formal_tools"}, | ||
|
|
||
| // Per-IP DV environments. | ||
| {from: "hw/ip/entropy_src/dv", to: "ip/entropy_src/dv", patch_dir: "entropy_src_dv"}, | ||
| {from: "hw/ip/i2c/dv", to: "ip/i2c/dv", patch_dir: "i2c_dv"}, | ||
| {from: "hw/ip/kmac/dv", to: "ip/kmac/dv", patch_dir: "kmac_dv"}, | ||
| {from: "hw/ip/lc_ctrl/dv", to: "ip/lc_ctrl/dv"}, | ||
| {from: "hw/ip/prim/dv", to: "ip/prim/dv", patch_dir: "prim_dv"}, | ||
| {from: "hw/ip/rom_ctrl/dv", to: "ip/rom_ctrl/dv", patch_dir: "rom_ctrl_dv"}, | ||
| {from: "hw/ip/rv_timer/dv", to: "ip/rv_timer/dv", patch_dir: "rv_timer_dv"}, | ||
| {from: "hw/ip/spi_device/dv", to: "ip/spi_device/dv", patch_dir: "spi_device_dv"}, | ||
| {from: "hw/ip/spi_host/dv", to: "ip/spi_host/dv", patch_dir: "spi_host_dv"}, | ||
| {from: "hw/ip/uart/dv", to: "ip/uart/dv", patch_dir: "uart_dv"}, | ||
|
|
||
| // Per-IP-template DV environments. | ||
| {from: "hw/ip_templates/alert_handler/dv", to: "ip_templates/alert_handler/dv"}, | ||
| {from: "hw/ip_templates/clkmgr/dv", to: "ip_templates/clkmgr/dv"}, | ||
| {from: "hw/ip_templates/gpio/dv", to: "ip_templates/gpio/dv", patch_dir: "gpio_dv"}, | ||
| {from: "hw/ip_templates/pwrmgr/dv", to: "ip_templates/pwrmgr/dv", patch_dir: "pwrmgr_dv"}, | ||
| {from: "hw/ip_templates/rstmgr/dv", to: "ip_templates/rstmgr/dv", patch_dir: "rstmgr_dv"}, | ||
| ], | ||
|
|
||
| exclude_from_upstream: [ | ||
| "**/BUILD", | ||
| "hw/dv/tools/vcs", | ||
| ], | ||
| } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.