Skip to content

Pass error info in AXI slave read/write #105

@Koren-Brand

Description

@Koren-Brand

In axi_slave.py both _process_read() and _process_write() there's exception handling when accessing target's write / read. However, in the case of an exception the only information transmitted to the user is "Read/Write operation failed" via log.warning.
Is adding the error message to the logging possible to ease debugging?
I.e., change the appropriate lines (_process_read lines 312-313, _process_write lines 187-188) to the following:
except Exception as e: self.log.warning(f'Read operation failed: {e}')

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions