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(
|
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,
|
||||||
|
|
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue