在线咨询
eetop公众号 创芯大讲堂 创芯人才网
切换到宽版

EETOP 创芯网论坛 (原名:电子顶级开发网)

手机号码,快捷登录

手机号码,快捷登录

找回密码

  登录   注册  

快捷导航
搜帖子
查看: 2291|回复: 1

[求助] UVM的transaction比对时怎么去掉record信息

[复制链接]
发表于 2016-9-8 15:56:52 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册

x
UVM_INFO @ 1470: reporter [MISCMP] 1 Miscompare(s) for object req_ext1@949 vs. my_transaction@897
Compare FAILED
the expect pkt is
------------------------------------------------------------------------------------------------
Name                           Type                 Size  Value                                 
------------------------------------------------------------------------------------------------
req_ext1                       my_ext1_transaction  -     @949                                 
  dmac                         integral             48    'h111111111111                        
  smac                         integral             48    'h222222222222                        
  ether_type                   integral             16    'h3333                                
  pload                        da(integral)         50    -                                    
    [0]                        integral             8     'h30                                 
    [1]                        integral             8     'h4a                                 
    [2]                        integral             8     'hd9                                 
    [3]                        integral             8     'hdf                                 
    [4]                        integral             8     'h32                                 
    ...                        ...                  ...   ...                                   
    [45]                       integral             8     'hef                                 
    [46]                       integral             8     'hd1                                 
    [47]                       integral             8     'h85                                 
    [48]                       integral             8     'h5                                   
    [49]                       integral             8     'h66                                 
  crc                          integral             32    'h192b181a                           
  begin_time                   time                 64    0                                    
  end_time                     time                 64    1430                                 
  depth                        int                  32    'd2                                   
  parent sequence (name)       string               11    my_sequence                           
  parent sequence (full name)  string               38    uvm_test_top.env.i_agt.sqr.my_sequence
  sequencer                    string               26    uvm_test_top.env.i_agt.sqr            
------------------------------------------------------------------------------------------------
the actual pkt is
----------------------------------------------------
Name            Type            Size  Value         
----------------------------------------------------
my_transaction  my_transaction  -     @897         
  dmac          integral        48    'h111111111111
  smac          integral        48    'h222222222222
  ether_type    integral        16    'h3333        
  pload         da(integral)    50    -            
    [0]         integral        8     'h30         
    [1]         integral        8     'h4a         
    [2]         integral        8     'hd9         
    [3]         integral        8     'hdf         
    [4]         integral        8     'h32         
    ...         ...             ...   ...           
    [45]        integral        8     'hef         
    [46]        integral        8     'hd1         
    [47]        integral        8     'h85         
    [48]        integral        8     'h5           
    [49]        integral        8     'h66         
  crc           integral        32    'h192b181a   
----------------------------------------------------

--- UVM Report Summary ---

** Report counts by severity
UVM_INFO :    3
UVM_WARNING :    1
UVM_ERROR :    0
UVM_FATAL :    0
** Report counts by id
[MISCMP]     2
[RNTST]     1
[UVM_DEPRECATED]     1
$finish called from file "/home/eda/synopsys/vcs_2014_32/etc/uvm-1.1/base/uvm_root.svh", line 438.
$finish at simulation time                 1530
           V C S   S i m u l a t i o n   R e p o r t
Time: 1530 ns
cpu Time:      1.490 seconds;       Data structure size:   0.3Mb
Sun Sep  4 05:34:33 2016
Note: Execution of simv_ exited with code 1
CPU time: 14.439 seconds to compile + .408 seconds to elab + 1.159 seconds to link + 2.049 seconds in simulation
发表于 2016-12-12 17:46:26 | 显示全部楼层
刚学不久,个人愚见,仅供参考。请问是使用的Field_automation机制吗?如果是可以使用类似如下:
`uvm_field_int(depth, UVM_ALL_ON | UVM_NOCOMPARE)
若有错误还请指正!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

站长推荐 上一条 /2 下一条

小黑屋| 关于我们| 联系我们| 在线咨询| 隐私声明| EETOP 创芯网
( 京ICP备:10050787号 京公网安备:11010502037710 )

GMT+8, 2024-4-28 13:51 , Processed in 0.017131 second(s), 7 queries , Gzip On, Redis On.

eetop公众号 创芯大讲堂 创芯人才网
快速回复 返回顶部 返回列表