【发布时间】:2020-04-28 06:08:13
【问题描述】:
Here is img of RISC-V pipeline with flush for exceptions
我对管道刷新异常有疑问。 在 RISC-V 中,管道中有 IF.flush、ID.flush 和 EX.flush 用于异常。 但我想知道为什么管道中没有 MEM.flush 用于异常。 我认为如果我们在 MEM 阶段检测到异常(例如 Invalid Data 内存访问),我们必须刷新 MEM 阶段以使 MEM.RegWrite 值为 0。
谢谢。
【问题讨论】:
标签: exception pipeline flush riscv