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

Add support for true PHY toggling via software #17

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

ricted98
Copy link

The current implementation can be configured via the control registers to logically ignore one of the phys. However, commands are issued on both phys and responses are expected.

This PR goal is to properly disable a phy via software using the already defined control registers.

'h8: cfg_d.phys_in_use = (NumPhys==1) ? 0 : ( (~wmask & cfg_q.phys_in_use ) | (wmask & reg_req_i.wdata) );
'h9: cfg_d.which_phy = (NumPhys==1) ? 0 : ( (~wmask & cfg_q.which_phy ) | (wmask & reg_req_i.wdata) );

The need for such a modification stems from the ongoing debugging of the latest Hyperram FMC Board, where only one phy appears to be responsive.

@ricted98 ricted98 added the enhancement New feature or request label Jul 13, 2024
@ricted98 ricted98 self-assigned this Jul 13, 2024
@ricted98 ricted98 marked this pull request as ready for review September 16, 2024 10:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant