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

AttributeError: 'XGMII' object has no attribute 'name' #14

Open
LeChuck42 opened this issue May 28, 2020 · 0 comments
Open

AttributeError: 'XGMII' object has no attribute 'name' #14

LeChuck42 opened this issue May 28, 2020 · 0 comments

Comments

@LeChuck42
Copy link

When using the XGMII Monitor with the scoreboard, check_received_transaction() tries to access the name attribute for logging. However, the Monitor class is not guaranteed to have this attribute:

https://github.com/cocotb/cocotb/blob/924f35a3b7d39543118b7bfaed77dd4808e6612b/cocotb/scoreboard.py#L222

It should either be added to the Monitor class, or a hasattr check needs to be implemented in the scoreboard.

@ktbarrett ktbarrett transferred this issue from cocotb/cocotb Jan 30, 2021
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

1 participant