lowRISC / lowRISC/opentitan

[sw/device] Consider adding base/math.h

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

Description

This is a follow of PR [lowrisc/opentitan#5973]. The sw/device codebase has many instances of ad-hoc rounding and alignment operations. This issue is to track the introduction of a math module providing a canonical implementation of such functions.

Contributor guide

Open the contributing guide

Research direction

Start by reading the follow-up context in PR lowrisc/opentitan#5973 and surveying the ad-hoc rounding and alignment operations in sw/device. Define the scope for base/math.h and the canonical functions it should provide; the work is done when the project has an agreed, implemented math module covering that scope.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
embedded-iot
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.