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

[sim/VUnit] support CLI argument for selecting the expected UART responses #66

Merged
merged 1 commit into from
Jun 11, 2021

Conversation

umarcor
Copy link
Collaborator

@umarcor umarcor commented Jun 11, 2021

Close #47

This is the last part of #47. It adds a custom switch to the VUnit run script, which is passed to the testbench as a top-level generic. That argument is used to decide which response to expect from the UARTs. The software program used in CI is different from the default blink example that people will get when running the testbench locally. This modification allows to handle that.

As discussed in #47, this is not the ideal solution for dealing with varying software execution logs. However, it is a nice showcase about how to define a CLI argument, which we can use in Python, and how to set a generic from Python to be used in VHDL.

@stnolting
Copy link
Owner

However, it is a nice showcase about how to define a CLI argument, which we can use in Python, and how to set a generic from Python to be used in VHDL.

Agree. This is really great! 👍

@stnolting stnolting merged commit 8597274 into stnolting:master Jun 11, 2021
@umarcor umarcor deleted the PR1 branch June 11, 2021 12:10
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.

None yet

3 participants