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

AHBToTL: add a register to retain hrdata during an error response #2512

Merged
merged 1 commit into from
Jun 13, 2020

Conversation

terpstra
Copy link
Contributor

It has been deemed desirable to output the data value of a read response
which fails, hopefully reducing confusion for people looking at waveforms.

The AHB spec does not require this and vendor VIP does not test for this.

Therefore, two changes were made to confirm this additional requirement is met:

  • The AHBToTL block has an assertion that hrdata is steady during an error response
  • The scoreboard fuzzer now checks that corrupt read data matches what was written

I have confirmed that both assertions fire when the hrdata register is removed.

Type of change: other enhancement
Impact: no functional change
Development Phase: implementation

It has been deemed desirable to output the data value of a read response
which fails, hopefully reducing confusion for people looking at waveforms.

The AHB spec does not require this and vendor VIP does not test for this.

Therefore, two changes were made to confirm this additional requirement is met:
- The AHBToTL block has an assertion that hrdata is steady during an error response
- The scoreboard fuzzer now checks that corrupt read data matches what was written

I have confirmed that both assertions fire when the hrdata register is removed.
@terpstra terpstra requested a review from jchang0 June 10, 2020 18:15
Copy link

@daveparry daveparry left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change looks fine to me, but the Title on the Commit and PR is a bit confusing. I realize that this is for read response data being passed from TL to AHB, but since the change is to the AHB2TL bridge, should the title be "ABHToTL: ..." rather than TLToAHB:..."?

@terpstra terpstra changed the title TLToAHB: add a register to retain hrdata during an error response AHBToTL: add a register to retain hrdata during an error response Jun 10, 2020
@terpstra
Copy link
Contributor Author

You are correct. Fixed.

@terpstra terpstra merged commit 206c310 into master Jun 13, 2020
@terpstra terpstra deleted the hold-ahb-data-on-error branch June 13, 2020 00:30
mwachs5 pushed a commit that referenced this pull request Jun 24, 2020
)

It has been deemed desirable to output the data value of a read response
which fails, hopefully reducing confusion for people looking at waveforms.

The AHB spec does not require this and vendor VIP does not test for this.

Therefore, two changes were made to confirm this additional requirement is met:
- The AHBToTL block has an assertion that hrdata is steady during an error response
- The scoreboard fuzzer now checks that corrupt read data matches what was written

I have confirmed that both assertions fire when the hrdata register is removed.
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.

2 participants