chipsalliance / chipsalliance/rocket-chip

I wonder why it is so designed.

Open
#1,832 0 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
Scala
Stars
3.9k
Forks
1.3k
Avg merge
5d 13m
Merged PRs (30d)
1

Description

Hi, I have a question (Connection between Rocket and RoCC).

I wonder why Rocket and RoCC are designed to send and receive only UInt type data.
An error occurs in chisel when the signal contains signed data in io.mem.resp/req.bits.data.
I do not know why I should consider this when sending data.

Is there any advice, document or paper on casting operation in this case ?

Contributor guide

Open the contributing guide

Research direction

Start by locating the Rocket–RoCC interface definitions associated with io.mem.resp/req.bits.data and review how Chisel represents UInt and signed signals there. Consult the Chisel casting guidance and the relevant Rocket/RoCC interface context. Done means documenting why UInt is required and how signed data should be cast or handled.

Written by the indexing model from the issue text.

Assessment

Tech stack
scala
Domain
embedded-iot
Issue type
Documentation
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.