Testbench checking with a mock simulator?
See original GitHub issueOne of the main differences between cocotb and traditional verification setups is that the cocotb testbench may have a runtime error that only shows up after simulating to this point, which may be hours or days later. I remember (but cannot find again) a recent discussion about cocotb vs. SV and this was the major disadvantage for some people.
I wonder if we could find some of these problems early. One thing that came to mind is having some kind of a mock simulator that “immediately” returns from a Timer
yield, immediately triggers a trigger, …
This would not cover all code paths, but may still be useful. Or is there a way to statically check the code for (some of) the potential problems?
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Randomising Test Vectors & Self Checking Testbenches
In this screencast we explore the concept of self checking testbenches as a more feasible test solution for large designs than exhaustive ...
Read more >Lab 3: Simulation and Testing - EECS Instructional
In this lab, you will learn how to simulate your modules and test them in software before pushing them to the board. In...
Read more >UVM Test [uvm_test] - ChipVerify
Learn what is a UVM test (uvm_test) class, how to create a test scenario, different phases in uvm_test, and how to start a...
Read more >Unit Testing Your Way to a Reliable Testbench
The Verification Academy will provide you with a unique opportunity to develop an understanding of how to mature your organization's processes so that...
Read more >Virtual Test Bench for Function Tests - dSPACE
The PC-based simulation of engine effects is accurate enough to test ECU functions in a realistic context. If more complex models have to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Note that to enable users to get the most out of the
mypy
linter, cocotb would have to opt in and provide the necessary annotations. Probably something that would be much easier after a python 3 transition.Superseded by other PRs.