gem5
v20.1.0.0
|
#include "common.h"
Go to the source code of this file.
Classes | |
struct | operand |
struct | instr |
struct | stack_el |
Macros | |
#define | MEM_SIZE 65536 |
#define | INT_SIZE 2048 |
Enumerations | |
enum | op_type { o_null, o_acc, o_reg, o_dir, o_ind, o_ext, o_rel, o_cst, o_lcst, o_add, o_ladd } |
enum | instr_type { i_add, i_sub, i_inc, i_dec, i_mul, i_div, i_and, i_or, i_xor, i_clr, i_cpl, i_rl, i_rr, i_mov, i_call, i_ret, i_jmp, i_sjmp, i_jz, i_jnz, i_cjne, i_djnz, i_nop } |
enum | bus_cycle_type { OP_IDLE, OP_MEM_READ, OP_MEM_WRITE } |
Functions | |
SC_MODULE (cycle_model) | |
#define INT_SIZE 2048 |
Definition at line 41 of file cycle_model.h.
#define MEM_SIZE 65536 |
Definition at line 40 of file cycle_model.h.
enum bus_cycle_type |
Enumerator | |
---|---|
OP_IDLE | |
OP_MEM_READ | |
OP_MEM_WRITE |
Definition at line 92 of file cycle_model.h.
enum instr_type |
Enumerator | |
---|---|
i_add | |
i_sub | |
i_inc | |
i_dec | |
i_mul | |
i_div | |
i_and | |
i_or | |
i_xor | |
i_clr | |
i_cpl | |
i_rl | |
i_rr | |
i_mov | |
i_call | |
i_ret | |
i_jmp | |
i_sjmp | |
i_jz | |
i_jnz | |
i_cjne | |
i_djnz | |
i_nop |
Definition at line 60 of file cycle_model.h.
enum op_type |
Enumerator | |
---|---|
o_null | |
o_acc | |
o_reg | |
o_dir | |
o_ind | |
o_ext | |
o_rel | |
o_cst | |
o_lcst | |
o_add | |
o_ladd |
Definition at line 44 of file cycle_model.h.
SC_MODULE | ( | cycle_model | ) |
Definition at line 136 of file cycle_model.h.
References addr, data, ArmISA::i, Stats::init, INT_SIZE, MEM_SIZE, name(), X86ISA::op, ArmISA::opcode, X86ISA::R, SC_HAS_PROCESS, and SC_THREAD.