Merge pull request #405 from sajattack/sifive-triple

add riscv-sifive-elf triple
This commit is contained in:
enjoy-digital 2020-03-02 09:30:05 +01:00 committed by GitHub
commit ddb264f3fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 5 additions and 5 deletions

View File

@ -48,7 +48,7 @@ class BlackParrotRV64(CPU):
name = "blackparrot" name = "blackparrot"
data_width = 64 data_width = 64
endianness = "little" endianness = "little"
gcc_triple = ("riscv64-unknown-elf", "riscv64-linux") gcc_triple = ("riscv64-unknown-elf", "riscv64-linux", "riscv-sifive-elf")
linker_output_format = "elf64-littleriscv" linker_output_format = "elf64-littleriscv"
io_regions = {0x30000000: 0x20000000} # origin, length io_regions = {0x30000000: 0x20000000} # origin, length

View File

@ -18,7 +18,7 @@ class Minerva(CPU):
data_width = 32 data_width = 32
endianness = "little" endianness = "little"
gcc_triple = ("riscv64-unknown-elf", "riscv32-unknown-elf", "riscv-none-embed", gcc_triple = ("riscv64-unknown-elf", "riscv32-unknown-elf", "riscv-none-embed",
"riscv64-linux") "riscv64-linux", "riscv-sifive-elf")
linker_output_format = "elf32-littleriscv" linker_output_format = "elf32-littleriscv"
io_regions = {0x80000000: 0x80000000} # origin, length io_regions = {0x80000000: 0x80000000} # origin, length

View File

@ -35,7 +35,7 @@ class PicoRV32(CPU):
data_width = 32 data_width = 32
endianness = "little" endianness = "little"
gcc_triple = ("riscv64-unknown-elf", "riscv32-unknown-elf", "riscv-none-embed", gcc_triple = ("riscv64-unknown-elf", "riscv32-unknown-elf", "riscv-none-embed",
"riscv64-linux") "riscv64-linux", "riscv-sifive-elf")
linker_output_format = "elf32-littleriscv" linker_output_format = "elf32-littleriscv"
io_regions = {0x80000000: 0x80000000} # origin, length io_regions = {0x80000000: 0x80000000} # origin, length

View File

@ -67,7 +67,7 @@ class RocketRV64(CPU):
name = "rocket" name = "rocket"
data_width = 64 data_width = 64
endianness = "little" endianness = "little"
gcc_triple = ("riscv64-unknown-elf", "riscv64-linux") gcc_triple = ("riscv64-unknown-elf", "riscv64-linux", "riscv-sifive-elf")
linker_output_format = "elf64-littleriscv" linker_output_format = "elf64-littleriscv"
io_regions = {0x10000000: 0x70000000} # origin, length io_regions = {0x10000000: 0x70000000} # origin, length

View File

@ -79,7 +79,7 @@ class VexRiscv(CPU, AutoCSR):
data_width = 32 data_width = 32
endianness = "little" endianness = "little"
gcc_triple = ("riscv64-unknown-elf", "riscv32-unknown-elf", "riscv-none-embed", gcc_triple = ("riscv64-unknown-elf", "riscv32-unknown-elf", "riscv-none-embed",
"riscv64-linux") "riscv64-linux", "riscv-sifive-elf")
linker_output_format = "elf32-littleriscv" linker_output_format = "elf32-littleriscv"
io_regions = {0x80000000: 0x80000000} # origin, length io_regions = {0x80000000: 0x80000000} # origin, length