I have a project with multiple structural entities that each have sub-entities like the picture below.
Now I am trying to plan for the testing phase. I have checked UVVM, OSVVM, and VUnit and I found that VUnit is the easiest and fastest way to start.
I have read the documentation and played a little bit with the provided examples and I started to write some tests for some sub-entities like A1, A2, ..., etc.
My question is how to use VUnit for testing at a system level and how should I structure my testbench?
- Shall I write tests for all sub-entities and then for the structural entities, and then for the whole system?
- Shall I write tests for the structural entities as transactions?
- Shall I write tests for all sub-entities each in a separate architecture file and run them in sequence in the test suite in top-level testbench?
- Any other suggestions?