Add Callback to Restore Terminal in bdpi/uart_sim_device.c
When Interrupted by $finish
#12
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When bluespec sim simulation starts, the terminal is configured to have like a TTY device by disabling terminal attributes such as echo. Calling
$finish
in Bluespec prematurely(sometimes useful when debugging) results in the terminal being left in a difficult to use state. To correct this, I need to investigate if I can register a callback that runs before bluespec sim process gets reaped.