lowRISC / lowRISC/opentitan

[ralgen] enable parameterization/templatization of register specifications

Open
#6,530 0 comments 0 reactions 0 assignees View on GitHub
Component:Tooling Earlgrey-PROD Triaged Type:Enhancement
Dominant language
SystemVerilog
Stars
3.6k
Forks
1.1k
Avg merge
2d 22h
Merged PRs (30d)
141

Description

It would be nice in the `.hjson` to be able to parameterize the number of items in a memory, etc...

SRAM testbench verifies 2 different sizes of memories, and not having a good way of creating a auto-generating a variable size RAL memory creates a lot of extra overhead for supporting this RAL model in the testbench.

Contributor guide

Open the contributing guide

Research direction

Start by locating ralgen and the register-specification .hjson files, then compare the SRAM testbench's two memory sizes. Done means a parameterized specification can generate RAL memories for both sizes without duplicating the model.

Written by the indexing model from the issue text.

Assessment

Domain
embedded-iot, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.