https://mp.weixin.qq.com/s/1TdXhC7UvPUX4An1R9QZ8g

 

简单介绍BusErrorUnit的实现。

 

Rocket - tile - BusErrorUnit

 

1. BusErrors

 

BusErrors定义了一个抽象的toErrorList方法,用于返回错误列表:

Rocket - tile - BusErrorUnit

其中:

a. toErrorList方法的返回值是一个列表,列表中元素的类型是Option;

b. Option中元素的类型是(Valid[UInt], String, String)三元组;

 

2. L1BusErrors

 

L1BusErrors引入了BusErrors特征,实现其toErrorList方法:

Rocket - tile - BusErrorUnit

 

1) icache

 

icache代表指令缓存错误:

Rocket - tile - BusErrorUnit

 

2) dcache

 

dcache代表数据缓存错误:

Rocket - tile - BusErrorUnit

 

3) toErrorList

 

实现了BusErrors中抽象的toErrorList方法,返回icache/dcache中的错误信号:

-----------------------------------------------------------------------------
这是一篇付费文章,请移步付费阅读全文,谢谢!
文章链接:https://mp.weixin.qq.com/s/1TdXhC7UvPUX4An1R9QZ8g

相关文章:

  • 2022-12-23
  • 2021-08-19
  • 2022-12-23
  • 2021-10-06
  • 2022-01-18
  • 2021-08-01
  • 2021-08-08
  • 2021-07-24
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案