adds generation if IMEM space
This commit is contained in:
parent
9841b16122
commit
119d4a8b43
@ -109,7 +109,7 @@ template <> struct traits<${coreDef.name.toLowerCase()}> {
|
||||
|
||||
enum sreg_flag_e { FLAGS };
|
||||
|
||||
enum mem_type_e { ${spaces.collect{it.name}.join(', ')} };
|
||||
enum mem_type_e { ${spaces.collect{it.name}.join(', ')}, IMEM = MEM };
|
||||
|
||||
enum class opcode_e {<%instructions.eachWithIndex{instr, index -> %>
|
||||
${instr.instruction.name} = ${index},<%}%>
|
||||
|
@ -81,7 +81,7 @@ template <> struct traits<tgc5c> {
|
||||
|
||||
enum sreg_flag_e { FLAGS };
|
||||
|
||||
enum mem_type_e { MEM, FENCE, RES, CSR };
|
||||
enum mem_type_e { MEM, FENCE, RES, CSR, IMEM = MEM };
|
||||
|
||||
enum class opcode_e {
|
||||
LUI = 0,
|
||||
|
Loading…
Reference in New Issue
Block a user