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

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

手机号码,快捷登录

手机号码,快捷登录

找回密码

  登录   注册  

快捷导航
搜帖子
查看: 3899|回复: 4

[求助] vcs后仿时编译报出的warnning有没有相关的官方说明文档可以查呢

[复制链接]
发表于 2022-2-22 14:58:04 | 显示全部楼层 |阅读模式

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

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

x
image.png
类似这的一些警告,主要想知道对我的设计有没有影响
 楼主| 发表于 2022-2-22 14:58:54 | 显示全部楼层
自己顶自己
发表于 2022-2-22 15:11:23 | 显示全部楼层
Description
Resolving "[SDFCOM_SWC] Simple Wire Connection" Warning
Question:

What are the reasons for VCS to generate the "SDFCOM_SWC" warning message, as
shown below?

-------------------------------------------------------------------------------
Warning-[SDFCOM_SWC] Simple Wire Connection
test.sdf, 20
module: child1, "instance: top.father.B"
  SDF Warning: The path from B.X to C.A doesn't have a simple wire connection,
  delay will still be annotated.
-------------------------------------------------------------------------------
Answer:

A simple wire connection is like connecting the same wire to the two nodes.
So in the code, even the name of the wire should not change (bit select / part
select is allowed).

If an interconnect delay is specified from point A to point B, but points A and
B are not connected by a simple wire connection (no connection at all or
connected though gates, buffers, or instances of other modules), this warning
message is generated. VCS still annotates the delay to the output port properly.

In the following example, consider that the interconnect delay is annotated
from x/a to y/b as:
-------------------------------------------------
        (CELL
          (CELLTYPE "top")
          (INSTANCE)
          (DELAY
            (ABSOLUTE
            (INTERCONNECT x/a y/b (1:2:3)(4:5:6))
            )
          )
        )
-------------------------------------------------

and the hierarchy is as shown below:
----------------------------------------------------------------------------
        // Dummy code:
        //
        module top ();
        wire a , b;
            X x (a) ;

         // Y y (a) ; // Uncommenting this line will not give any warning

            Y y (b) ; // Uncommenting this line will give SDFCOM_SWC warning
                      // because there is no simple wire connection between
                      // a and b
----------------------------------------------------------------------------


Question:
What should you do to resolve the "SDFCOM_SWC" warning?
Answer:

As this is just a notification message, you can safely ignore it.
Using the "+warn=noSDFCOM_SWC" switch at compile-time will supress this warning.

However, if the RTL is modified to establish a wire connection between "a" and
"b", using simple assignment statement, as shown below, along with b connected
to the instance "y" of module "Y", then the SDFCOM_SWC warning will not appear
and now you will run into the SDFCOM_IWSBA warning:

        assign b = a ;

-------------------------------------------------------------------------------
Warning-[SDFCOM_IWSBA] INTERCONNECT will still be annotated
test.sdf, 19
module: X, "instance: top.x"
  SDF Warning: INTERCONNECT from x.a to y.b has Continuous Assignment at
  test.v:46, delay will still be annotated.
----------------------------------------------------------------------------
发表于 2022-11-28 17:12:18 | 显示全部楼层
同问
发表于 2024-6-7 09:24:10 | 显示全部楼层
为啥我昨天的回复没审核通过
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

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


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

GMT+8, 2024-11-23 23:31 , Processed in 0.016830 second(s), 6 queries , Gzip On, Redis On.

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