资源简介
用FPGA搭建CPU实现简单的MIPS指令集,包含源码和调试代码以及原理说明PDF,运行即可查看仿真结果

代码片段和文件信息
/**********************************************************************/
/* ____ ____ */
/* / /\/ / */
/* /___/ \ / */
/* \ \ \/ */
/* \ \ Copyright (c) 2003-2009 Xilinx Inc. */
/* / / All Right Reserved. */
/* /---/ /\ */
/* \ \ / \ */
/* \___\/\___\ */
/***********************************************************************/
/* This file is designed for use with ISim build 0x2f00eba5 */
#define XSI_HIDE_SYMBOL_SPEC true
#include “xsi.h“
#include
#ifdef __GNUC__
#include
#else
#include
#define alloca _alloca
#endif
static const char *ng0 = “E:/computer lab/zhiling4/top.v“;
static unsigned int ng1[] = {0U 0U};
static unsigned int ng2[] = {1U 0U};
static void Cont_65_0(char *t0)
{
char t3[8];
char t4[8];
char *t1;
char *t2;
char *t5;
char *t6;
unsigned int t7;
unsigned int t8;
unsigned int t9;
unsigned int t10;
unsigned int t11;
unsigned int t12;
char *t13;
char *t14;
char *t15;
char *t16;
char *t17;
char *t18;
char *t19;
LAB0: t1 = (t0 + 3560U);
t2 = *((char **)t1);
if (t2 == 0)
goto LAB2;
LAB3: goto *t2;
LAB2: xsi_set_current_line(65 ng0);
t2 = (t0 + 2808U);
t5 = *((char **)t2);
memset(t4 0 8);
t2 = (t4 + 4);
t6 = (t5 + 4);
t7 = *((unsigned int *)t5);
t8 = (t7 >> 2);
*((unsigned int *)t4) = t8;
t9 = *((unsigned int *)t6);
t10 = (t9 >> 2);
*((unsigned int *)t2) = t10;
t11 = *((unsigned int *)t4);
*((unsigned int *)t4) = (t11 & 16383U);
t12 = *((unsigned int *)t2);
*((unsigned int *)t2) = (t12 & 16383U);
t13 = ((char*)((ng1)));
xsi_vlogtype_concat(t3 32 32 2U t13 18 t4 14);
t14 = (t0 + 4864);
t15 = (t14 + 32U);
t16 = *((char **)t15);
t17 = (t16 + 40U);
t18 = *((char **)t17);
memcpy(t18 t3 8);
xsi_driver_vfirst_trans(t14 0 31);
t19 = (t0 + 4764);
*((int *)t19) = 1;
LAB1: return;
}
static void Cont_67_1(char *t0)
{
char t3[8];
char *t1;
char *t2;
char *t4;
char *t5;
unsigned int t6;
unsigned int t7;
unsigned int t8;
unsigned int t9;
unsigned int t10;
unsigned int t11;
char *t12;
char *t13;
char *t14;
char *t15;
char *t16;
unsigned int t17;
unsigned int t18;
char *t19;
unsigned int t20;
unsigned int t21;
char *t22;
unsigned int
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 1025210 2013-09-22 10:44 MIPS指令FPGA实现\lab04.pdf
文件 1457 2013-10-29 19:20 MIPS指令FPGA实现\zhiling4\ALU.v
文件 2179 2013-11-01 10:33 MIPS指令FPGA实现\zhiling4\ctr.v
文件 158 2013-10-31 00:37 MIPS指令FPGA实现\zhiling4\Data.txt
文件 1383 2013-11-01 09:35 MIPS指令FPGA实现\zhiling4\Data_Memory.v
文件 2020 2013-12-03 18:59 MIPS指令FPGA实现\zhiling4\fuse.log
文件 768 2013-12-03 18:59 MIPS指令FPGA实现\zhiling4\fuse.xmsgs
文件 234 2013-12-03 18:59 MIPS指令FPGA实现\zhiling4\fuseRelaunch.cmd
文件 268 2013-10-31 20:42 MIPS指令FPGA实现\zhiling4\instruction.txt
文件 1282 2013-10-31 10:30 MIPS指令FPGA实现\zhiling4\Instruction_Memory.v
文件 20324 2013-12-03 18:56 MIPS指令FPGA实现\zhiling4\iseconfig\top.xreport
文件 7552 2013-12-03 19:01 MIPS指令FPGA实现\zhiling4\iseconfig\zhiling3.projectmgr
文件 1664 2013-12-03 19:00 MIPS指令FPGA实现\zhiling4\isim\isim_usage_statistics.html
文件 6 2013-12-03 18:56 MIPS指令FPGA实现\zhiling4\isim\pn_info
文件 0 2013-12-03 18:59 MIPS指令FPGA实现\zhiling4\isim\top_td_isim_beh.exe.sim\isimcrash.log
文件 11713 2013-12-03 18:59 MIPS指令FPGA实现\zhiling4\isim\top_td_isim_beh.exe.sim\ISimEngine-DesignHierarchy.dbg
文件 564 2013-12-03 19:00 MIPS指令FPGA实现\zhiling4\isim\top_td_isim_beh.exe.sim\isimkernel.log
文件 380 2013-12-03 19:00 MIPS指令FPGA实现\zhiling4\isim\top_td_isim_beh.exe.sim\netId.dat
文件 19350 2013-12-03 18:59 MIPS指令FPGA实现\zhiling4\isim\top_td_isim_beh.exe.sim\tmp_save\_1
文件 43609 2013-12-03 18:59 MIPS指令FPGA实现\zhiling4\isim\top_td_isim_beh.exe.sim\top_td_isim_beh.exe
文件 21457 2013-12-03 18:59 MIPS指令FPGA实现\zhiling4\isim\top_td_isim_beh.exe.sim\work\m_00000000000385570435_3823007873.c
文件 10860 2013-12-03 18:59 MIPS指令FPGA实现\zhiling4\isim\top_td_isim_beh.exe.sim\work\m_00000000000385570435_3823007873.didat
文件 4201 2013-12-03 18:59 MIPS指令FPGA实现\zhiling4\isim\top_td_isim_beh.exe.sim\work\m_00000000000385570435_3823007873.nt.obj
文件 6141 2013-12-03 18:59 MIPS指令FPGA实现\zhiling4\isim\top_td_isim_beh.exe.sim\work\m_00000000000812756113_1124448613.c
文件 2976 2013-12-03 18:59 MIPS指令FPGA实现\zhiling4\isim\top_td_isim_beh.exe.sim\work\m_00000000000812756113_1124448613.didat
文件 2444 2013-12-03 18:59 MIPS指令FPGA实现\zhiling4\isim\top_td_isim_beh.exe.sim\work\m_00000000000812756113_1124448613.nt.obj
文件 12617 2013-12-03 18:59 MIPS指令FPGA实现\zhiling4\isim\top_td_isim_beh.exe.sim\work\m_00000000001096759013_3913188552.c
文件 3464 2013-12-03 18:59 MIPS指令FPGA实现\zhiling4\isim\top_td_isim_beh.exe.sim\work\m_00000000001096759013_3913188552.didat
文件 3540 2013-12-03 18:59 MIPS指令FPGA实现\zhiling4\isim\top_td_isim_beh.exe.sim\work\m_00000000001096759013_3913188552.nt.obj
文件 12845 2013-12-03 18:59 MIPS指令FPGA实现\zhiling4\isim\top_td_isim_beh.exe.sim\work\m_00000000001514370058_3180292034.c
............此处省略56个文件信息
相关资源
-
Design for em
bedded Image Processing on FPG - FPGA实现PID.v
- 基于FPGA的sdi视频传输工程(k7_sdi_rx
- FPGA彩条显示
- Xilinx-FPGA-引脚功能详细介绍.doc
- 基于xilinx FPGA的PCIe设计实战
- 基于PCIe的FPGA动态配置设计与实现
- 为什么工程师要掌握FPGA开发知识?
- 数字频率合成dds正弦波基于FPGA的DDS产
- 基于MIPS指令集的32位CPU设计与Verilog语
- Verilog FPGA UART串口控制器
- gmsk调制在FPGA上实现
- 一个简单的verilog编写的DMA IP CORE,和
- FPGA在步进电机驱动上的应用实例及代
- fpga实现频率测量
- FPGA开发-ChipScope教程
- 红外循迹小车VHDL程序
- Cpu-Z检测CPU软件
- 基于FPGA的USB接口设计
- DE2模拟的交通红绿灯
- 一种抗SEU存储器电路的FPGA设计
- Cyclone 10LP Remote Update Intel FPGA IP 官方工
- nRF24L01无线模块在单片机与FPGA上的应
- 基于FPGA多协议转换网关设计
- fpga数字钟
- FPGA按键消抖
- 完美获取 CPU 的 NUMA节点数、CPU插槽个
- 具有可编程环路补偿功能高密度电源
- FPGA系统中有源电容放电电路设计需注
- 玩转Altera FPGA:基于PLL分频计数的LE
评论
共有 条评论