Skip to content

Overlap instructions generation for risc-isa-sim #1184

@AliAlaa88

Description

@AliAlaa88

Is your feature request related to a problem? Please describe.
RISC-V instructions from different extensions can have identical encodings. Manually tracking these overlaps for simulators is error-prone and doesn't scale.

Describe the solution you'd like
An automated generator that detects overlapping instruction encodings and produces DECLARE_OVERLAP_INSN declarations for simulators like Spike.

Describe alternatives you've considered
Manual maintenance or runtime detection, but both have significant drawbacks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestgeneratorsRelated to backend/generator

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions