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

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

手机号码,快捷登录

手机号码,快捷登录

找回密码

  登录   注册  

快捷导航
搜帖子
查看: 7844|回复: 9

[原创] 急问。VCS怎么加载SDF文件

[复制链接]
发表于 2011-12-12 09:15:43 | 显示全部楼层 |阅读模式

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

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

x
加了-sdf max:aaa:file_name.这样的选项。为什么VCS还是报错,说格式错误?
请问正确的命令是什么?
谢谢
 楼主| 发表于 2011-12-12 14:58:06 | 显示全部楼层
多谢回复。现在好了。我在test pattern里面,直接加戴$sdf_annotate();
但这个时候由于sdf的路径是到设计的顶层。而我的gate_sim顶层是到test bench为止。是不是需要人为的修改timing arc的路径?
发表于 2011-12-12 20:10:05 | 显示全部楼层
回复 4# zhq415758192


    学习学习
发表于 2011-12-12 21:48:26 | 显示全部楼层
学习学习
 楼主| 发表于 2011-12-13 09:28:37 | 显示全部楼层
回复 4# zhq415758192


    多谢。有个问题。我的test bench里面例化了两个design.这种情况该怎么标。比如我的design是aaa.
test bench里面有两个,hierachy分别是tb/aaa_0和tb/aaa_1。这种情况怎么弄?谢谢
发表于 2014-3-17 19:43: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
发表于 2015-2-11 10:16:28 | 显示全部楼层
Separate Annotations
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

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

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

GMT+8, 2024-6-5 11:49 , Processed in 0.028506 second(s), 8 queries , Gzip On, Redis On.

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