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

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

手机号码,快捷登录

手机号码,快捷登录

找回密码

  登录   注册  

快捷导航
搜帖子
查看: 5869|回复: 2

[求助] verilogA模块的仿真问题

[复制链接]
发表于 2011-3-8 17:13:36 | 显示全部楼层 |阅读模式

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

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

x
Hi. I am new to Cadence IC5141. I am doing a simple simulation. I use Cadence IC5141 on RHEL5.4.
I use model writer to write a delay cell, the verilogA code is listed here:

"
`include "discipline.h"
`include "constants.h"

module delay_elem (vin, vout);
input vin;
output vout;
electrical vin, vout;

parameter real td = 1.0n from (0:inf);

analog begin
V(vout) <+ absdelay(V(vin), td );
end
endmodule
"

And I use a pulse source from analogLib to give this delay cell pulses. And the delay cell is connected to a 50ohm resistor. I use the ADE (spectre) to simulate the cell.

I chose tran analysis.

However, there is error here:

Error found by spectre during circuit read-in.
"input.scs " 9 :Top-level parameter 'm' must be initialized with a value or expresstion.
Warning from spectre during circuit read-in.
"input.scs" 10: parameter name 'm' is researved for the subcircuit multiplicity factor. So a formal parameter of that name is ignored.

Error found by spectre during circuit read-in.
"input.scs" 16 : statementis not in spectre format.
Warning from spectre during AHDL read-in.
"/home/zxr/circuit_design/MyResearch/delay_1ns/veriloga/veriloga.va", line 28: warning: `(abs)delay()' dose not account for phase shift in small-signal analysis.


My question is about the variable m. I never set the variable m. And I didnot describe it in the delay cell.

Can anyone help me?
发表于 2011-3-11 22:59:16 | 显示全部楼层
1. Is there any variable appeared in  your  Artist window(down left) which is named by "m"
2. use blind Key "Q" to check your "delay cell",whether there is a parameter "m" in its   
    veriloga parameter table.
3. so far..
发表于 2015-9-24 21:44:57 | 显示全部楼层
在.bashrc 添加变量 export CDS_AHDLCMI_ENABLE=NO
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

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

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

GMT+8, 2025-1-31 19:54 , Processed in 0.013632 second(s), 6 queries , Gzip On, Redis On.

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