当前位置:网站首页>CPU design related notes
CPU design related notes
2022-07-05 14:37:00 【Xiaowei programmer】
CPU Design - be based on LoongArch Architecturally MIPS
1. Simply talk about the assembly line CPU
Single launch static five stage pipeline CPU:
Fingering (IF)-> decoding (ID)-> perform (EXE)-> Visiting and depositing (MEM)-> Write back to (WB)
Assembly line CPU The essence of design is understood as a workshop for assembly line production , One stage completes a specified function alone .
(1) Time flows
Take five sections of running water as an example , The fifth paragraph is : Fingering - decoding - Visiting and depositing - perform - Write back
Treat each paragraph as a part , When the previous instruction goes from fetch to decoding , That is, start to fetch the next instruction .
(2) Space water
Analogy time flow , It is simply understood as expanding each part to the original work efficiency n times ; That is to say, one instruction is taken at a time in the finger fetching stage , Now you can take it at once 2 One or more .
2. Assembly line CPU Instruction correlation in and pipeline conflict
3. Solve the assembly line CPU Data related conflict method in design
(1) Blocking technology
Simple understanding : Let a level of the next instruction stop and wait for the last pending result of the above instruction , That is, wait until the above instructions have completely completed the five level pipeline operation .
And “ Read after writing ” Related conflicts : That is, the upper level has not written registers or data RAM The next instruction that follows already needs this new value in the execution phase .
Blocking technology : Let the next instruction wait for the last instruction to complete the whole instruction in the execution stage .
(2) Forward delivery technology
Simple understanding : Send the results to be used directly to the corresponding flow stage through a dedicated path , Don't wait for the writeback operation of the last paragraph .
Solution and “ Read after writing ” Related conflicts :
Forward delivery technology : The result of the previous instruction to be written will be sent directly to the pipeline stage of the next instruction . I send the fresh addition result just released directly to the next instruction to eat . That's what's called Internal push forward (Internal Forwarding), Or internal bypass (Bypass).
reference :
《CPU Design practice 》 Wang Wenxiang Xing Jinzhang Writing
《 Fundamentals of computer architecture The third edition 》 Hu Chuanwu waited
《 Computer principle and design :Verilog HDL edition 》 Written by Li Yamin
边栏推荐
- 分享 12 个最常用的正则表达式,能解决你大部分问题
- 选择排序和冒泡排序
- js亮瞎你眼的日期选择器
- PostgreSQL 13 installation
- mysql8.0JSON_CONTAINS的使用说明
- CyCa children's physical etiquette Ningbo training results assessment came to a successful conclusion
- [C question set] of Ⅷ
- Strong connection component
- Qingda KeYue rushes to the science and Innovation Board: the annual revenue is 200million, and it is proposed to raise 750million
- anaconda使用中科大源
猜你喜欢
LeetCode_ 2 (add two numbers)
日化用品行业智能供应链协同系统解决方案:数智化SCM供应链,为企业转型“加速度”
freesurfer运行完recon-all怎么快速查看有没有报错?——核心命令tail重定向
Loop invariant
Under the crisis of enterprise development, is digital transformation the future savior of enterprises
CyCa children's physical etiquette Ningbo training results assessment came to a successful conclusion
Solution of commercial supply chain collaboration platform in household appliance industry: lean supply chain system management, boosting enterprise intelligent manufacturing upgrading
家用电器行业商业供应链协同平台解决方案:供应链系统管理精益化,助推企业智造升级
leetcode:881. lifeboat
729. 我的日程安排表 I :「模拟」&「线段树(动态开点)」&「分块 + 位运算(分桶)」
随机推荐
freesurfer运行完recon-all怎么快速查看有没有报错?——核心命令tail重定向
Thymeleaf 常用函数
How to protect user privacy without password authentication?
R language ggplot2 visualization: use ggplot2 to visualize the scatter diagram, and use the labs parameter to customize the X axis label text (customize X axis labels)
anaconda使用中科大源
IPv6与IPv4的区别 网信办等三部推进IPv6规模部署
不相交集
Mysql database installation tutorial under Linux
【NVMe2.0b 14-9】NVMe SR-IOV
Total amount analysis accounting method and potential method - allocation analysis
[C question set] of Ⅷ
无密码身份验证如何保障用户隐私安全?
实现一个博客系统----使用模板引擎技术
矩阵链乘 - 动态规划实例
SSL证书错误怎么办?浏览器常见SSL证书报错解决办法
【华为机试真题详解】字符统计及重排
Structure - C language
Differences between IPv6 and IPv4 three departments including the office of network information technology promote IPv6 scale deployment
2022年国内正规的期货公司平台有哪些啊?方正中期怎么样?安全可靠吗?
04_ Use of solrj7.3 of solr7.3