Closed
[Documentation|文档反馈]: Bank Conflict章节UB地址位数存在off-by-one错误 #1892
weijinyiAdd on  Oct 16Closed at  Oct 22
weijinyi
weijinyi
Oct 16 Create

Describe the current behavior / 问题描述 (Mandatory / 必填)

avoid_bank_conflict_npu_arch_3510.md中存在如下描述:

Unified Buffer(UB)缓存总大小为256KB,包含8个bank group,每个bank group包含2个bank。每个bank大小为16KB,由512行组成,每行长度为32B,采用低位地址交织。

UB的地址编码格式:

UB_ADDR[18:0] = {BANK_DEPTH[8:0], BANK[0], BG[2:0], BANK_WIDTH[4:0]}

256KB应当对应18bit的地址空间,所以左侧应该写为UB_ADDR[17:0]

likedislike
weijinyiweijinyi
Oct 16 Modify description of issue
weijinyiweijinyi
Oct 16 Modify description of issue
ApeiriaNode_BookerApeiriaNode_BookerCollaborators
Oct 19 changed custom category from 缺陷 to 文档
lihuaichao
lihuaichaoCollaborators
Oct 19 Comments:

您好,感谢反馈,UB_ADDR[18:0]应该修改为UB_ADDR[17:0],近期将会修复。

likedislike
lihuaichaolihuaichaoCollaborators
Oct 19 Assign lihuaichao as responsible person
lihuaichao
lihuaichaoCollaborators
Oct 20 Comments:

您好,关联PR已合入,已修改为UB_ADDR[17:0]。

likedislike
liuliu876liuliu876Collaborators
Oct 21 Change title to "[Documentation|文档反馈]: Bank Conflict章节UB地址位数存在off-by-one错误", originally titled "[Bug-Report|缺陷反馈]: Bank Conflict章节UB地址位数存在off-by-one错误".
lihuaichao
lihuaichaoCollaborators
Oct 22 Comments:

您好,感谢您的反馈,我们已将UB_ADDR[18:0]修改为UB_ADDR[17:0]。

我们先关闭此issue。后续如果有其他问题,欢迎再提issue交流~

likedislike
lihuaichaolihuaichaoCollaborators
Oct 22 changed custom state from 待办的 to 已解决
lihuaichaolihuaichaoCollaborators
Oct 22 Close issue
CANN-robotCANN-robotCollaborators
Oct 22 Added label: resolved