rohd
rohd copied to clipboard
WaveDumper outputs empty file when test() {expect()} fails
Describe the bug
I am using the test() { expect () } construct and when the expect throws an exception the resulting wave.vcd is empty. Would be nice to have the waveform without me modifying the test during debug.
To Reproduce
No response
Expected behavior
No response
Actual behavior
No response
Additional: Dart SDK info
No response
Additional: pubspec.yaml
Additional: Context
No response
Probably related: https://github.com/intel/rohd-vf/issues/61
I think this might be tricky to fix while still using expect infrastructure as-is because I think it basically just kills the test execution, which prevents some graceful shutdowns like ending the simulation and finishing dumping the waveform contents to a file. It would be good to come up with a solution for this that requires minimal change/effort for the user.