Throw an exception if the user tries to render a trace without stepping the simulation#472
Conversation
…ng the simulation
|
Seems a
The two error messages are basically the same thing just described differently, so there is no logic error in the code. There are multiple ways to solve this problem, the simplest is just to copy the error message from |
|
Thank you for improving this!
This is why I'm generally not a fan of tests that check error messages :) These tests are too sensitive, and often fail when the code's behavior is still correct. I'd be okay with just removing the Please also run In particular, try not to rely on GitHub's pull request actions to run tests for you, because opening a pull request triggers notifications for people watching the repository, which creates unnecessary noise. |

When the user tries to render a trace without stepping the simulation, PyRTL gives this weird error:
test.py:Output after this PR:
I was working on pyrtlnet and it took me around 10 minutes to figure out why I'm getting this error so I decided to open this little PR 😅