gem5  v20.1.0.0
Classes | Macros | Enumerations | Functions
cycle_model.h File Reference
#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)
 

Macro Definition Documentation

◆ INT_SIZE

#define INT_SIZE   2048

Definition at line 41 of file cycle_model.h.

◆ MEM_SIZE

#define MEM_SIZE   65536

Definition at line 40 of file cycle_model.h.

Enumeration Type Documentation

◆ bus_cycle_type

Enumerator
OP_IDLE 
OP_MEM_READ 
OP_MEM_WRITE 

Definition at line 92 of file cycle_model.h.

◆ instr_type

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.

◆ op_type

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.

Function Documentation

◆ SC_MODULE()

SC_MODULE ( cycle_model  )

Generated on Wed Sep 30 2020 14:02:19 for gem5 by doxygen 1.8.17