2020-08-24 15:01:54 +02:00
|
|
|
import "CoreDSL-Instruction-Set-Description/RV32I.core_desc"
|
|
|
|
import "CoreDSL-Instruction-Set-Description/RVM.core_desc"
|
|
|
|
import "CoreDSL-Instruction-Set-Description/RVC.core_desc"
|
2020-08-20 17:29:36 +02:00
|
|
|
|
2020-09-11 10:45:44 +02:00
|
|
|
Core TGF_B provides RV32I {
|
2020-08-20 17:29:36 +02:00
|
|
|
constants {
|
|
|
|
XLEN:=32;
|
|
|
|
PCLEN:=32;
|
|
|
|
// definitions for the architecture wrapper
|
|
|
|
// XL ZYXWVUTSRQPONMLKJIHGFEDCBA
|
|
|
|
MISA_VAL:=0b01000000000000000000000100000000;
|
2020-08-24 15:01:54 +02:00
|
|
|
PGSIZE := 0x1000; //1 << 12;
|
|
|
|
PGMASK := 0xfff; //PGSIZE-1
|
2020-08-20 17:29:36 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-09-11 10:45:44 +02:00
|
|
|
Core TGF_C provides RV32I, RV32M, RV32IC {
|
2020-08-20 17:29:36 +02:00
|
|
|
constants {
|
|
|
|
XLEN:=32;
|
|
|
|
PCLEN:=32;
|
|
|
|
MUL_LEN:=64;
|
|
|
|
// definitions for the architecture wrapper
|
|
|
|
// XL ZYXWVUTSRQPONMLKJIHGFEDCBA
|
|
|
|
MISA_VAL:=0b01000000000000000001000100000100;
|
2020-08-24 15:01:54 +02:00
|
|
|
PGSIZE := 0x1000; //1 << 12;
|
|
|
|
PGMASK := 0xfff; //PGSIZE-1
|
2020-08-20 17:29:36 +02:00
|
|
|
}
|
|
|
|
}
|