AXI4 · 混合指标

ACTUAL TUI CAPTURE · XPVKIT 0.5.5

检查 WSTRB、Partial write、延迟与背压。 以下内容由同一份 CSV 经 release 工具实际打印,网页仅回放终端输出。

XPVKIT  ·  PV SUMMARY
traffic                                                                                                   AXI / CSV 2.0
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
12.00 µs  ·  1,001 rows  ·  integrity OK

ACTIVITY                                BANDWIDTH                               OUTSTANDING                            
─────────                               ─────────                               ───────────                            
72.61%                                  total 2.90 GB/s                         avg 1.39                               
idle 3.29 µs                            R 1.48  ·  W 1.43 GB/s                  peak 3                                 
                                        peak 24.44 GB/s                                                                
Partial write: 8.16% (16 / 196 known beats; 0 unknown) [WSTRB]

 TRAFFIC
 ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Write
    transactions                                32  burst size      avg 392.00 B  p95 1,024.00 B  max 1,024.00 B
    beats / txn     avg 6.12  p95 16.00  max 16.00  WSTRB partial   16 / 196  (8.16%)                           

Read
    transactions                                34  burst size      avg 378.35 B  p95 1,024.00 B  max 1,024.00 B
    beats / txn     avg 5.91  p95 16.00  max 16.00                                                              

 LATENCY
 ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Write    avg 273.25 ns  p50 278.00 ns  p95 322.00 ns  max 338.00 ns
Read     avg 232.53 ns  p50 230.00 ns  p95 298.00 ns  max 298.00 ns

 PV TREND
 ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Read BW   ▁▁▁▂▁▃▁▅▁▅▁▁▁▂▁▃▁▁▅▁█▁▁▁▂▁▃▁▃▁▁█▁▁▁▁▁▃▁▅▁▁█▁▁▂▁▂▁▁▄▁▆▁▁▁▂▁▃▁▁▅▁█▁▁▁▂▁▃▁▃  avg 1.48 GB/s
                                                                                                 
Write BW  ▂▁▅▁▁▁▁▃▁▆▁▂▁▁▃▁▁▁▃▁▃▆▁▂▁▅▁▁▁▁▃▁█▁▂▁▁▅▁▁▁▃▁▃▅▁▂▁▄▁▁▁▁▃▁█▁▂▁▁▅▁▁▁▃▁▁▆▁▂▁▃  avg 1.43 GB/s
                                                                                                 
Read OS   ▁▅▅▅▅▅▅▅▅▅▅▁▅▅▅▅▅▅▅▅█▅▅▅▅▅▅▅▅▅▅█▅▅▅▅▅▅▅▅▅▅▅▅▅▅▅▅▅▅▅▅█▅▅▅▅▅▅▅▅▅▅█▅▅▅▅▅▅▅▅  avg 0.66     
                                                                                                 
Write OS  ▅▅▅▅▅▅▅▅▅█▅▅▅▅▅▅▅▅▅▅▅▅▅▅▅▅▅█▅▅▅▅▅▅█▅█▅▅▅▅▅▅▅▅▅█▅▅▅▅▅▅▅▅█▅▅▅▅▅▅█▅▅▅▅▅▅▅▅▅  avg 0.73     

 BACKPRESSURE
 ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
AW        ·······························░········································   57.14%
W         ····································░···································   15.45%
B         ········································································    0.00%
                                                                                           
AR        ········································································    0.00%
R         ···········································░····························   20.47%
density   low ░▒▓█ high                                                                    

 INTEGRITY
 ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Protocol checks  OK  no structural or transaction-matching issues detected

──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Active window  928.00 ns → 9.64 µs  ·  auto-active  ·  1 region
Bandwidth: accepted-data; transactions / latency / outstanding / backpressure: capture
HTML report             pvkit/examples/axi4/mixed_metrics/traffic.pv.html                                              
Tracker log             pvkit/examples/axi4/mixed_metrics/traffic.tracker.log                                          
Analyze log             pvkit/examples/axi4/mixed_metrics/traffic.analyze.log                                          

使用已有的 xpvkit 0.5.5 工具,从仓库根目录复现(Rich 为彩色 TUI 的可选依赖):

python xpv.pyz analyze pvkit/examples/axi4/mixed_metrics/traffic.csv --report-mode standard --trend all

默认带宽按实际数据活动窗口计算;事务、延迟与诊断保留完整 capture 范围。TUI 是输出式报告,鼠标选窗与事务查询请打开交互 HTML。