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:
parent
ccff48f872
commit
2d2017465e
|
@ -13,7 +13,7 @@ object GenCustomSimdAdd extends App{
|
|||
plugins = List(
|
||||
new SimdAddPlugin,
|
||||
new IBusSimplePlugin(
|
||||
resetVector = 0x00000000l,
|
||||
resetVector = 0x80000000l,
|
||||
cmdForkOnSecondStage = false,
|
||||
cmdForkPersistence = false,
|
||||
prediction = NONE,
|
||||
|
|
|
@ -1,13 +1,11 @@
|
|||
OUTPUT_ARCH( "riscv" )
|
||||
|
||||
MEMORY {
|
||||
onChipRam (W!RX)/*(RX)*/ : ORIGIN = 0x00000000, LENGTH = 8K
|
||||
onChipRam (W!RX)/*(RX)*/ : ORIGIN = 0x80000000, LENGTH = 8K
|
||||
}
|
||||
|
||||
SECTIONS
|
||||
{
|
||||
. = 0x000;
|
||||
|
||||
.crt_section :
|
||||
{
|
||||
. = ALIGN(4);
|
||||
|
|
Loading…
Reference in New Issue