https://docs.openhwgroup.org/projects/cv32e40x-user-manual/en/latest/debug.html#interface refers to non-existing _debug_mode_o_ signal. Replace by debug_halted_o