17 lines
558 B
Plaintext
17 lines
558 B
Plaintext
|
import "CoreDSL-Instruction-Set-Description/RV32I.core_desc"
|
||
|
import "CoreDSL-Instruction-Set-Description/RVM.core_desc"
|
||
|
import "CoreDSL-Instruction-Set-Description/RVC.core_desc"
|
||
|
|
||
|
Core TGC_B provides RV32I {
|
||
|
architectural_state {
|
||
|
unsigned XLEN=32;
|
||
|
unsigned PCLEN=32;
|
||
|
// definitions for the architecture wrapper
|
||
|
// XL ZYXWVUTSRQPONMLKJIHGFEDCBA
|
||
|
unsigned MISA_VAL = 0b01000000000000000000000100000000;
|
||
|
unsigned PGSIZE = 0x1000; //1 << 12;
|
||
|
unsigned PGMASK = 0xfff; //PGSIZE-1
|
||
|
}
|
||
|
}
|
||
|
|