由于本项目仿真一直在Linux下,如果采用Window平台仿真,可能会出现如下错误
at 00000600, Frame Number = 00, mb_x_first = 00, mb_y_first = 00
# at 00049380, Error!
# (MV_X,MV_Y) should be (0c,0c), however is (04,0d)
# at 00050020, Error!
# FIME_PARTITION should be 000000000000000000000000000000000000000000, however is 001000000000000000000000000000001100000011
# at 00050065, Frame Number = 00, mb_x_first = 01, mb_y_first = 00
# ** Note: $finish : ./tb_top.v(783)
# Time: 50380 ns Iteration: 0 Instance: /tb_top
修改办法: 修改/sim/h265core/tb_top.v
# 将所有的$fopen语句修改一下
$fopen( XXXX ,"r" ); -> $fopen( XXXX ,"rb" )