lowRISC / lowRISC/lowrisc-chip

Find a cool way that the system id is the git commit hash

Open
#13 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
SystemVerilog
Stars
601
Forks
147
PR merge metrics
No merged PRs in 30d

Description

It would be awesome to have the system id which is provided by the SCM be the first bytes of the current git commit hash. I think we can do something with either the Makefiles or tcl-pre for synthesis.

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

Start by inspecting the repository's Makefiles and the tcl-pre synthesis entry point to find where the SCM-provided system id is assigned. Trace how synthesis consumes that value and determine the expected format for using the first bytes of the current git commit hash. Done means the generated system id consistently reflects the commit hash.

Written by the indexing model from the issue text.

Assessment

Tech stack
git
Domain
build-system
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.