chipsalliance / chipsalliance/rocket-chip

Dcache Signals

Open
#1,737 3 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 am trying to understand the Dcache.scala code. i am new to chisel.
I am trying to figure out the signals generated for a cache miss in Dcache.
What I understand is that s2 is the request from the core which is 2 clock cycles prior and s1 is the request 1 cycle prior.
I was wondering at a given time, which signal is generated for a cache miss, is it s2_valid_cache_miss?
Which request should I focus in case of the current request?
Any suggestion will be appreciated!
Thanks!
Nilufar

Contributor guide

Open the contributing guide

Research direction

Start by reading Dcache.scala and trace the s1 and s2 request signals, including s2_valid_cache_miss. Compare their timing with the issue's description of requests from the core. Done means documenting which signal represents the current cache-miss request and how the related signals should be interpreted.

Written by the indexing model from the issue text.

Assessment

Tech stack
scala
Domain
embedded-iot
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.