Fix reset vector of GenCustomSimdAdd

With the old reset vector half of the tests fail since
they expect the CPU to start at 0x80000000.
(e.g. I-IO, I-NOP, I-LUI, etc.)
This commit is contained in:
Andreas Wallner 2022-04-02 18:22:10 +02:00
parent ccff48f872
commit 2d2017465e
2 changed files with 2 additions and 4 deletions

View File

@ -13,7 +13,7 @@ object GenCustomSimdAdd extends App{
plugins = List( plugins = List(
new SimdAddPlugin, new SimdAddPlugin,
new IBusSimplePlugin( new IBusSimplePlugin(
resetVector = 0x00000000l, resetVector = 0x80000000l,
cmdForkOnSecondStage = false, cmdForkOnSecondStage = false,
cmdForkPersistence = false, cmdForkPersistence = false,
prediction = NONE, prediction = NONE,

View File

@ -1,13 +1,11 @@
OUTPUT_ARCH( "riscv" ) OUTPUT_ARCH( "riscv" )
MEMORY { MEMORY {
onChipRam (W!RX)/*(RX)*/ : ORIGIN = 0x00000000, LENGTH = 8K onChipRam (W!RX)/*(RX)*/ : ORIGIN = 0x80000000, LENGTH = 8K
} }
SECTIONS SECTIONS
{ {
. = 0x000;
.crt_section : .crt_section :
{ {
. = ALIGN(4); . = ALIGN(4);