当前位置:网站首页>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
边栏推荐
- Principle and performance analysis of lepton lossless compression
- PostgreSQL 13 installation
- Loop invariant
- Online electronic component purchasing Mall: break the problem of information asymmetry in the purchasing process, and enable enterprises to effectively coordinate management
- CPU设计相关笔记
- Is the securities account given by the head teacher of qiniu school safe? Can I open an account?
- 两个BI开发,3000多张报表?如何做的到?
- useMemo,memo,useRef等相关hooks详解
- Differences between IPv6 and IPv4 three departments including the office of network information technology promote IPv6 scale deployment
- Lepton 无损压缩原理及性能分析
猜你喜欢

Topology可视化绘图引擎

ASP.NET大型外卖订餐系统源码 (PC版+手机版+商户版)
![[detailed explanation of Huawei machine test] character statistics and rearrangement](/img/0f/972cde8c749e7b53159c9d9975c9f5.png)
[detailed explanation of Huawei machine test] character statistics and rearrangement

直播预告|如何借助自动化工具落地DevOps(文末福利)

【NVMe2.0b 14-9】NVMe SR-IOV

Thymeleaf th:classappend attribute append th:styleappend style append th:data- custom attribute

Pointer operation - C language

乌卡时代下,企业供应链管理体系的应对策略

基于TI DRV10970驱动直流无刷电机

【华为机试真题详解】字符统计及重排
随机推荐
【NVMe2.0b 14-9】NVMe SR-IOV
Pointer operation - C language
How does redis implement multiple zones?
[detailed explanation of Huawei machine test] character statistics and rearrangement
快消品行业SaaS多租户解决方案,构建全产业链数字化营销竞争力
Thymeleaf 使用后台自定义工具类处理文本
Structure - C language
How to make a second clip of our media video without infringement
The forked VM terminated without saying properly goodbye
PMP考试20天能通过吗?
LeetCode_ 67 (binary sum)
Strong connection component
做自媒體視頻二次剪輯,怎樣剪輯不算侵權
循环不变式
FR练习题目---简单题
有一个强大又好看的,赛过Typora,阿里开发的语雀编辑器
Thymeleaf th:with use of local variables
矩阵链乘 - 动态规划实例
3W principle [easy to understand]
Opengauss database source code analysis series articles -- detailed explanation of dense equivalent query technology (Part 2)