-
Notifications
You must be signed in to change notification settings - Fork 698
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
24 changed files
with
733 additions
and
574 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
cv32a65x: | ||
gates: 142603 | ||
gates: 178869 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
/*======================================================================*/ | ||
/* Proxy kernel linker script */ | ||
/*======================================================================*/ | ||
/* This is the linker script used when building the proxy kernel. */ | ||
|
||
/*----------------------------------------------------------------------*/ | ||
/* Setup */ | ||
/*----------------------------------------------------------------------*/ | ||
|
||
/* The OUTPUT_ARCH command specifies the machine architecture where the | ||
argument is one of the names used in the BFD library. More | ||
specifically one of the entires in bfd/cpu-mips.c */ | ||
|
||
OUTPUT_ARCH( "riscv" ) | ||
ENTRY(_start) | ||
|
||
/*----------------------------------------------------------------------*/ | ||
/* Sections */ | ||
/*----------------------------------------------------------------------*/ | ||
|
||
SECTIONS | ||
{ | ||
|
||
/* text: test code section */ | ||
. = 0x80000000; | ||
_start_text = .; | ||
.text.init : { *(.text.init) } | ||
|
||
. = ALIGN(0x1000); | ||
.tohost : { *(.tohost) } | ||
|
||
. = ALIGN(0x1000); | ||
.uvmif : { *(.uvmif) } | ||
|
||
. = ALIGN(0x1000); | ||
.text : { *(.text) } | ||
. = ALIGN(0x1000); | ||
.text.startup : { *(.text.startup) } | ||
. = ALIGN(0x1000); | ||
_end_text = .; | ||
. = ALIGN(0x1000); | ||
.rodata : { *(.rodata*)} | ||
. = ALIGN(0x8); | ||
. = ALIGN(0x1000); | ||
.page_table : { *(.page_table) } | ||
.user_stack : { *(.user_stack) } | ||
.kernel_data : { *(.kernel_data) } | ||
.kernel_stack : { *(.kernel_stack) } | ||
|
||
/* data segment */ | ||
.data : { *(.data) } | ||
|
||
.sdata : { | ||
__global_pointer$ = . + 0x800; | ||
*(.srodata.cst16) *(.srodata.cst8) *(.srodata.cst4) *(.srodata.cst2) *(.srodata*) | ||
*(.sdata .sdata.* .gnu.linkonce.s.*) | ||
} | ||
|
||
/* bss segment */ | ||
.sbss : { | ||
*(.sbss .sbss.* .gnu.linkonce.sb.*) | ||
*(.scommon) | ||
} | ||
.bss : { *(.bss) } | ||
|
||
/* thread-local data segment */ | ||
.tdata : | ||
{ | ||
_tdata_begin = .; | ||
*(.tdata) | ||
_tdata_end = .; | ||
} | ||
.tbss : | ||
{ | ||
*(.tbss) | ||
_tbss_end = .; | ||
} | ||
|
||
/* End of uninitalized data segement */ | ||
_end = .; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
spike_param_tree: | ||
bootrom: true | ||
bootrom_base: 65536 | ||
bootrom_size: 4096 | ||
dram: true | ||
dram_base: 2147483648 | ||
dram_size: 1073741824 | ||
generic_core_config: false | ||
max_steps: 200000 | ||
max_steps_enabled: false | ||
isa: rv32imczicsr_zcb_zba_zbb_zbc_zbs | ||
priv: M | ||
core_configs: | ||
- | ||
isa: rv32imczicsr_zcb_zba_zbb_zbc_zbs | ||
extensions: cv32a60x,cvxif | ||
boot_addr: 2147483648 | ||
marchid_override_mask: 0xFFFFFFFF | ||
marchid_override_value: 0x3 | ||
misa_write_mask: 0x0 | ||
pmp_granularity: 8 | ||
pmpaddr0: 0 | ||
pmpcfg0: 0 | ||
pmpregions_max: 64 | ||
pmpregions_writable: 8 | ||
priv: M | ||
status_fs_field_we: false | ||
status_fs_field_we_enable: false | ||
status_vs_field_we: false | ||
status_vs_field_we_enable: false | ||
mstatus_write_mask: 136 | ||
mstatus_override_mask: 6144 | ||
mie_write_mask: 0x00000880 | ||
mie_override_mask: 0xfffff77f | ||
mie_override_value: 0x00000000 | ||
mip_write_mask: 0x00000000 | ||
mip_override_mask: 0xfffff77f | ||
mip_override_value: 0x00000000 | ||
mtval_write_mask: 0 | ||
tinfo_accessible: 0 | ||
mscontext_accessible: 0 | ||
mcontext_accessible: 0 | ||
tdata1_accessible: 0 | ||
tdata2_accessible: 0 | ||
tdata3_accessible: 0 | ||
tselect_accessible: 0 | ||
mhartid: 0 | ||
mvendorid_override_mask : 0xFFFFFFFF | ||
mvendorid_override_value: 1538 | ||
csr_counters_injection: true | ||
interrupts_injection: true | ||
unified_traps: true | ||
mcycleh_implemented: false | ||
mhpmevent31_implemented: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.