C:/Users/Eduardp/Documents/mips1-v0.7.6/mips1-isa.cpp File Reference

The ArchC MIPS-I functional model. More...

#include "mips1-isa.H"
#include "ac_isa_init.cpp"
#include "ac_debug_model.H"

Go to the source code of this file.

Defines

#define Ra   31
 User defined macros to reference registers.
#define Sp   29
#define Lo   32
#define Hi   33

Functions

void ac_behavior (instruction)
 Generic instruction behavior method.
void ac_behavior (Type_R)
 Instruction Format behavior methods.
void ac_behavior (Type_I)
void ac_behavior (Type_J)
void ac_behavior (begin)
 Behavior called before starting simulation.
void ac_behavior (end)
 Behavior called after finishing simulation.
void ac_behavior (lb)
 Instruction lb behavior method.
void ac_behavior (lbu)
 Instruction lbu behavior method.
void ac_behavior (lh)
 Instruction lh behavior method.
void ac_behavior (lhu)
 Instruction lhu behavior method.
void ac_behavior (lw)
 Instruction lw behavior method.
void ac_behavior (lwl)
 Instruction lwl behavior method.
void ac_behavior (lwr)
 Instruction lwr behavior method.
void ac_behavior (sb)
 Instruction sb behavior method.
void ac_behavior (sh)
 Instruction sh behavior method.
void ac_behavior (sw)
 Instruction sw behavior method.
void ac_behavior (swl)
 Instruction swl behavior method.
void ac_behavior (swr)
 Instruction swr behavior method.
void ac_behavior (addi)
 Instruction addi behavior method.
void ac_behavior (addiu)
 Instruction addiu behavior method.
void ac_behavior (slti)
 Instruction slti behavior method.
void ac_behavior (sltiu)
 Instruction sltiu behavior method.
void ac_behavior (andi)
 Instruction andi behavior method.
void ac_behavior (ori)
 Instruction ori behavior method.
void ac_behavior (xori)
 Instruction xori behavior method.
void ac_behavior (lui)
 Instruction lui behavior method.
void ac_behavior (add)
 Instruction add behavior method.
void ac_behavior (addu)
 Instruction addu behavior method.
void ac_behavior (sub)
 Instruction sub behavior method.
void ac_behavior (subu)
 Instruction subu behavior method.
void ac_behavior (slt)
 Instruction slt behavior method.
void ac_behavior (sltu)
 Instruction sltu behavior method.
void ac_behavior (instr_and)
 Instruction instr_and behavior method.
void ac_behavior (instr_or)
 Instruction instr_or behavior method.
void ac_behavior (instr_xor)
 Instruction instr_xor behavior method.
void ac_behavior (instr_nor)
 Instruction instr_nor behavior method.
void ac_behavior (nop)
 Instruction nop behavior method.
void ac_behavior (sll)
 Instruction sll behavior method.
void ac_behavior (srl)
 Instruction srl behavior method.
void ac_behavior (sra)
 Instruction sra behavior method.
void ac_behavior (sllv)
 Instruction sllv behavior method.
void ac_behavior (srlv)
 Instruction srlv behavior method.
void ac_behavior (srav)
 Instruction srav behavior method.
void ac_behavior (mult)
 Instruction mult behavior method.
void ac_behavior (multu)
 Instruction multu behavior method.
void ac_behavior (div)
 Instruction div behavior method.
void ac_behavior (divu)
 Instruction divu behavior method.
void ac_behavior (mfhi)
 Instruction mfhi behavior method.
void ac_behavior (mthi)
 Instruction mthi behavior method.
void ac_behavior (mflo)
 Instruction mflo behavior method.
void ac_behavior (mtlo)
 Instruction mtlo behavior method.
void ac_behavior (j)
 Instruction j behavior method.
void ac_behavior (jal)
 Instruction jal behavior method.
void ac_behavior (jr)
 Instruction jr behavior method.
void ac_behavior (jalr)
 Instruction jalr behavior method.
void ac_behavior (beq)
 Instruction beq behavior method.
void ac_behavior (bne)
 Instruction bne behavior method.
void ac_behavior (blez)
 Instruction blez behavior method.
void ac_behavior (bgtz)
 Instruction bgtz behavior method.
void ac_behavior (bltz)
 Instruction bltz behavior method.
void ac_behavior (bgez)
 Instruction bgez behavior method.
void ac_behavior (bltzal)
 Instruction bltzal behavior method.
void ac_behavior (bgezal)
 Instruction bgezal behavior method.
void ac_behavior (sys_call)
 Instruction sys_call behavior method.
void ac_behavior (instr_break)
 Instruction instr_break behavior method.

Detailed Description

The ArchC MIPS-I functional model.

Author:
Sandro Rigo Marcus Bartholomeu

The ArchC Team http://www.archc.org/

Computer Systems Laboratory (LSC) IC-UNICAMP http://www.lsc.ic.unicamp.br/

Version:
1.0
Date:
Mon, 19 Jun 2006 15:33:29 -0300
Attention:
Copyright (C) 2002-2006 --- The ArchC Team

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

Definition in file mips1-isa.cpp.


Define Documentation

#define Hi   33

Definition at line 49 of file mips1-isa.cpp.

#define Lo   32

Definition at line 48 of file mips1-isa.cpp.

#define Ra   31

User defined macros to reference registers.

Definition at line 46 of file mips1-isa.cpp.

#define Sp   29

Definition at line 47 of file mips1-isa.cpp.


Function Documentation

void ac_behavior ( instr_break   ) 

Instruction instr_break behavior method.

Definition at line 716 of file mips1-isa.cpp.

void ac_behavior ( sys_call   ) 

Instruction sys_call behavior method.

Definition at line 709 of file mips1-isa.cpp.

void ac_behavior ( bgezal   ) 

Instruction bgezal behavior method.

Definition at line 695 of file mips1-isa.cpp.

void ac_behavior ( bltzal   ) 

Instruction bltzal behavior method.

Definition at line 681 of file mips1-isa.cpp.

void ac_behavior ( bgez   ) 

Instruction bgez behavior method.

Definition at line 669 of file mips1-isa.cpp.

void ac_behavior ( bltz   ) 

Instruction bltz behavior method.

Definition at line 657 of file mips1-isa.cpp.

void ac_behavior ( bgtz   ) 

Instruction bgtz behavior method.

Definition at line 645 of file mips1-isa.cpp.

void ac_behavior ( blez   ) 

Instruction blez behavior method.

Definition at line 633 of file mips1-isa.cpp.

void ac_behavior ( bne   ) 

Instruction bne behavior method.

Definition at line 621 of file mips1-isa.cpp.

void ac_behavior ( beq   ) 

Instruction beq behavior method.

Definition at line 609 of file mips1-isa.cpp.

void ac_behavior ( jalr   ) 

Instruction jalr behavior method.

Definition at line 591 of file mips1-isa.cpp.

void ac_behavior ( jr   ) 

Instruction jr behavior method.

Definition at line 579 of file mips1-isa.cpp.

void ac_behavior ( jal   ) 

Instruction jal behavior method.

Definition at line 561 of file mips1-isa.cpp.

void ac_behavior (  ) 

Instruction j behavior method.

Definition at line 550 of file mips1-isa.cpp.

void ac_behavior ( mtlo   ) 

Instruction mtlo behavior method.

Definition at line 542 of file mips1-isa.cpp.

void ac_behavior ( mflo   ) 

Instruction mflo behavior method.

Definition at line 534 of file mips1-isa.cpp.

void ac_behavior ( mthi   ) 

Instruction mthi behavior method.

Definition at line 526 of file mips1-isa.cpp.

void ac_behavior ( mfhi   ) 

Instruction mfhi behavior method.

Definition at line 518 of file mips1-isa.cpp.

void ac_behavior ( divu   ) 

Instruction divu behavior method.

Definition at line 508 of file mips1-isa.cpp.

void ac_behavior ( div   ) 

Instruction div behavior method.

Definition at line 498 of file mips1-isa.cpp.

void ac_behavior ( multu   ) 

Instruction multu behavior method.

Definition at line 476 of file mips1-isa.cpp.

void ac_behavior ( mult   ) 

Instruction mult behavior method.

Definition at line 454 of file mips1-isa.cpp.

void ac_behavior ( srav   ) 

Instruction srav behavior method.

Definition at line 446 of file mips1-isa.cpp.

void ac_behavior ( srlv   ) 

Instruction srlv behavior method.

Definition at line 438 of file mips1-isa.cpp.

void ac_behavior ( sllv   ) 

Instruction sllv behavior method.

Definition at line 430 of file mips1-isa.cpp.

void ac_behavior ( sra   ) 

Instruction sra behavior method.

Definition at line 422 of file mips1-isa.cpp.

void ac_behavior ( srl   ) 

Instruction srl behavior method.

Definition at line 414 of file mips1-isa.cpp.

void ac_behavior ( sll   ) 

Instruction sll behavior method.

Definition at line 406 of file mips1-isa.cpp.

void ac_behavior ( nop   ) 

Instruction nop behavior method.

Definition at line 400 of file mips1-isa.cpp.

void ac_behavior ( instr_nor   ) 

Instruction instr_nor behavior method.

Definition at line 392 of file mips1-isa.cpp.

void ac_behavior ( instr_xor   ) 

Instruction instr_xor behavior method.

Definition at line 384 of file mips1-isa.cpp.

void ac_behavior ( instr_or   ) 

Instruction instr_or behavior method.

Definition at line 376 of file mips1-isa.cpp.

void ac_behavior ( instr_and   ) 

Instruction instr_and behavior method.

Definition at line 368 of file mips1-isa.cpp.

void ac_behavior ( sltu   ) 

Instruction sltu behavior method.

Definition at line 355 of file mips1-isa.cpp.

void ac_behavior ( slt   ) 

Instruction slt behavior method.

Definition at line 342 of file mips1-isa.cpp.

void ac_behavior ( subu   ) 

Instruction subu behavior method.

Definition at line 334 of file mips1-isa.cpp.

void ac_behavior ( sub   ) 

Instruction sub behavior method.

Definition at line 325 of file mips1-isa.cpp.

void ac_behavior ( addu   ) 

Instruction addu behavior method.

Definition at line 315 of file mips1-isa.cpp.

void ac_behavior ( add   ) 

Instruction add behavior method.

Definition at line 302 of file mips1-isa.cpp.

void ac_behavior ( lui   ) 

Instruction lui behavior method.

Definition at line 291 of file mips1-isa.cpp.

void ac_behavior ( xori   ) 

Instruction xori behavior method.

Definition at line 283 of file mips1-isa.cpp.

void ac_behavior ( ori   ) 

Instruction ori behavior method.

Definition at line 275 of file mips1-isa.cpp.

void ac_behavior ( andi   ) 

Instruction andi behavior method.

Definition at line 267 of file mips1-isa.cpp.

void ac_behavior ( sltiu   ) 

Instruction sltiu behavior method.

Definition at line 254 of file mips1-isa.cpp.

void ac_behavior ( slti   ) 

Instruction slti behavior method.

Definition at line 241 of file mips1-isa.cpp.

void ac_behavior ( addiu   ) 

Instruction addiu behavior method.

Definition at line 233 of file mips1-isa.cpp.

void ac_behavior ( addi   ) 

Instruction addi behavior method.

Definition at line 220 of file mips1-isa.cpp.

void ac_behavior ( swr   ) 

Instruction swr behavior method.

Definition at line 204 of file mips1-isa.cpp.

void ac_behavior ( swl   ) 

Instruction swl behavior method.

Definition at line 188 of file mips1-isa.cpp.

void ac_behavior ( sw   ) 

Instruction sw behavior method.

Definition at line 180 of file mips1-isa.cpp.

void ac_behavior ( sh   ) 

Instruction sh behavior method.

Definition at line 170 of file mips1-isa.cpp.

void ac_behavior ( sb   ) 

Instruction sb behavior method.

Definition at line 160 of file mips1-isa.cpp.

void ac_behavior ( lwr   ) 

Instruction lwr behavior method.

Definition at line 144 of file mips1-isa.cpp.

void ac_behavior ( lwl   ) 

Instruction lwl behavior method.

Definition at line 128 of file mips1-isa.cpp.

void ac_behavior ( lw   ) 

Instruction lw behavior method.

Definition at line 120 of file mips1-isa.cpp.

void ac_behavior ( lhu   ) 

Instruction lhu behavior method.

Definition at line 111 of file mips1-isa.cpp.

void ac_behavior ( lh   ) 

Instruction lh behavior method.

Definition at line 101 of file mips1-isa.cpp.

void ac_behavior ( lbu   ) 

Instruction lbu behavior method.

Definition at line 91 of file mips1-isa.cpp.

void ac_behavior ( lb   ) 

Instruction lb behavior method.

Definition at line 81 of file mips1-isa.cpp.

void ac_behavior ( end   ) 

Behavior called after finishing simulation.

Definition at line 74 of file mips1-isa.cpp.

void ac_behavior ( begin   ) 

Behavior called before starting simulation.

Definition at line 67 of file mips1-isa.cpp.

void ac_behavior ( Type_J   ) 

Definition at line 64 of file mips1-isa.cpp.

void ac_behavior ( Type_I   ) 

Definition at line 63 of file mips1-isa.cpp.

void ac_behavior ( Type_R   ) 

Instruction Format behavior methods.

Definition at line 62 of file mips1-isa.cpp.

void ac_behavior ( instruction   ) 

Generic instruction behavior method.

Definition at line 53 of file mips1-isa.cpp.


Generated on Wed Oct 21 20:45:14 2009 for Teste by  doxygen 1.6.1