📄 sarm9h.v
字号:
/********************************************************************************//* Copyright @ 2006 by SOME of SJTU *//* All rights are reserved. Reproduction in whole or in part is *//* prohibited without the written consent of the copyright owner. *//* SJTU reserves the right to make changes without notice at *//* any time. The software is provided as is and SJTU makes *//* no warranty, expressed, implied or statutory, including but not limited to *//* any implied warranty of merchantability or fitness for any particular *//* purpose, or that the use will not infringe any third party patent, copyright *//* or trademark. SJTU should not be liable for any loss or damage arising from *//* its use. you can redistribute it and/or *//* modify it under the terms of the GNU Lesser General Public *//* License as published by the Free Software Foundation; either *//* version 2 of the License, or (at your option) any later version. *//********************************************************************************//** * PROJECT: Simple ARM Core * COPYRIGHT: SOME of SJTU 2006 * $RCSfile: ,v $ * $Revision: $ * AUTHOR: Thomas.Luo * E_MAIL: microbear@sjtu.edu.cn * LANGUAGE: V * DESCRIPTION: * * DOCUMENTS: **/`timescale 1ns / 10ps/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////condition area`define EQ 4'b0000`define NE 4'b0001`define CS 4'b0010`define CC 4'b0011`define MI 4'b0100`define PL 4'b0101`define VS 4'b0110`define VC 4'b0111`define HI 4'b1000`define LS 4'b1001`define GE 4'b1010`define LT 4'b1011`define GT 4'b1100`define LE 4'b1101`define AL 4'b1110`define NV 4'b1111/////////////////////////////////////////////////////////////`define NOP 0`define LD 1`define ST 2`define MOV 3`define ORR 4`define AND 5`define ADD 6`define ADC 7`define SUB 8`define MVN 9`define CMP 10`define CMN 11`define B 12`define BL 13`define MLA 14`define MUL 15`define MSR 16`define MRS 17`define R0 0`define R1 1`define R2 2`define R3 3`define R4 4`define R5 5`define R6 6`define R7 7`define R8 8`define R9 9`define R10 10`define R11 11`define R12 12`define R13 13`define R14 14`define R15 15`define LDSTTYPE 1`define DATATYPE 2`define MULTYPE 3`define JMPTYPE 4`define LDSTIMMEDIATE 1`define LDSTSCALEREG 2`define DATA32BIMMEDIATE 1`define DATAIMSHIFT 2`define DATAREGSHIFT 3`define SFNOP 0`define SFROR 1`define SFLSL 2`define SFLSR 3`define SFASR 4`define SFMUL 5`define MAXRENAMEREGS 11`define RENAMEREGWIDTH 4`define REGNAMEWIDTH 4 `define ENCUNKNOWN 0`define ENCLSIMM 1`define ENCLSREG 2`define ENCDPIMM 3`define ENCDPIMMS 4`define ENCDPREGS 5`define ENCMLA 6`define ENCMUL 7`define ENCB 8`define ENCMSR 9`define ENCMRS 10`define MAOPNOP 0`define MAOPLD 1`define MAOPST 2`define MAOPWB 3`define WBOPNOP 0`define WBOPWB 1
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -