Merge pull request #243 from andreasWallner/fix_gen_simd_add_resetvector

Fix reset vector of GenCustomSimdAdd
This commit is contained in:
Dolu1990 2022-04-04 10:16:50 +02:00 committed by GitHub
commit e6c21996a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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);