当前位置:网站首页>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
边栏推荐
- Solution of commercial supply chain collaboration platform in household appliance industry: lean supply chain system management, boosting enterprise intelligent manufacturing upgrading
- 注意!软件供应链安全挑战持续升级
- anaconda使用中科大源
- dynamic programming
- Catch all asynchronous artifact completable future
- Structure - C language
- 【NVMe2.0b 14-9】NVMe SR-IOV
- There is a powerful and good-looking language bird editor, which is better than typora and developed by Alibaba
- Countermeasures of enterprise supply chain management system in UCA Era
- Thymeleaf 使用后台自定义工具类处理文本
猜你喜欢
How to protect user privacy without password authentication?
周大福践行「百周年承诺」,真诚服务推动绿色环保
[summary of leetcode weekly competition] the 81st fortnight competition of leetcode (6.25)
Chow Tai Fook fulfills the "centenary commitment" and sincerely serves to promote green environmental protection
Thymeleaf th:with use of local variables
区间 - 左闭右开
Section - left closed right open
直播预告|如何借助自动化工具落地DevOps(文末福利)
openGauss数据库源码解析系列文章—— 密态等值查询技术详解(下)
Thymeleaf 使用后台自定义工具类处理文本
随机推荐
PHP - fatal error: allowed memory size of 314572800 bytes exhausted
SaaS multi tenant solution for FMCG industry to build digital marketing competitiveness of the whole industry chain
Section - left closed right open
Strong connection component
js亮瞎你眼的日期选择器
Drive brushless DC motor based on Ti drv10970
Share 20 strange JS expressions and see how many correct answers you can get
Thymeleaf th:classappend attribute append th:styleappend style append th:data- custom attribute
直播预告|如何借助自动化工具落地DevOps(文末福利)
一键更改多个文件名字
想进阿里必须啃透的12道MySQL面试题
基于TI DRV10970驱动直流无刷电机
Thymeleaf common functions
useMemo,memo,useRef等相关hooks详解
IPv6与IPv4的区别 网信办等三部推进IPv6规模部署
【学习笔记】图的连通性与回路
The function of qualifier in C language
通过npm 或者 yarn安装依赖时 报错 出现乱码解决方式
Postgresql 13 安装
做自媒体视频二次剪辑,怎样剪辑不算侵权