Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Timing constraints for RFMab #44

Open
hritwik567 opened this issue Aug 3, 2024 · 4 comments
Open

Timing constraints for RFMab #44

hritwik567 opened this issue Aug 3, 2024 · 4 comments

Comments

@hritwik567
Copy link

Hi, I am trying to understand the timing constraints for the RFM command. I was hoping to get some help.

Based on my understanding, this code does not check for timing constraints for RFMab, but it blocks ALL the banks if the RAA Counter of even ONE of the banks is greater than RAAMMT.

Question: Is my understanding of the code correct?

@lsteiner-tukl
Copy link
Contributor

Yes, your understanding is correct. The standard says that if RAAMMT is reached, no additional ACT commands are allowed. In order to ensure that the refresh management command can be issued as early as possible, we block all bank machines. The timing constraints are checked in the respective timing checker, not the refresh manager.

@hritwik567
Copy link
Author

hritwik567 commented Aug 5, 2024

What happens if one bank's RAA counter is equal to RAAMMT and the timing constraints of RFMab are not satisfied yet?

Will the Refresh manager block all the banks and wait for timing constraints to be satisfied?
Or will it allow other banks to receive ACTs and when the timing constraint is met, issue an RFMab?

I'm trying to understand what the standard means exactly. If RAAMMT is reached, are ACTs not allowed to that particular bank or all the banks?

I would assume ACTs are blocked to only a particular bank and the refresh manager can choose a policy for issuing RFMab. The 2 possible policies being

  1. block all the banks and wait for timing constraints
  2. block a particular bank, wait for timing constraints to be met and then launch RFMab

@lsteiner-tukl
Copy link
Contributor

It will block all banks and wait for timing constraints to be satisfied, yes. If you would allow ACT commands to be issued to other banks, the RFMab would be delayed because it can only be issued if all banks are precharged just like a REFab command. So your second policy does not make much sense.

@hritwik567
Copy link
Author

Understood.

I was just trying to figure out if the ACTs can be launched to other banks.

Thank you very much.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants