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

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

手机号码,快捷登录

手机号码,快捷登录

找回密码

  登录   注册  

快捷导航
搜帖子
查看: 4205|回复: 6

[原创] 请教一个vcs后仿的反标问题

[复制链接]
发表于 2011-12-14 20:42:57 | 显示全部楼层 |阅读模式

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

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

x
所有的cell delay都是0. 好像都没有用sdf文件里面,就全用的是lib里的值
读sdf文件的时候没有error只有warning.比如io path没有发现。但是cell相关的warning却一个没有。。。
请问这种情况是怎么回事?

lib的timescale也检查过了,没有问题。。真是奇怪。

我的sdf的top是aaa.但我bench里例化了两个aaa.这种情况的话sdf要怎么加载?

谢谢
发表于 2011-12-20 15:46:08 | 显示全部楼层
你写的太简单了,至少把错误代码贴出来吧?
发表于 2011-12-20 15:57:22 | 显示全部楼层
指定一下反标的范围
比如:top.U_aaa1;top.U_aaa2
发表于 2012-1-3 15:43:27 | 显示全部楼层
实例化两个的时候需要分别反标
aaa_1 aaa(...); aaa_2 aaa(...);
反标是:
$sdf_annotate (“xxx.sdf”, aaa_1);
$sdf_annotate (“xxx.sdf”, aaa_2);
发表于 2012-1-8 22:59:57 | 显示全部楼层
sdf_annotate函数用错了吧。没有指定对scope
发表于 2014-3-17 20:05:02 | 显示全部楼层
Separate Annotations
----------------------
This example shows separate annotations to distinct portions of a design hierarchy. There is
no configuration file specification, so the SDF Annotator uses the defaults.
module top;
•••
cpu m1(i1,i2,i3,o1,o2,o3);
fpu m2 (i4,o1,o3,i2,o4,o5,o6);
dma m3(o1,o4,i5,i6,i2);
// perform annotation
initial
begin
         $sdf_annotate("cpu.sdf",m1,,"cpu.log");
         $sdf_annotate("fpu.sdf",m2,,"fpu.log");
         $sdf_annotate("dma.sdf",m3,,"dma.log");
end
// stimulus and response-checking
•••
endmodule

Annotation with Arrays of Instances
------------------------------------
This example shows arrays of instance in a design hierarchy. There is no configuration file
specification, so the SDF Annotator uses the defaults.
module top;
•••
  cpu ar[1](i1,i2,i3,o1,o2,o3);
  fpu ar[2](i4,o1,o3,i2,o4,o5,o6);
  dma ar[3](o1,o4,i5,i6,i2);
  // perform annotation
  initial
  begin
         $sdf_annotate("cpu.sdf",ar[1],,"cpu.log");
         $sdf_annotate("fpu.sdf",ar[2],,"fpu.log");
         $sdf_annotate("dma.sdf",ar[3],,"dma.log");
  end
  // stimulus and response-checking
•••
endmodule

-------------------------------------
$sdf_annotate System Task Syntax
-------------------------------------
    $sdf_annotate ( “sdf_file”
                           {, module_instance}
                           {, “config_file”}
                           {, “log_file”}
                           {, “mtm_spec”}
                           {, “scale_factors”}
                           {, “scale_type”} );

Note: You must specify the arguments to the $sdf_annotate system task in the order
         shown in the syntax. You can skip an argument specification, but the number of comma
         separators must maintain the argument sequence. For example, to specify only the first and
         last arguments, use the following syntax:


                  $sdf_annotate ( “sdf_file”,,,,,, “scale_type”);
发表于 2014-3-17 20:06:00 | 显示全部楼层
Separate Annotations
----------------------
This example shows separate annotations to distinct portions of a design hierarchy. There is
no configuration file specification, so the SDF Annotator uses the defaults.
module top;
•••
cpu m1(i1,i2,i3,o1,o2,o3);
fpu m2 (i4,o1,o3,i2,o4,o5,o6);
dma m3(o1,o4,i5,i6,i2);
// perform annotation
initial
begin
         $sdf_annotate("cpu.sdf",m1,,"cpu.log");
         $sdf_annotate("fpu.sdf",m2,,"fpu.log");
         $sdf_annotate("dma.sdf",m3,,"dma.log");
end
// stimulus and response-checking
•••
endmodule

Annotation with Arrays of Instances
------------------------------------
This example shows arrays of instance in a design hierarchy. There is no configuration file
specification, so the SDF Annotator uses the defaults.
module top;
•••
  cpu ar[1](i1,i2,i3,o1,o2,o3);
  fpu ar[2](i4,o1,o3,i2,o4,o5,o6);
  dma ar[3](o1,o4,i5,i6,i2);
  // perform annotation
  initial
  begin
         $sdf_annotate("cpu.sdf",ar[1],,"cpu.log");
         $sdf_annotate("fpu.sdf",ar[2],,"fpu.log");
         $sdf_annotate("dma.sdf",ar[3],,"dma.log");
  end
  // stimulus and response-checking
•••
endmodule

-------------------------------------
$sdf_annotate System Task Syntax
-------------------------------------
    $sdf_annotate ( “sdf_file”
                           {, module_instance}
                           {, “config_file”}
                           {, “log_file”}
                           {, “mtm_spec”}
                           {, “scale_factors”}
                           {, “scale_type”} );

Note: You must specify the arguments to the $sdf_annotate system task in the order
         shown in the syntax. You can skip an argument specification, but the number of comma
         separators must maintain the argument sequence. For example, to specify only the first and
         last arguments, use the following syntax:
                  $sdf_annotate ( “sdf_file”,,,,,, “scale_type”);
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

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

×

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

GMT+8, 2024-5-8 08:17 , Processed in 0.030920 second(s), 8 queries , Gzip On, Redis On.

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