Menu

#14 Invalid address for instruction

v1.0_(example)
open
nobody
None
1
2026-03-02
2021-03-15
Anonymous
No

trying to simulation a custom ASIC with embedded MIPS processsor.
.text 0xBFC00000 results in errors. Claims invalid address for instruction. Is there a way to configure the simulator to accept this? configurable address space.

Discussion

  • James Larus

    James Larus - 2021-03-16

    If you want to put the text segment somewhere besides 0, then you will need to recompile spim/qtspim. The base and size of the segments is defined in CPU/mem.h. I believe you can change them and recompile and it should work, but I can't say that I remember testing arbitrary configurations. Please be careful not to overlap them however.

     
  • Anonymous

    Anonymous - 2021-03-16
    Post awaiting moderation.
  • Anonymous

    Anonymous - 2026-03-02
    Post awaiting moderation.

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB