lowRISC / lowRISC/opentitan

[sw,util] Find strategy for target selection in mapfile to json script

Open
#27,866 2 comments 0 reactions 2 assignees View on GitHub

@cfrantz is already working on this.

Since Aug 11, 2025.

SW:opentitantool
Dominant language
SystemVerilog
Stars
3.6k
Forks
1.1k
Avg merge
2d 22h
Merged PRs (30d)
141

Description

### Description

We have a script that can be used to generate a json/html representation of a map file [mapfile_to_json.py](https://github.com/lowRISC/opentitan/blob/master/util/py/scripts/mapfile_to_json.py). As an input a bazel target can be selected so the bazel build command will be invoked automatically by the script.

The issue:
Certain bazel targets can generate multiple map files depending on the number of exec_envs. We need to figure out how to select the right map file as pointed out [here](https://github.com/lowRISC/opentitan/pull/27723#discussion_r2237064066).

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.