Skip to content

[sw,dv] Fix SPI device SyncReqAckDataHoldSrc2Dst assertion failure#568

Closed
raylau1 wants to merge 1 commit into
lowRISC:mainfrom
raylau1:fix_spi_device_dv
Closed

[sw,dv] Fix SPI device SyncReqAckDataHoldSrc2Dst assertion failure#568
raylau1 wants to merge 1 commit into
lowRISC:mainfrom
raylau1:fix_spi_device_dv

Conversation

@raylau1
Copy link
Copy Markdown
Contributor

@raylau1 raylau1 commented May 20, 2026

This PR fixes the SyncReqAckDataHoldSrc2Dst assertion error in UVM.

The address mode pending mask in the SPI device driver is corrected and the smoke test is updated to not change the address mode multiple times.

Closes #145

This fixes the address mode pending mask, and ensures the smoke
test does not change the address mode multiple times without waiting
for the pending bit to clear.

This commit also adds blocking and non-blocking variants of function
to set the address mode.

The spi_device_init function uses the non-blocking variant to
prevent spi_device_init from blocking forever in environments where
there is no active SPI clock to clear the pending bit.
@raylau1
Copy link
Copy Markdown
Contributor Author

raylau1 commented May 20, 2026

Closing this PR as the fix is in PR #387

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

Successfully merging this pull request may close these issues.

SPI Device DV - Top-level basic register access

1 participant