1.之前的my_transaction 是mac 包,其中的pload 是ip 包,如下:
2.现在要求mac 中指定ip 地址等数据,需要约束mac 包跑咯爱的值:
要对ip_transaction 约束,需自己计算,容易错。
3.可简化:
可重用性不高。
4.加入crc错误,如下:
、
只变了一行。
5.给DUT IP...
分类:
其他好文 时间:
2015-07-09 14:43:13
阅读次数:
200
1 class Crc 2 { 3 // CRC-ITU查找表 4 private static UInt16[] crctab16 = new UInt16[] 5 { 6 0x0000, 0x1189, 0x231...
分类:
其他好文 时间:
2015-07-08 09:27:46
阅读次数:
146
当system分区预制过多apk时如果img size超过2G 在make otapackage时会报如下错误
zipfile.LargeZipFile: Zipfile size would require ZIP64 extensions
或
in writestr zinfo.CRC = crc32(bytes) & 0xffffffff # CRC-32 checksu...
分类:
移动开发 时间:
2015-07-07 21:18:13
阅读次数:
498
1.依然将normal_sequence作为default_sequence。产生crc 错误用例,重新定义driver:
2.在build_phase 中重载:
1)对于特别异常的测试用例,使用sequence 非常麻烦,重载driver 就会体现优势。
3.scoreboard 与参考模型也可以重载。尤其对参考模型来说,处理异常相当耗时。如果所有异常都用一...
分类:
其他好文 时间:
2015-07-07 17:13:34
阅读次数:
119
1.假设正常的sequence 被作为测试用例的default_sequence:
2.派生一个异常crc:
1)使用之前方法要新建一个sequence,然后default。
3.现在可以重载...
分类:
其他好文 时间:
2015-07-07 12:58:05
阅读次数:
137
https://www.kernel.org/doc/Documentation/crc32.txtA brief CRC tutorial.A CRC is a long-division remainder. You add the CRC to the message, and the wh....
分类:
其他好文 时间:
2015-06-29 06:25:22
阅读次数:
197
AN4187 - Using the CRC peripheral in the STM32 familyAt start up, the algorithm sets CRC to the Initial_Crc XOR with the Input_Data.Once CRC MSB is eq...
分类:
其他好文 时间:
2015-06-29 06:11:26
阅读次数:
178
http://www.barrgroup.com/Embedded-Systems/How-To/Additive-ChecksumsCRC Series, Part 1: Additive ChecksumsSat, 2007-12-01 23:21-webmasterbyMichael Barr...
分类:
其他好文 时间:
2015-06-27 16:07:47
阅读次数:
212
// STM32 CRC32 Test App - sourcer32@gmail.com#include #include DWORD Crc32( DWORD Crc, DWORD Data ){ int i; Crc = Crc ^ Data; for ( i = 0; i > ...
分类:
其他好文 时间:
2015-06-27 15:53:45
阅读次数:
235