11 2017 档案

关于pcie 3.0的128B/130B编码
摘要:128B/130B是指在128bit前面加上2bit的sync header来组成130bit的block.sync header可以用来指示该block为data block(10b)或Order set block(01b)。注意sync header只是data block的alignment 阅读全文

posted @ 2017-11-30 16:23 lybinger 阅读(6806) 评论(0) 推荐(0)

generate
摘要:genvar i; generate for(i=0; i<NUM; i++) begin:GEN_BLK ... end endgenerate 这一段在编译后将会生成NUM个名称为GEN_BLK[0]~[NUM-1]的模块,该模块内的内容可以通过GEN_BLK[0]~[NUM-1]来索引。 如果 阅读全文

posted @ 2017-11-28 16:18 lybinger 阅读(601) 评论(0) 推荐(1)

参数化类
摘要:class stack #(type T=int); local T item[]; task push(T a);... endtask task pop(ref T a);... endtask endclass stack#(real) rs; class D1 #(type P=real) 阅读全文

posted @ 2017-11-28 15:12 lybinger 阅读(212) 评论(0) 推荐(0)

system verilog如何释放内存
摘要:system verilog会自动释放内存。当离开动态变量所在的作用域后,变量所占据的内存会被自动释放。 对于class类型的object,可以通过赋值null来主动释放内存。 阅读全文

posted @ 2017-11-27 16:49 lybinger 阅读(630) 评论(0) 推荐(0)

factory
摘要:The purpose of the UVM factory is to allow an object of one type to be substituted with an object of a derrived type without having to change the stru 阅读全文

posted @ 2017-11-27 16:46 lybinger 阅读(331) 评论(0) 推荐(0)

SV打印数组
摘要:int data_array[6]={0,1,2,3,4,5}; $display("data array is: %p", data_array); print: data array is: {0,1,2,3,4,5} 阅读全文

posted @ 2017-11-15 14:56 lybinger 阅读(1779) 评论(0) 推荐(0)

denali vip
摘要:Adding PciePureSpecTests parameter to your .denalirc file will enable you to control which tests are run. If this parameter is absent, TripleCheck wil 阅读全文

posted @ 2017-11-07 13:07 lybinger 阅读(411) 评论(0) 推荐(0)

导航