报告每个 SLR 可用的 DDR 和 PLRAM 存储器连接,如以下输出示例所示。
Type: ddr4
Bus SP Tag: DDR
Segment Index: 0
Consumption: automatic
SP Tag: bank0
SLR: SLR0
Max Masters: 15
Segment Index: 1
Consumption: default
SP Tag: bank1
SLR: SLR1
Max Masters: 15
Segment Index: 2
Consumption: automatic
SP Tag: bank2
SLR: SLR1
Max Masters: 15
Segment Index: 3
Consumption: automatic
SP Tag: bank3
SLR: SLR2
Max Masters: 15
Bus SP Tag: PLRAM
Segment Index: 0
Consumption: explicit
SLR: SLR0
Max Masters: 15
Segment Index: 1
Consumption: explicit
SLR: SLR1
Max Masters: 15
Segment Index: 2
Consumption: explicit
SLR: SLR2
Max Masters: 15
Bus SP Tag
头可以是 DDR 或 PLRAM,并可提供以下关联信息。
Segment Index
字段与 SP Tag
搭配使用,以生成关联的存储器资源索引,如下所示。
Bus SP Tag[Segment Index]
例如,如果 Segment Index
为 0,则关联 DDR 资源索引为 DDR[0]。
此存储器索引在 v++
命令中指定存储器资源时使用,如下所示:
v++ … --connectivity.sp vadd.m_axi_gmem:DDR[3]
每个 SLR 都可能存在多个关联的 Segment Index
。例如,在以上输出中,SLR1 具有 Segment Index
1 和 2。
Consumption
字段指示构建设计时所用的存储器资源量:
- default
- 如不指定
--connectivity.sp
指令,那么默认它会在v++
构建期间使用此存储器资源。例如,在以下报告中,默认使用含Segment Index
1 的 DDR。
- automatic
- 如果在
Consumption: default
下已使用的存储器接口数量已达最大值,那么将使用automatic
下的接口。在Max Masters字段下,提供了每个存储器资源的最大接口数。
- explicit
- 对于 PLRAM,“consumption”设为
explicit
,表示当通过v++
命令行显式指示仅限使用此存储器资源时,才会使用此资源。