Changing the Spike Model Simulator Environment for My Own CPU (3. Changing the Spike Configuration)

When I updated the Spike simulator for my own CPU for the first time in quite a while, a lot of functions had changed and I was thoroughly confused.

Last time, the model simulator hung partway through, but after cleaning everything once and starting over, it now seems to be running properly.

I made the LiteX and Spike settings configurable and got it running in LiteX mode for now.

It fails right away, but it does appear to be reading the correct ELF, so I guess that clears the first stage.

==========================================
Wrong INSN: RTL = 0b00006f, ISS = 00000297
            RTL = j       pc + 0xb0
            ISS = auipc   t0, 0x0
==========================================
===============================
SIMULATION FINISH : FAIL (CODE=100)
RUNNING TIME : 6191
===============================

The RTL looks like the correct one. Something in the ISS configuration must be wrong.

0000000000000000 <_ftext>:
       0:       0b00006f                j       b0 <crt_init>
       4:       00000013                nop
       8:       00000013                nop
       c:       00000013                nop
      10:       00000013                nop
      14:       00000013                nop
      18:       00000013                nop
      1c:       00000013                nop

0000000000000020 <trap_entry>:
      20:       fe113c23                sd      ra,-8(sp)
      24:       fe513823                sd      t0,-16(sp)
      28:       fe613423                sd      t1,-24(sp)
      2c:       fe713023                sd      t2,-32(sp)
      30:       fca13c23                sd      a0,-40(sp)

This is an English translation of the original Japanese post: 自作CPUのSpikeモデルシミュレータ環境の変更 (3. Spikeの設定変更)