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

Define tests for the interfaces #9

Open
Paebbels opened this issue Jul 4, 2020 · 0 comments
Open

Define tests for the interfaces #9

Paebbels opened this issue Jul 4, 2020 · 0 comments

Comments

@Paebbels
Copy link
Member

Paebbels commented Jul 4, 2020

As requested by @LarsAsplund, we should also provide tests with these interfaces.

So let us discuss what we need and how we do it. Here is an initial proposal for discussion from my side.

Goals

  • Check if packages analyze.
    • Check for syntax errors.
    • Check for type and constraint errors.
  • Check if packages elaborate.
    • Use a package and it's types and views.
    • Use interfaces in port maps.

Out of scope

  • Check if bits driven on one side travel through the interface properly from A to B.

Testbench Minimum Requirements

  • Test harness made of top-level entity + architecture
  • Two component for each side of the interface

Testbench Execution Environment

  • Testbench description files
  • Should run in CI, when a tool supports this on GitHub Actions or Travis.

Optional

  • Tests based on VUnit

/cc @LarsAsplund, @eine, @JimLewis

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant