initial commit
This commit is contained in:
724
contrib/TGC_C_cycles.json
Normal file
724
contrib/TGC_C_cycles.json
Normal file
@ -0,0 +1,724 @@
|
||||
{
|
||||
"TGC_C" : [
|
||||
{
|
||||
"name" : "LUI",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000000000000000000000000110111",
|
||||
"mask": "0b00000000000000000000000001111111",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "AUIPC",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000000000000000000000000010111",
|
||||
"mask": "0b00000000000000000000000001111111",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "JAL",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000000000000000000000001101111",
|
||||
"mask": "0b00000000000000000000000001111111",
|
||||
"branch": true,
|
||||
"delay" : 2
|
||||
},
|
||||
{
|
||||
"name" : "JALR",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000000000000000000000001100111",
|
||||
"mask": "0b00000000000000000111000001111111",
|
||||
"branch": true,
|
||||
"delay" : 2
|
||||
},
|
||||
{
|
||||
"name" : "BEQ",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000000000000000000000001100011",
|
||||
"mask": "0b00000000000000000111000001111111",
|
||||
"branch": true,
|
||||
"delay" : [2,1]
|
||||
},
|
||||
{
|
||||
"name" : "BNE",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000000000000000001000001100011",
|
||||
"mask": "0b00000000000000000111000001111111",
|
||||
"branch": true,
|
||||
"delay" : [2,1]
|
||||
},
|
||||
{
|
||||
"name" : "BLT",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000000000000000100000001100011",
|
||||
"mask": "0b00000000000000000111000001111111",
|
||||
"branch": true,
|
||||
"delay" : [2,1]
|
||||
},
|
||||
{
|
||||
"name" : "BGE",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000000000000000101000001100011",
|
||||
"mask": "0b00000000000000000111000001111111",
|
||||
"branch": true,
|
||||
"delay" : [2,1]
|
||||
},
|
||||
{
|
||||
"name" : "BLTU",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000000000000000110000001100011",
|
||||
"mask": "0b00000000000000000111000001111111",
|
||||
"branch": true,
|
||||
"delay" : [2,1]
|
||||
},
|
||||
{
|
||||
"name" : "BGEU",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000000000000000111000001100011",
|
||||
"mask": "0b00000000000000000111000001111111",
|
||||
"branch": true,
|
||||
"delay" : [2,1]
|
||||
},
|
||||
{
|
||||
"name" : "LB",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000000000000000000000000000011",
|
||||
"mask": "0b00000000000000000111000001111111",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "LH",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000000000000000001000000000011",
|
||||
"mask": "0b00000000000000000111000001111111",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "LW",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000000000000000010000000000011",
|
||||
"mask": "0b00000000000000000111000001111111",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "LBU",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000000000000000100000000000011",
|
||||
"mask": "0b00000000000000000111000001111111",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "LHU",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000000000000000101000000000011",
|
||||
"mask": "0b00000000000000000111000001111111",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "SB",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000000000000000000000000100011",
|
||||
"mask": "0b00000000000000000111000001111111",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "SH",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000000000000000001000000100011",
|
||||
"mask": "0b00000000000000000111000001111111",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "SW",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000000000000000010000000100011",
|
||||
"mask": "0b00000000000000000111000001111111",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "ADDI",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000000000000000000000000010011",
|
||||
"mask": "0b00000000000000000111000001111111",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "SLTI",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000000000000000010000000010011",
|
||||
"mask": "0b00000000000000000111000001111111",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "SLTIU",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000000000000000011000000010011",
|
||||
"mask": "0b00000000000000000111000001111111",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "XORI",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000000000000000100000000010011",
|
||||
"mask": "0b00000000000000000111000001111111",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "ORI",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000000000000000110000000010011",
|
||||
"mask": "0b00000000000000000111000001111111",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "ANDI",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000000000000000111000000010011",
|
||||
"mask": "0b00000000000000000111000001111111",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "SLLI",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000000000000000001000000010011",
|
||||
"mask": "0b11111110000000000111000001111111",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "SRLI",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000000000000000101000000010011",
|
||||
"mask": "0b11111110000000000111000001111111",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "SRAI",
|
||||
"size" : 32,
|
||||
"encoding": "0b01000000000000000101000000010011",
|
||||
"mask": "0b11111110000000000111000001111111",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "ADD",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000000000000000000000000110011",
|
||||
"mask": "0b11111110000000000111000001111111",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "SUB",
|
||||
"size" : 32,
|
||||
"encoding": "0b01000000000000000000000000110011",
|
||||
"mask": "0b11111110000000000111000001111111",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "SLL",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000000000000000001000000110011",
|
||||
"mask": "0b11111110000000000111000001111111",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "SLT",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000000000000000010000000110011",
|
||||
"mask": "0b11111110000000000111000001111111",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "SLTU",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000000000000000011000000110011",
|
||||
"mask": "0b11111110000000000111000001111111",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "XOR",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000000000000000100000000110011",
|
||||
"mask": "0b11111110000000000111000001111111",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "SRL",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000000000000000101000000110011",
|
||||
"mask": "0b11111110000000000111000001111111",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "SRA",
|
||||
"size" : 32,
|
||||
"encoding": "0b01000000000000000101000000110011",
|
||||
"mask": "0b11111110000000000111000001111111",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "OR",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000000000000000110000000110011",
|
||||
"mask": "0b11111110000000000111000001111111",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "AND",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000000000000000111000000110011",
|
||||
"mask": "0b11111110000000000111000001111111",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "FENCE",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000000000000000000000000001111",
|
||||
"mask": "0b00000000000000000111000001111111",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "ECALL",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000000000000000000000001110011",
|
||||
"mask": "0b11111111111111111111111111111111",
|
||||
"branch": true,
|
||||
"delay" : 2
|
||||
},
|
||||
{
|
||||
"name" : "EBREAK",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000000000100000000000001110011",
|
||||
"mask": "0b11111111111111111111111111111111",
|
||||
"branch": true,
|
||||
"delay" : 2
|
||||
},
|
||||
{
|
||||
"name" : "URET",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000000001000000000000001110011",
|
||||
"mask": "0b11111111111111111111111111111111",
|
||||
"branch": true,
|
||||
"delay" : 2
|
||||
},
|
||||
{
|
||||
"name" : "SRET",
|
||||
"size" : 32,
|
||||
"encoding": "0b00010000001000000000000001110011",
|
||||
"mask": "0b11111111111111111111111111111111",
|
||||
"branch": true,
|
||||
"delay" : 2
|
||||
},
|
||||
{
|
||||
"name" : "MRET",
|
||||
"size" : 32,
|
||||
"encoding": "0b00110000001000000000000001110011",
|
||||
"mask": "0b11111111111111111111111111111111",
|
||||
"branch": true,
|
||||
"delay" : 2
|
||||
},
|
||||
{
|
||||
"name" : "WFI",
|
||||
"size" : 32,
|
||||
"encoding": "0b00010000010100000000000001110011",
|
||||
"mask": "0b11111111111111111111111111111111",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "DRET",
|
||||
"size" : 32,
|
||||
"encoding": "0b01111011001000000000000001110011",
|
||||
"mask": "0b11111111111111111111111111111111",
|
||||
"branch": true,
|
||||
"delay" : 2
|
||||
},
|
||||
{
|
||||
"name" : "CSRRW",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000000000000000001000001110011",
|
||||
"mask": "0b00000000000000000111000001111111",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "CSRRS",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000000000000000010000001110011",
|
||||
"mask": "0b00000000000000000111000001111111",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "CSRRC",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000000000000000011000001110011",
|
||||
"mask": "0b00000000000000000111000001111111",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "CSRRWI",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000000000000000101000001110011",
|
||||
"mask": "0b00000000000000000111000001111111",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "CSRRSI",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000000000000000110000001110011",
|
||||
"mask": "0b00000000000000000111000001111111",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "CSRRCI",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000000000000000111000001110011",
|
||||
"mask": "0b00000000000000000111000001111111",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "FENCE_I",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000000000000000001000000001111",
|
||||
"mask": "0b00000000000000000111000001111111",
|
||||
"branch": false,
|
||||
"delay" : 2
|
||||
},
|
||||
{
|
||||
"name" : "MUL",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000010000000000000000000110011",
|
||||
"mask": "0b11111110000000000111000001111111",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "MULH",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000010000000000001000000110011",
|
||||
"mask": "0b11111110000000000111000001111111",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "MULHSU",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000010000000000010000000110011",
|
||||
"mask": "0b11111110000000000111000001111111",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "MULHU",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000010000000000011000000110011",
|
||||
"mask": "0b11111110000000000111000001111111",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "DIV",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000010000000000100000000110011",
|
||||
"mask": "0b11111110000000000111000001111111",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "DIVU",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000010000000000101000000110011",
|
||||
"mask": "0b11111110000000000111000001111111",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "REM",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000010000000000110000000110011",
|
||||
"mask": "0b11111110000000000111000001111111",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "REMU",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000010000000000111000000110011",
|
||||
"mask": "0b11111110000000000111000001111111",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "CADDI4SPN",
|
||||
"size" : 16,
|
||||
"encoding": "0b0000000000000000",
|
||||
"mask": "0b1110000000000011",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "CLW",
|
||||
"size" : 16,
|
||||
"encoding": "0b0100000000000000",
|
||||
"mask": "0b1110000000000011",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "CSW",
|
||||
"size" : 16,
|
||||
"encoding": "0b1100000000000000",
|
||||
"mask": "0b1110000000000011",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "CADDI",
|
||||
"size" : 16,
|
||||
"encoding": "0b0000000000000001",
|
||||
"mask": "0b1110000000000011",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "CNOP",
|
||||
"size" : 16,
|
||||
"encoding": "0b0000000000000001",
|
||||
"mask": "0b1110111110000011",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "CJAL",
|
||||
"size" : 16,
|
||||
"encoding": "0b0010000000000001",
|
||||
"mask": "0b1110000000000011",
|
||||
"branch": true,
|
||||
"delay" : 2
|
||||
},
|
||||
{
|
||||
"name" : "CLI",
|
||||
"size" : 16,
|
||||
"encoding": "0b0100000000000001",
|
||||
"mask": "0b1110000000000011",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "CLUI",
|
||||
"size" : 16,
|
||||
"encoding": "0b0110000000000001",
|
||||
"mask": "0b1110000000000011",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "CADDI16SP",
|
||||
"size" : 16,
|
||||
"encoding": "0b0110000100000001",
|
||||
"mask": "0b1110111110000011",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "__reserved_clui",
|
||||
"size" : 16,
|
||||
"encoding": "0b0110000000000001",
|
||||
"mask": "0b1111000001111111",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "CSRLI",
|
||||
"size" : 16,
|
||||
"encoding": "0b1000000000000001",
|
||||
"mask": "0b1111110000000011",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "CSRAI",
|
||||
"size" : 16,
|
||||
"encoding": "0b1000010000000001",
|
||||
"mask": "0b1111110000000011",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "CANDI",
|
||||
"size" : 16,
|
||||
"encoding": "0b1000100000000001",
|
||||
"mask": "0b1110110000000011",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "CSUB",
|
||||
"size" : 16,
|
||||
"encoding": "0b1000110000000001",
|
||||
"mask": "0b1111110001100011",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "CXOR",
|
||||
"size" : 16,
|
||||
"encoding": "0b1000110000100001",
|
||||
"mask": "0b1111110001100011",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "COR",
|
||||
"size" : 16,
|
||||
"encoding": "0b1000110001000001",
|
||||
"mask": "0b1111110001100011",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "CAND",
|
||||
"size" : 16,
|
||||
"encoding": "0b1000110001100001",
|
||||
"mask": "0b1111110001100011",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "CJ",
|
||||
"size" : 16,
|
||||
"encoding": "0b1010000000000001",
|
||||
"mask": "0b1110000000000011",
|
||||
"branch": true,
|
||||
"delay" : 2
|
||||
},
|
||||
{
|
||||
"name" : "CBEQZ",
|
||||
"size" : 16,
|
||||
"encoding": "0b1100000000000001",
|
||||
"mask": "0b1110000000000011",
|
||||
"branch": true,
|
||||
"delay" : [2,1]
|
||||
},
|
||||
{
|
||||
"name" : "CBNEZ",
|
||||
"size" : 16,
|
||||
"encoding": "0b1110000000000001",
|
||||
"mask": "0b1110000000000011",
|
||||
"branch": true,
|
||||
"delay" : [2,1]
|
||||
},
|
||||
{
|
||||
"name" : "CSLLI",
|
||||
"size" : 16,
|
||||
"encoding": "0b0000000000000010",
|
||||
"mask": "0b1111000000000011",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "CLWSP",
|
||||
"size" : 16,
|
||||
"encoding": "0b0100000000000010",
|
||||
"mask": "0b1110000000000011",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "CMV",
|
||||
"size" : 16,
|
||||
"encoding": "0b1000000000000010",
|
||||
"mask": "0b1111000000000011",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "CJR",
|
||||
"size" : 16,
|
||||
"encoding": "0b1000000000000010",
|
||||
"mask": "0b1111000001111111",
|
||||
"branch": true,
|
||||
"delay" : 2
|
||||
},
|
||||
{
|
||||
"name" : "__reserved_cmv",
|
||||
"size" : 16,
|
||||
"encoding": "0b1000000000000010",
|
||||
"mask": "0b1111111111111111",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "CADD",
|
||||
"size" : 16,
|
||||
"encoding": "0b1001000000000010",
|
||||
"mask": "0b1111000000000011",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "CJALR",
|
||||
"size" : 16,
|
||||
"encoding": "0b1001000000000010",
|
||||
"mask": "0b1111000001111111",
|
||||
"branch": true,
|
||||
"delay" : 2
|
||||
},
|
||||
{
|
||||
"name" : "CEBREAK",
|
||||
"size" : 16,
|
||||
"encoding": "0b1001000000000010",
|
||||
"mask": "0b1111111111111111",
|
||||
"branch": true,
|
||||
"delay" : 2
|
||||
},
|
||||
{
|
||||
"name" : "CSWSP",
|
||||
"size" : 16,
|
||||
"encoding": "0b1100000000000010",
|
||||
"mask": "0b1110000000000011",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "DII",
|
||||
"size" : 16,
|
||||
"encoding": "0b0000000000000000",
|
||||
"mask": "0b1111111111111111",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
}
|
||||
]
|
||||
}
|
13
contrib/eclipse_launch/FW-Debug.launch
Normal file
13
contrib/eclipse_launch/FW-Debug.launch
Normal file
@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<launchConfiguration type="org.eclipse.debug.core.groups.GroupLaunchConfigurationType">
|
||||
<stringAttribute key="org.eclipse.debug.core.launchGroup.0.action" value="NONE"/>
|
||||
<booleanAttribute key="org.eclipse.debug.core.launchGroup.0.adoptIfRunning" value="false"/>
|
||||
<booleanAttribute key="org.eclipse.debug.core.launchGroup.0.enabled" value="true"/>
|
||||
<stringAttribute key="org.eclipse.debug.core.launchGroup.0.mode" value="run"/>
|
||||
<stringAttribute key="org.eclipse.debug.core.launchGroup.0.name" value="TGC-VP-GDBServer"/>
|
||||
<stringAttribute key="org.eclipse.debug.core.launchGroup.1.action" value="NONE"/>
|
||||
<booleanAttribute key="org.eclipse.debug.core.launchGroup.1.adoptIfRunning" value="false"/>
|
||||
<booleanAttribute key="org.eclipse.debug.core.launchGroup.1.enabled" value="true"/>
|
||||
<stringAttribute key="org.eclipse.debug.core.launchGroup.1.mode" value="debug"/>
|
||||
<stringAttribute key="org.eclipse.debug.core.launchGroup.1.name" value="TGC-VP-FW-Debug"/>
|
||||
</launchConfiguration>
|
51
contrib/eclipse_launch/TGC-VP-FW-Debug.launch
Normal file
51
contrib/eclipse_launch/TGC-VP-FW-Debug.launch
Normal file
@ -0,0 +1,51 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<launchConfiguration type="org.eclipse.cdt.launch.remoteApplicationLaunchType">
|
||||
<booleanAttribute key="org.eclipse.cdt.dsf.gdb.AUTO_SOLIB" value="true"/>
|
||||
<listAttribute key="org.eclipse.cdt.dsf.gdb.AUTO_SOLIB_LIST"/>
|
||||
<stringAttribute key="org.eclipse.cdt.dsf.gdb.DEBUG_NAME" value="/usr/local/bin/riscv32-unknown-elf-gdb"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.dsf.gdb.DEBUG_ON_FORK" value="false"/>
|
||||
<stringAttribute key="org.eclipse.cdt.dsf.gdb.DEV" value="/dev/ttyS0"/>
|
||||
<stringAttribute key="org.eclipse.cdt.dsf.gdb.DEV_SPEED" value="115200"/>
|
||||
<stringAttribute key="org.eclipse.cdt.dsf.gdb.GDB_INIT" value=".gdbinit"/>
|
||||
<stringAttribute key="org.eclipse.cdt.dsf.gdb.HOST" value="localhost"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.dsf.gdb.NON_STOP" value="false"/>
|
||||
<stringAttribute key="org.eclipse.cdt.dsf.gdb.PORT" value="10000"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.dsf.gdb.REMOTE_TCP" value="true"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.dsf.gdb.REMOTE_TIMEOUT_ENABLED" value="false"/>
|
||||
<stringAttribute key="org.eclipse.cdt.dsf.gdb.REMOTE_TIMEOUT_VALUE" value=""/>
|
||||
<booleanAttribute key="org.eclipse.cdt.dsf.gdb.REVERSE" value="false"/>
|
||||
<stringAttribute key="org.eclipse.cdt.dsf.gdb.REVERSE_MODE" value="UseSoftTrace"/>
|
||||
<listAttribute key="org.eclipse.cdt.dsf.gdb.SOLIB_PATH"/>
|
||||
<stringAttribute key="org.eclipse.cdt.dsf.gdb.TRACEPOINT_MODE" value="TP_NORMAL_ONLY"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.dsf.gdb.UPDATE_THREADLIST_ON_SUSPEND" value="false"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.dsf.gdb.internal.ui.launching.RemoteApplicationCDebuggerTab.DEFAULTS_SET" value="true"/>
|
||||
<intAttribute key="org.eclipse.cdt.launch.ATTR_BUILD_BEFORE_LAUNCH_ATTR" value="2"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.COREFILE_PATH" value=""/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.DEBUGGER_ID" value="gdbserver"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.DEBUGGER_START_MODE" value="remote"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.launch.DEBUGGER_STOP_AT_MAIN" value="true"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.DEBUGGER_STOP_AT_MAIN_SYMBOL" value="main"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.PROGRAM_NAME" value="fw/hello-world/hello"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.PROJECT_ATTR" value="TGC-VP"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.launch.PROJECT_BUILD_CONFIG_AUTO_ATTR" value="true"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.PROJECT_BUILD_CONFIG_ID_ATTR" value=""/>
|
||||
<booleanAttribute key="org.eclipse.cdt.launch.remote.RemoteCDSFDebuggerTab.DEFAULTS_SET" value="true"/>
|
||||
<stringAttribute key="org.eclipse.debug.core.ATTR_GDBSERVER_COMMAND" value="gdbserver"/>
|
||||
<stringAttribute key="org.eclipse.debug.core.ATTR_GDBSERVER_OPTIONS" value=""/>
|
||||
<stringAttribute key="org.eclipse.debug.core.ATTR_GDBSERVER_PORT" value="2345"/>
|
||||
<stringAttribute key="org.eclipse.debug.core.ATTR_PRERUN_CMDS" value=""/>
|
||||
<booleanAttribute key="org.eclipse.debug.core.ATTR_SKIP_DOWNLOAD_TO_TARGET" value="false"/>
|
||||
<stringAttribute key="org.eclipse.debug.core.ATTR_TARGET_PATH" value=""/>
|
||||
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
|
||||
<listEntry value="/TGC-VP"/>
|
||||
</listAttribute>
|
||||
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
|
||||
<listEntry value="4"/>
|
||||
</listAttribute>
|
||||
<stringAttribute key="org.eclipse.debug.core.REMOTE_TCP" value="Local"/>
|
||||
<mapAttribute key="org.eclipse.debug.core.preferred_launchers">
|
||||
<mapEntry key="[debug]" value="org.eclipse.cdt.dsf.gdb.launch.remoteCLaunch"/>
|
||||
</mapAttribute>
|
||||
<stringAttribute key="org.eclipse.dsf.launch.MEMORY_BLOCKS" value="<?xml version="1.0" encoding="UTF-8" standalone="no"?><memoryBlockExpressionList context="reserved-for-future-use"/>"/>
|
||||
<stringAttribute key="process_factory_id" value="org.eclipse.cdt.dsf.gdb.GdbProcessFactory"/>
|
||||
</launchConfiguration>
|
34
contrib/eclipse_launch/TGC-VP-GDBServer.launch
Normal file
34
contrib/eclipse_launch/TGC-VP-GDBServer.launch
Normal file
@ -0,0 +1,34 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<launchConfiguration type="org.eclipse.cdt.launch.applicationLaunchType">
|
||||
<booleanAttribute key="org.eclipse.cdt.dsf.gdb.AUTO_SOLIB" value="true"/>
|
||||
<listAttribute key="org.eclipse.cdt.dsf.gdb.AUTO_SOLIB_LIST"/>
|
||||
<stringAttribute key="org.eclipse.cdt.dsf.gdb.DEBUG_NAME" value="gdb"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.dsf.gdb.DEBUG_ON_FORK" value="false"/>
|
||||
<stringAttribute key="org.eclipse.cdt.dsf.gdb.GDB_INIT" value=".gdbinit"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.dsf.gdb.NON_STOP" value="false"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.dsf.gdb.REVERSE" value="false"/>
|
||||
<stringAttribute key="org.eclipse.cdt.dsf.gdb.REVERSE_MODE" value="UseSoftTrace"/>
|
||||
<listAttribute key="org.eclipse.cdt.dsf.gdb.SOLIB_PATH"/>
|
||||
<stringAttribute key="org.eclipse.cdt.dsf.gdb.TRACEPOINT_MODE" value="TP_NORMAL_ONLY"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.dsf.gdb.UPDATE_THREADLIST_ON_SUSPEND" value="false"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.dsf.gdb.internal.ui.launching.LocalApplicationCDebuggerTab.DEFAULTS_SET" value="true"/>
|
||||
<intAttribute key="org.eclipse.cdt.launch.ATTR_BUILD_BEFORE_LAUNCH_ATTR" value="2"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.COREFILE_PATH" value=""/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.DEBUGGER_ID" value="gdb"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.DEBUGGER_START_MODE" value="run"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.launch.DEBUGGER_STOP_AT_MAIN" value="true"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.DEBUGGER_STOP_AT_MAIN_SYMBOL" value="main"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.PROGRAM_ARGUMENTS" value="-f fw/hello-world/hello -g 10000"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.PROGRAM_NAME" value="build/Debug/src/tgc-vp"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.PROJECT_ATTR" value="TGC-VP"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.launch.PROJECT_BUILD_CONFIG_AUTO_ATTR" value="true"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.PROJECT_BUILD_CONFIG_ID_ATTR" value="cdt.managedbuild.toolchain.gnu.base.1730410661"/>
|
||||
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
|
||||
<listEntry value="/TGC-VP"/>
|
||||
</listAttribute>
|
||||
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
|
||||
<listEntry value="4"/>
|
||||
</listAttribute>
|
||||
<stringAttribute key="org.eclipse.dsf.launch.MEMORY_BLOCKS" value="<?xml version="1.0" encoding="UTF-8" standalone="no"?><memoryBlockExpressionList context="reserved-for-future-use"/>"/>
|
||||
<stringAttribute key="process_factory_id" value="org.eclipse.cdt.dsf.gdb.GdbProcessFactory"/>
|
||||
</launchConfiguration>
|
34
contrib/eclipse_launch/TGC-VP.launch
Normal file
34
contrib/eclipse_launch/TGC-VP.launch
Normal file
@ -0,0 +1,34 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<launchConfiguration type="org.eclipse.cdt.launch.applicationLaunchType">
|
||||
<booleanAttribute key="org.eclipse.cdt.dsf.gdb.AUTO_SOLIB" value="true"/>
|
||||
<listAttribute key="org.eclipse.cdt.dsf.gdb.AUTO_SOLIB_LIST"/>
|
||||
<stringAttribute key="org.eclipse.cdt.dsf.gdb.DEBUG_NAME" value="gdb"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.dsf.gdb.DEBUG_ON_FORK" value="false"/>
|
||||
<stringAttribute key="org.eclipse.cdt.dsf.gdb.GDB_INIT" value=".gdbinit"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.dsf.gdb.NON_STOP" value="false"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.dsf.gdb.REVERSE" value="false"/>
|
||||
<stringAttribute key="org.eclipse.cdt.dsf.gdb.REVERSE_MODE" value="UseSoftTrace"/>
|
||||
<listAttribute key="org.eclipse.cdt.dsf.gdb.SOLIB_PATH"/>
|
||||
<stringAttribute key="org.eclipse.cdt.dsf.gdb.TRACEPOINT_MODE" value="TP_NORMAL_ONLY"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.dsf.gdb.UPDATE_THREADLIST_ON_SUSPEND" value="false"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.dsf.gdb.internal.ui.launching.LocalApplicationCDebuggerTab.DEFAULTS_SET" value="true"/>
|
||||
<intAttribute key="org.eclipse.cdt.launch.ATTR_BUILD_BEFORE_LAUNCH_ATTR" value="2"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.COREFILE_PATH" value=""/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.DEBUGGER_ID" value="gdb"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.DEBUGGER_START_MODE" value="run"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.launch.DEBUGGER_STOP_AT_MAIN" value="true"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.DEBUGGER_STOP_AT_MAIN_SYMBOL" value="main"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.PROGRAM_ARGUMENTS" value="-f fw/hello-world/hello -p pctrace=contrib/TGC_C_cycles.json"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.PROGRAM_NAME" value="build/Debug/src/tgc-vp"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.PROJECT_ATTR" value="TGC-VP"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.launch.PROJECT_BUILD_CONFIG_AUTO_ATTR" value="true"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.PROJECT_BUILD_CONFIG_ID_ATTR" value="cdt.managedbuild.toolchain.gnu.base.1730410661"/>
|
||||
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
|
||||
<listEntry value="/TGC-VP"/>
|
||||
</listAttribute>
|
||||
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
|
||||
<listEntry value="4"/>
|
||||
</listAttribute>
|
||||
<stringAttribute key="org.eclipse.dsf.launch.MEMORY_BLOCKS" value="<?xml version="1.0" encoding="UTF-8" standalone="no"?><memoryBlockExpressionList context="reserved-for-future-use"/>"/>
|
||||
<stringAttribute key="process_factory_id" value="org.eclipse.cdt.dsf.gdb.GdbProcessFactory"/>
|
||||
</launchConfiguration>
|
Reference in New Issue
Block a user