当前位置:网站首页>VHDL实现单周期CPU设计
VHDL实现单周期CPU设计
2022-07-06 20:15:00 【QQ_778132974】
VHDL实现单周期CPU设计
在quartus下实现,顶层是原理图模式,语言使用VHDL,实现单周期CPU的功能,包括ALU,RAM,ROM,MUX,regfile等模块,下面有工程截图及仿真截图。
仿真截图:

ALU模块代码:
library ieee;
use ieee.std_logic_1164.all;
use ieee.std_logic_arith.all;
use ieee.std_logic_unsigned.all;
entity ALU_lrt is
port(a,b:in std_logic_vector(15 downto 0);
func:in std_logic_vector(3 downto 0);
c_lrt:out std_logic_vector(15 downto 0));
end ALU_lrt;
architecture behave of ALU_lrt is
begin
process (a,b,func)
begin
case func is
when “0000”=>c_lrt<=a and b;–and
when “0001”=>c_lrt<=a or b;–or
when “0010”=>c_lrt<=a xor b;–xor
边栏推荐
- 你知道电子招标最突出的5大好处有哪些吗?
- 知识图谱构建全流程
- Cocos2d-x box2d physical engine compilation settings
- 应用程序启动速度的优化
- 密码学系列之:在线证书状态协议OCSP详解
- leetcode
- 杰理之发射端在接收端关机之后假死机【篇】
- 杰理之关于 DAC 输出功率问题【篇】
- MOS transistor realizes the automatic switching circuit of main and auxiliary power supply, with "zero" voltage drop and static current of 20ua
- 杰理之在非蓝牙模式下,手机连接蓝牙不要跳回蓝牙模式处理方法【篇】
猜你喜欢

Utilisation de la promesse dans es6

编译常量、ClassLoader类、系统类加载器深度探析

Nuggets quantification: obtain data through the history method, and use the same proportional compound weight factor as Sina Finance and snowball. Different from flush

Stored procedures and functions (MySQL)

leetcode

杰理之播内置 flash 提示音控制播放暂停【篇】

Unity uses maskablegraphic to draw a line with an arrow
![Jericho is in non Bluetooth mode. Do not jump back to Bluetooth mode when connecting the mobile phone [chapter]](/img/ce/baa4acb1b4bfc19ccf8982e1e320b2.png)
Jericho is in non Bluetooth mode. Do not jump back to Bluetooth mode when connecting the mobile phone [chapter]

tensorboard的使用

Construction of knowledge map of mall commodities
随机推荐
Error: could not find a version that satisfies the requirement xxxxx (from versions: none) solutions
Flink Task退出流程与Failover机制
Matlab Error (Matrix dimensions must agree)
IDEA重启后无法创建Servlet文件的解决方案
Decoration design enterprise website management system source code (including mobile source code)
知识图谱构建全流程
Codeforces Round #264 (Div. 2) C Gargari and Bishops 【暴力】
杰理之播内置 flash 提示音控制播放暂停【篇】
Construction of knowledge map of mall commodities
cocos3——8.实现初学者指南
【达梦数据库】备份恢复后要执行两个sql语句
New benchmark! Intelligent social governance
上个厕所的功夫,就把定时任务的三种调度策略说得明明白白
注意力机制原理
Development of wireless communication technology, cv5200 long-distance WiFi module, UAV WiFi image transmission application
Form validation of uniapp
sshd[12282]: fatal: matching cipher is not supported: [email protected] [preauth]
Variables, process control and cursors (MySQL)
Jericho turns on the display icon of the classic Bluetooth hid mobile phone to set the keyboard [chapter]
Lost in the lock world of MySQL