Main Page | Class Hierarchy | Alphabetical List | Compound List | File List | Compound Members | File Members

BTB Class Reference

#include <btb.h>

List of all members.

Public Member Functions

 BTB ()
 BTB (int b, int e, int s)
void show (FILE *f)
 ~BTB ()
void predict (int ip, int slot, bool &find_btb, int &target)
void update (int ip, int slot, int target, int global_cycle)
 BTB ()
 BTB (int b, int e, int s)
void show (FILE *f)
 ~BTB ()
void predict (int ip, int slot, bool &find_btb, int &target)
void update (int ip, int slot, int target, int global_cycle)

Private Attributes

int _b
int _e
int _s
int _num_of_entry
int _num_of_entry_per_set
int _index_mask
int * _tag
int * _slot
int * _target
int * _time
int * _tag
int * _slot
int * _target
int * _time


Constructor & Destructor Documentation

BTB::BTB  )  [inline]
 

Definition at line 31 of file include/btb.h.

References _tag.

BTB::BTB int  b,
int  e,
int  s
[inline]
 

Definition at line 36 of file include/btb.h.

References _b, _e, _index_mask, _num_of_entry, _num_of_entry_per_set, _s, _slot, _tag, _target, _time, and i.

BTB::~BTB  )  [inline]
 

Definition at line 70 of file include/btb.h.

References _slot, _tag, _target, and _time.

BTB::BTB  )  [inline]
 

Definition at line 31 of file src/btb.h.

References _tag.

BTB::BTB int  b,
int  e,
int  s
[inline]
 

Definition at line 36 of file src/btb.h.

References _b, _e, _index_mask, _num_of_entry, _num_of_entry_per_set, _s, _slot, _tag, _target, _time, and i.

BTB::~BTB  )  [inline]
 

Definition at line 70 of file src/btb.h.

References _slot, _tag, _target, and _time.


Member Function Documentation

void BTB::predict int  ip,
int  slot,
bool &  find_btb,
int &  target
 

void BTB::predict int  ip,
int  slot,
bool &  find_btb,
int &  target
 

Definition at line 32 of file btb.cpp.

References _b, _index_mask, _num_of_entry_per_set, _slot, _tag, _target, i, and index().

Referenced by VLIW::process_pipeline().

void BTB::show FILE *  f  )  [inline]
 

Definition at line 59 of file src/btb.h.

References _b, _e, _index_mask, _num_of_entry, _num_of_entry_per_set, _s, and fprintf().

void BTB::show FILE *  f  )  [inline]
 

Definition at line 59 of file include/btb.h.

References _b, _e, _index_mask, _num_of_entry, _num_of_entry_per_set, _s, and fprintf().

void BTB::update int  ip,
int  slot,
int  target,
int  global_cycle
 

void BTB::update int  ip,
int  slot,
int  target,
int  global_cycle
 

Definition at line 80 of file btb.cpp.

References _b, _index_mask, _num_of_entry_per_set, _slot, _tag, _target, _time, i, and index().

Referenced by VLIW::process_pipeline().


Member Data Documentation

int BTB::_b [private]
 

Definition at line 83 of file src/btb.h.

Referenced by BTB(), predict(), show(), and update().

int BTB::_e [private]
 

Definition at line 84 of file src/btb.h.

Referenced by BTB(), and show().

int BTB::_index_mask [private]
 

Definition at line 88 of file src/btb.h.

Referenced by BTB(), predict(), show(), and update().

int BTB::_num_of_entry [private]
 

Definition at line 86 of file src/btb.h.

Referenced by BTB(), and show().

int BTB::_num_of_entry_per_set [private]
 

Definition at line 87 of file src/btb.h.

Referenced by BTB(), predict(), show(), and update().

int BTB::_s [private]
 

Definition at line 85 of file src/btb.h.

Referenced by BTB(), and show().

int* BTB::_slot [private]
 

Definition at line 91 of file src/btb.h.

int* BTB::_slot [private]
 

Definition at line 91 of file include/btb.h.

Referenced by BTB(), predict(), update(), and ~BTB().

int* BTB::_tag [private]
 

Definition at line 90 of file src/btb.h.

int* BTB::_tag [private]
 

Definition at line 90 of file include/btb.h.

Referenced by BTB(), predict(), update(), and ~BTB().

int* BTB::_target [private]
 

Definition at line 92 of file src/btb.h.

int* BTB::_target [private]
 

Definition at line 92 of file include/btb.h.

Referenced by BTB(), predict(), update(), and ~BTB().

int* BTB::_time [private]
 

Definition at line 93 of file src/btb.h.

int* BTB::_time [private]
 

Definition at line 93 of file include/btb.h.

Referenced by BTB(), update(), and ~BTB().


The documentation for this class was generated from the following files:
Generated on Mon Jul 21 20:30:54 2003 for TINKER LEGO DOC by doxygen 1.3.2