sets reset start time to 0

This commit is contained in:
2023-05-02 11:21:42 +02:00
parent f9e8e1d857
commit b493745cd7
2 changed files with 2 additions and 1 deletions

View File

@@ -500,6 +500,7 @@ void core_complex::local_irq_cb() {
void core_complex::run() {
wait(SC_ZERO_TIME); // separate from elaboration phase
do {
wait(SC_ZERO_TIME);
if (rst_i.read()) {
cpu->reset(GET_PROP_VALUE(reset_address));
wait(rst_i.negedge_event());