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

Allow Logic for BinaryValue.__eq__() in cocotb 1.8 #3845

Open
wimiko opened this issue Apr 16, 2024 · 0 comments
Open

Allow Logic for BinaryValue.__eq__() in cocotb 1.8 #3845

wimiko opened this issue Apr 16, 2024 · 0 comments
Assignees
Labels
type:feature new or enhanced functionality
Milestone

Comments

@wimiko
Copy link
Contributor

wimiko commented Apr 16, 2024

As BinaryValue is deprecated and will be removed in 2.0, but is is still the return type for handler.value

It would be practical to allow

dut.mysignal == Logic('X')

in cocotb 1.8 so we can already stop using BinaryValue and avoid more porting work when 2.0 arrives

@ktbarrett ktbarrett added the type:feature new or enhanced functionality label Apr 16, 2024
@ktbarrett ktbarrett added this to the 1.9 milestone Apr 16, 2024
@ktbarrett ktbarrett self-assigned this May 3, 2024
@ktbarrett ktbarrett mentioned this issue May 3, 2024
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:feature new or enhanced functionality
Projects
None yet
Development

No branches or pull requests

2 participants