rust-embedded / rust-embedded/svd2rust

HDL to SVD?

Open
#739 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
857
Forks
164
PR merge metrics
No merged PRs in 30d

Description

I'm interested in creating a PAC crate for a chip that only seems to have RTL files available (https://github.com/T-head-Semi/openc910).

Is there any way to convert these files to SVD, and then use svd2rust to generate the PAC crate?

I know they are different purpose-built levels of abstraction, just hoping to not have to wait for the vendor to release SVD files.

Apologies if this is a noobish question that is obvious to others in this community.

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 reviewing the linked openc910 RTL files and the svd2rust project entry points. Determine whether the RTL contains enough register-description information for an SVD conversion, and document whether a reliable conversion path can be supported without vendor SVD files.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
embedded-iot
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.