当前位置:网站首页>PC register
PC register
2022-07-05 05:33:00 【Li Junfeng】
PC Register is used to store the address of the instruction .
stay CPU Startup time , It will be initialized , That is, set the current address to 0 .
Used 32 Types are D_FFEC Of D Trigger to implement a 32 Bit general register , The change of the value of the register can only occur on the rising edge of the clock cycle , And input the enable signal En, Clear signal Clrn, Clock signal Clk.
module PC_REG(D, Clk, Clrn, Q);
input [31:0] D;
input Clk, Clrn;
output [31:0] Q;
wire [31:0] Qn;
D_FFEC32 d_ffec(D, Clk, 1, Clrn, Q, Qn);
endmodule
among D_FFEC32 by 32 Bit register , It has an enabling end .
module D_FFEC32(
D,
Clk,
En,
Clrn,
Q,
Qn
);
input wire[31:0] D;
input Clk , En , Clrn;
output wire[31:0] Q;
output wire[31:0]Qn;
D_FFEC d0 (D[0] , Clk , En , Clrn , Q[0] , Qn[0]);
D_FFEC d1 (D[1] , Clk , En , Clrn , Q[1] , Qn[1]);
……
D_FFEC d31 (D[31] , Clk , En , Clrn , Q[31] , Qn[31]);
endmodule
边栏推荐
- Codeforces Round #732 (Div. 2) D. AquaMoon and Chess
- Educational codeforces round 109 (rated for Div. 2) C. robot collisions D. armchairs
- AtCoder Grand Contest 013 E - Placing Squares
- YOLOv5-Shufflenetv2
- Solution to the palindrome string (Luogu p5041 haoi2009)
- Codeforces Round #716 (Div. 2) D. Cut and Stick
- 剑指 Offer 35.复杂链表的复制
- Kubedm series-00-overview
- Mysql database (I)
- 【Jailhouse 文章】Jailhouse Hypervisor
猜你喜欢

lxml.etree.XMLSyntaxError: Opening and ending tag mismatch: meta line 6 and head, line 8, column 8
![[speed pointer] 142 circular linked list II](/img/f8/222a360c01d8ef120b61bdd2025044.jpg)
[speed pointer] 142 circular linked list II

object serialization

Pointnet++的改进

CF1634E Fair Share

智慧工地“水电能耗在线监测系统”

Chapter 6 data flow modeling - after class exercises

Fried chicken nuggets and fifa22

2017 USP Try-outs C. Coprimes

Sword finger offer 04 Search in two-dimensional array
随机推荐
kubeadm系列-02-kubelet的配置和启动
Sword finger offer 05 Replace spaces
Acwing 4300. Two operations
Pointnet++的改进
How many checks does kubedm series-01-preflight have
挂起等待锁 vs 自旋锁(两者的使用场合)
第六章 数据流建模—课后习题
二十六、文件系统API(设备在应用间的共享;目录和文件API)
Haut OJ 1401: praise energy
Service fusing hystrix
Animation scoring data analysis and visualization and it industry recruitment data analysis and visualization
【Jailhouse 文章】Jailhouse Hypervisor
卷积神经网络简介
Improvement of pointnet++
Haut OJ 1321: mode problem of choice sister
YOLOv5-Shufflenetv2
[speed pointer] 142 circular linked list II
剑指 Offer 09. 用两个栈实现队列
智慧工地“水电能耗在线监测系统”
On-off and on-off of quality system construction