Skip to content

Define tests for the interfaces #9

Description

@Paebbels

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

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions