The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
May 19th, 2024, 5:11pm
Pages: 1
Send Topic Print
[Help] error on simulation about verilogA block (Read 4216 times)
Patrick520
New Member
*
Offline



Posts: 4
Hong Kong
[Help] error on simulation about verilogA block
Mar 08th, 2011, 1:19am
 
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?
Back to top
 
 
View Profile   IP Logged
rfidea
Senior Member
****
Offline



Posts: 159
Europe
Re: [Help] error on simulation about verilogA block
Reply #1 - Mar 8th, 2011, 3:53am
 
About the m. Check the parameters your other components, the pulse source and resistor it there is any m there. m is used as multiplier for resistors. Check the resistor parameters carefully.

If you do not find the problem, please post your netlist, which is the file input.scs
Back to top
 
 
View Profile   IP Logged
sheldon
Community Fellow
*****
Offline



Posts: 751

Re: [Help] error on simulation about verilogA block
Reply #2 - Mar 8th, 2011, 5:14am
 
Patrick,

  Have you looked at the netlist? Is the variable used in the
netlist?

                                                   Best Regards,

                                                      Sheldon
Back to top
 
 
View Profile   IP Logged
Pages: 1
Send Topic Print
Copyright 2002-2024 Designer’s Guide Consulting, Inc. Designer’s Guide® is a registered trademark of Designer’s Guide Consulting, Inc. All rights reserved. Send comments or questions to editor@designers-guide.org. Consider submitting a paper or model.