3 APB-Matrix 测试点梳理

1. DUT 是哪种类型?不同类型的测试点如何梳理?

2.0 处理器 (TO-DO)

2.1 总线协议类 (cookbook, APB3)

APB3 procotol testplan:

sectiondescriptioncoverage typepriority
unknown signal valu checks
PRESETnbe always in a known state.asserion1
PSELasserion1
Timing relationship checks
Other checks
functinal coverage

在这里插入图片描述

2.2 高速接口 (TO-DO)

2.3 低速接口

1) 低速概念?uart 速率,I2C 速率?

uart 速率与收发器对数有关,RS232/422/485 ,不同标准支持速率不同,112.5kbps ~ 10Mbps(参考博文)

I2C 速率通常由控制 SCL 信号线的主设备决定,不同模式速率不同,100kbps ~ 5Mbps (参考博文)

2) uart 验证点 (cookbook)

sectiondesciptioncoverage typepriority
寄存器
Reset valuesregisters return the specified reset valuestest result1
register accessesall registers been accessed for all possible access modescovergroup, cross1
bit level register accessall r/w bits in the registers toggle correctlytest result1
APB protocolAPB protocol has been tested in all modesAPB monitor1
发送器
character formatsall possible character formats are transmitted correctlycovergroup, cross1
TX FIFO empty flagwhen the fifo is empty, the fifo empty flag is set; and is read back correctlyassertion, covergroup1
TX empty flagthe ransmit empty flag is set correctly and is read back correctlyassertion, covergroup1
接收器
character formatsall possible character formats are received correctlycovergroup, cross1
data received flagthe flag is set when data is available and read back correctlyassertion, covergroup1
RX Line Status
framing errorframing errors are detected for one/two stop bitsassertion, covergroup2
parity errorparity errors are deteced for all types of parityassertion, covergroup1
break indicationa break condition is detected correctly for all character formatscovergroup, cross2
overrun errorrx overrun is detected for all character formatscovergroup, cross2
FIFOEFIFO Error condition is valid for all error/indcation typecovergroup, cross2
Statusany valid combination of error/indicator has been observedcovergroup, cross2
Moderm interface
moderm outputsall combinations of moderm output have been seencovergroup, cross3
moderm inputs1. all combination of modem input values have been seen 2. the moderm input status change signals work correctly.1. covergroup cross; assertion, covergroup3
loopback modecovergroup2
中断
interrupt enableall combinations of the interrupt enable bits have been usedcovergroup, cross1
interrupt IDall valid interrupt IDs have been detectedcovergroup, cross1
receive FIFO interrupt1. seen for all possible character formats 2. all possible RX FIFO threshold values checked.covergroup, cross2
rx line status interruptinterrupts generated for all possible combinations of errors and indicators for all character formats.covergroup, cross1
transmit empty interruptgenerated for all character formatscovergroup, cross1
modem status interruptgenerated for all combinations of the signal change bitscovergroup, cross3
receive timeout interruptcheck for the shortest and longest character format and 4 other formatscovergroup4
波特率
divider values1. check uart operation for a range of baud rate divider values 2. check baud rate divider ratio for a selection of values via baud rate divider outputcovergroup2
code coverage
statement coverage
branch coverage
FSM coverage

4) 数据流处理 (TO-DO, UART/I2C?)

5) 算法处理模块 (cookbook, TO-DO)

2. AHB-Matrix 测试计划表格整理

2.1 参考哪些 input,梳理测试点

<apb_databook> function description; coreconsult configuration.

2.2 测试计划表格

Sectiondescriptioncovertypepriority
寄存器
接口(数据传输)
地址范围
仲裁
中断

3 重点

3.1 Register description

在这里插入图片描述

RegisterOffsetbitsDescription
AHB_PL10x0100_000032[3:0] ; arbitration priority for master 1 register used for programming the AHB master 1 priority
AHB_PL20x0100_000432[3:0] ; arbitration priority for master 2
AHB_PL30x0100_000832[3:0] ; arbitration priority for master 3
AHB_EBTCOUNT0x0100_003c32[9:0] ; Early burst termination count register. Maximum number of cycles a transfer can take before being subject to an early burst termination.
AHB_EBT_EN0x0100_0040320; Early burst termination enable is to enable or disable EBT through the software programming
AHB_EBT0x0100_0044320; Early burst termination register. Set when an Early Burst Termination takes place. The register is cleared when read by the processor.
AHB_DFLT_MASTER0x0100_004832[3:0] ; Default manager ID number register. The default manager is the manager that is granted by the bus when no manager has requested ownership.
AHB_VERSION_ID0x0100_009032This register provides the component version ID.

3.2 EBT (Early Burst Termination)

TO-DO

  • 26
    点赞
  • 12
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值