基于FPGA的单周期处理器设计MIPS指令集


基于FPGA的单周期处理器设计MIPS指令集,已通过仿真验证,测试指令存于ip核调用中,详见coe文件。
资源截图
代码片段和文件信息
/**********************************************************************/
/*   ____  ____                                                       */
/*  /   //   /                                                       */
/* /___/    /                                                        */
/*       /                                                       */
/*             Copyright (c) 2003-2009 Xilinx Inc.                */
/*  /   /          All Right Reserved.                                 */
/* /---/   /                                                         */
/*      /                                                        */
/*  \___/\___                                                    */
/***********************************************************************/

/* This file is designed for use with ISim build 0x7708f090 */

#define XSI_HIDE_SYMBOL_SPEC true
#include “xsi.h“
#include 
#ifdef __GNUC__
#include 
#else
#include 
#define alloca _alloca
#endif
static const char *ng0 = “D:/FPGA_ise/cpu_521/bcla_4bit.v“;



static void Cont_41_0(char *t0)
{
    char t6[8];
    char t37[8];
    char *t1;
    char *t2;
    char *t3;
    char *t4;
    char *t5;
    unsigned int t7;
    unsigned int t8;
    unsigned int t9;
    char *t10;
    char *t11;
    unsigned int t12;
    unsigned int t13;
    unsigned int t14;
    unsigned int t15;
    unsigned int t16;
    unsigned int t17;
    unsigned int t18;
    char *t19;
    char *t20;
    unsigned int t21;
    unsigned int t22;
    unsigned int t23;
    unsigned int t24;
    unsigned int t25;
    unsigned int t26;
    unsigned int t27;
    unsigned int t28;
    int t29;
    int t30;
    unsigned int t31;
    unsigned int t32;
    unsigned int t33;
    unsigned int t34;
    unsigned int t35;
    unsigned int t36;
    unsigned int t38;
    unsigned int t39;
    unsigned int t40;
    char *t41;
    char *t42;
    char *t43;
    unsigned int t44;
    unsigned int t45;
    unsigned int t46;
    unsigned int t47;
    unsigned int t48;
    unsigned int t49;
    unsigned int t50;
    char *t51;
    char *t52;
    unsigned int t53;
    unsigned int t54;
    unsigned int t55;
    int t56;
    unsigned int t57;
    unsigned int t58;
    unsigned int t59;
    int t60;
    unsigned int t61;
    unsigned int t62;
    unsigned int t63;
    unsigned int t64;
    char *t65;
    char *t66;
    char *t67;
    char *t68;
    char *t69;
    unsigned int t70;
    unsigned int t71;
    char *t72;
    unsigned int t73;
    unsigned int t74;
    char *t75;
    unsigned int t76;
    unsigned int t77;
    char *t78;

LAB0:    t1 = (t0 + 4128U);
    t2 = *((char **)t1);
    if (t2 == 0)
        goto LAB2;

LAB3:    goto *t2;

LAB2:    xsi_set_current_line(41 ng0);
    t2 = (t0 + 1688U);
    t3 = *((char **)t2);
    t2 = (t0 + 1048U);
    t4 = *((char **)t2);
    

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2018-06-19 16:41  cpu_521
     文件           6  2018-06-05 15:43  cpu_521add_16.lso
     文件        1823  2018-06-05 15:43  cpu_521add_16.v
     文件         189  2018-05-21 16:14  cpu_521add_32.cmd_log
     文件        1442  2018-05-21 17:25  cpu_521add_32.v
     文件        3523  2018-05-21 16:04  cpu_521add_32_summary.html
     文件           6  2018-06-05 18:51  cpu_521alu.lso
     文件         166  2018-06-05 18:51  cpu_521alu.prj
     文件        2157  2018-06-05 18:51  cpu_521alu.stx
     文件        2086  2018-05-29 14:51  cpu_521alu.sym
     文件        2465  2018-06-05 21:35  cpu_521alu.v
     文件        1116  2018-06-05 18:51  cpu_521alu.xst
     文件           6  2018-06-05 15:15  cpu_521cla_4bit.lso
     文件        1074  2018-06-05 15:35  cpu_521cla_4bit.v
     文件         213  2018-06-05 15:19  cpu_521carry_add_4bit.cmd_log
     文件           6  2018-06-05 15:16  cpu_521carry_add_4bit.lso
     文件        1414  2018-06-05 15:48  cpu_521carry_add_4bit.v
     文件          92  2018-06-05 15:15  cpu_521carry_add_4bit_beh.prj
     文件        1890  2018-06-05 21:33  cpu_521cpu.cmd_log
     文件           6  2018-06-05 21:33  cpu_521cpu.lso
     文件      767024  2018-06-05 21:34  cpu_521cpu.ngc
     文件      679314  2018-06-05 21:33  cpu_521cpu.ngr
     文件         374  2018-06-05 21:33  cpu_521cpu.prj
     文件           0  2018-06-05 21:34  cpu_521cpu.stx
     文件         851  2018-05-23 21:09  cpu_521cpu.sym
     文件       26172  2018-06-05 21:34  cpu_521cpu.syr
     文件        1712  2018-06-05 16:18  cpu_521cpu.v
     文件        1080  2018-06-05 21:33  cpu_521cpu.xst
     文件       13600  2018-06-19 20:08  cpu_521cpu_521.gise
     文件       12045  2018-06-12 14:43  cpu_521cpu_521.xise
     文件        9694  2018-06-05 16:40  cpu_521cpu_envsettings.html
............此处省略706个文件信息

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。

发表评论

评论列表(条)