Closed KevlarKanou closed 2 months ago
Would you please provide any actions for example which should be performed in the exit handler?
Would you please provide any actions for example which should be performed in the exit handler?
eg: exporting logs when manually stopping an endless simulation
void nvboard_manual_exit_handler() {
std::fwrite(..., fp);
std::fclose(fp);
}
I think this does not belong to the responsibility of NVBoard. Therefore we are not going to provide this API. You can use atexit()
instead, or modify code directly.
nvboard_manual_exit_handler() is used to perform certain actions in the testbench when the simulation is manually terminated.