Skip to content

Post-increment load/store in trace parser script #112

@sermazz

Description

@sermazz

Posting here as a to-do.
The trace parser script implicitly assumes that all load and store instructions do not use post-increment addressing.
https://github.com/pulp-platform/mempool/blob/main/hardware/scripts/gen_trace.py#L189-L199
extras['alu_result'] is always printed as accessed address, but Reg[rs1] is the actually accessed address when post-increment is used.
To fix:

  • also trace i_snitch.is_postincr in the tracer in mempool_cc
  • enhance the lines above of the tracer script to change the printed memory address of post-increment instructions

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions