DBT-RISE-TGC/gen_input/TGFS.core_desc

38 lines
1.2 KiB
Plaintext
Raw Permalink Normal View History

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
2021-05-13 15:38:33 +02:00
Core TGC_B provides RV32I {
2021-02-15 12:35:56 +01:00
architectural_state {
unsigned XLEN=32;
unsigned PCLEN=32;
2020-08-20 17:29:36 +02:00
// definitions for the architecture wrapper
2021-03-01 22:07:20 +01:00
// XL ZYXWVUTSRQPONMLKJIHGFEDCBA
unsigned MISA_VAL = 0b01000000000000000000000100000000;
unsigned PGSIZE = 0x1000; //1 << 12;
unsigned PGMASK = 0xfff; //PGSIZE-1
2020-08-20 17:29:36 +02:00
}
}
2021-05-13 15:38:33 +02:00
Core TGC_C provides RV32I, RV32M, RV32IC {
2021-02-15 12:35:56 +01:00
architectural_state {
unsigned XLEN=32;
unsigned PCLEN=32;
2020-08-20 17:29:36 +02:00
// definitions for the architecture wrapper
2021-03-01 22:07:20 +01:00
// XL ZYXWVUTSRQPONMLKJIHGFEDCBA
unsigned MISA_VAL = 0b01000000000000000001000100000100;
unsigned PGSIZE = 0x1000; //1 << 12;
unsigned PGMASK = 0xfff; //PGSIZE-1
2020-08-20 17:29:36 +02:00
}
2021-02-06 15:47:06 +01:00
}
2021-05-13 15:38:33 +02:00
Core TGC_D provides RV32I, RV32M, RV32IC {
architectural_state {
unsigned XLEN=32;
unsigned PCLEN=32;
// definitions for the architecture wrapper
// XL ZYXWVUTSRQPONMLKJIHGFEDCBA
unsigned MISA_VAL = 0b01000000000000000001000100000100;
}
}