1 / 21
文档名称:

嵌入式软件系统设计:10 Processor hazard.ppt

格式:ppt   大小:696KB   页数:21页
下载后只包含 1 个 PPT 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

分享

预览

嵌入式软件系统设计:10 Processor hazard.ppt

上传人:窝窝爱蛋蛋 2022/6/10 文件大小:696 KB

下载得到文件列表

嵌入式软件系统设计:10 Processor hazard.ppt

相关文档

文档介绍

文档介绍:Embedded System Design lecture 10 --Processor(2)_hazard _board_verificatioon
Jun WANG
1
Contents
Learnt from l and id_ir
12
Control Hazard
When CPU decide to branch, other instructions are still in pipeline!!
During the time from branch instruction fetch to branch address generate (from IF to ID to EX to IF, 3 stages),
the 3 instructions followed by branch are in pipeline.
The computing results by them are useless
Should be flushed
or will impact the following instructions computing
13
Solution
Software
Insert 3 NOPs
Insert independent operations
Hardware
Flushing
I am not going to more detail…
14
*
Summary
Hazard
Structure
Data
Arithmetic
Software solution
NOP
Hardware solution
Data forwarding
LOAD
Software solution
NOP
Hardware solution
Stall
Control (optional)
Software solution
NOP
Independent operation
Hardware solution
Flushing
15
Use hazard to understand test pattern
Control Hazard is an optional topic, you do not need to implement hazard by verilog
but your implementation is highly recommended and scored
Submit by 8th Jan
Data hazard (including forwarding and stall) you MUST finish by 8th Jan, and submit
Both design and test
Understand how to write test pattern for your verilog
Always insert 3 NOPs
But please be more smart…
16
Memory implementation
Write verilog by yourself
Use Core_Gernerate to generate IP
Get the verilog built in
If you can use board evaluation in your final project, big plus can give you!
17
Concept behind
System on Chip
SOC
From SOB to SOC
System on board to system on chip
SOC
Processor
ARM/DSP/MIPS/X86
Program with C/C++
Memory
FPGA/ASIC
Your own verilog
Therefore, software and hardware division is a problem
New design methodology
SW/HW Co-design
Key of embedded system design
Lets move to next semester
SOPC: (P: programmable)
Newly FPGA, the state-of-art all programmable device, can cover everything with low cost solution, and acceptable performance,
Try
ASIC for further
18
*