[WIP] started to add TinyCC backend

This commit is contained in:
2020-01-09 19:37:17 +01:00
parent 8b9775e06b
commit 116ed9bb5c
20 changed files with 6104 additions and 48 deletions

View File

@ -6,6 +6,18 @@ import "RVC.core_desc"
import "RVF.core_desc"
import "RVD.core_desc"
Core MNRV32 provides RV32I/*, RV32IC */ {
constants {
XLEN:=32;
PCLEN:=32;
// definitions for the architecture wrapper
// XL ZYXWVUTSRQPONMLKJIHGFEDCBA
MISA_VAL:=0b01000000000101000001000100000101;
PGSIZE := 0x1000; //1 << 12;
PGMASK := 0xfff; //PGSIZE-1
}
}
Core RV32IMAC provides RV32I, RV32M, RV32A, RV32IC {
constants {
XLEN:=32;