|
楼主 |
发表于 2009-5-16 16:17:48
|
显示全部楼层
我按照_Ryu提供的例子输进去,仿真的时候还是会出现收敛问题,参数也按照iamxo说的那样设置了。具体得到的outlog文件如下;请帮忙看看:
Command line:
/root/cadence/tools.lnx86/spectre/bin/32bit/spectre -env \
artist5.1.0 +escchars +log ../psf/spectre.out +inter=mpsc \
+mpssession=spectre0_3041_20 -format sst2 -raw ../psf \
+lqtimeout 900 input.scs
spectre pid = 4459
Loading /root/cadence/tools.lnx86/cmi/lib/4.0/libinfineon_sh.so ...
Loading /root/cadence/tools.lnx86/cmi/lib/4.0/libnortel_sh.so ...
Loading /root/cadence/tools.lnx86/cmi/lib/4.0/libphilips_sh.so ...
Loading /root/cadence/tools.lnx86/cmi/lib/4.0/libsparam_sh.so ...
Loading /root/cadence/tools.lnx86/cmi/lib/4.0/libstmodels_sh.so ...
spectre (ver. 5.10.41_USR3.102405 -- 24 Oct 2005).
Includes RSA BSAFE(R) Cryptographic or Security Protocol Software from RSA
Security, Inc.
Simulating `input.scs' on localhost at 7:37:06 PM, Fri Jan 2, 2009.
Opening directory /root/Veriloga/dff/veriloga/veriloga.va.ahdlcmi/ (770)
Installed compiled interface for dff.
Notice from spectre during topology check.
Only one connection to the following 3 nodes:
vdd!
A
B
Circuit inventory:
nodes 6
equations 12
ahdl simulator 1
dff 1
vsource 4
Entering remote command mode using MPSC service (spectre, ipi, v0.0,
spectre0_3041_20, ).
************************************************
Transient Analysis `tran': time = (0 s -> 10 us)
************************************************
Matrix is singular (detected at `B' and `I12:NQ_flow').
Circuit has a nonisolated solution.
Trying `homotopy = gmin' for initial conditions.
Matrix is singular (detected at `B' and `I12:NQ_flow').
Circuit has a nonisolated solution.
Trying `homotopy = source' for initial conditions.
Trying `homotopy = dptran' for initial conditions.
Matrix is singular (detected at `B' and `I12:NQ_flow').
Circuit has a nonisolated solution.
Matrix is singular (detected at `B').
Circuit has a nonisolated solution.
Trying `homotopy = ptran' for initial conditions.
Matrix is singular (detected at `B').
Circuit has a nonisolated solution.
Trying `homotopy = arclength' for initial conditions.
Error found by spectre during IC analysis, during transient analysis `tran'.
Matrix is singular (detected at `B').
No DC solution found (no convergence).
The values for those nodes that did not converge on the last Newton iteration
are given below. Also given is the manner in which the convergence
criteria were not satisfied in the following form:
Failed test: | Value | > RelTol*Ref + AbsTol
The following set of suggestions may help you avoid these convergence
difficulties. Once you have a solution, write it to a nodeset file
using the `write' parameter, and read it back in on subsequent
simulations using the `readns' parameter.
1. Carefully evaluate and resolve any notice, warning or error messages.
2. Perform sanity checking on the parameter values using the parameter range
checker (use ``+param param-limits-file'' as a command line argument)
and heed any warnings. Print the minimum and maximum parameter value
using the `info' analysis. Assure that the bounds given for instance,
model, output, temperature-dependent, and operating-point (if possible)
parameters are reasonable.
3. Check the direction of both independent and dependent current sources.
Convergence problems can result if current sources are connected such
that they force current backward through diodes.
4. Enable diagnostic messages by setting option `diagnose=yes'.
5. Small floating resistors connected to high impedance nodes can cause
convergence difficulties. Avoid very small floating resistors,
particularly small parasitic resistors in semiconductors. Use voltage
sources or iprobes to measure current rather than small resistors.
6. If you have an estimate of what the solution should be, use nodeset
statements or a nodeset file and set as many nodes as possible.
7. Use realistic device models. Check all component parameters, particularly
nonlinear device model parameters, to assure that they are reasonable.
8. If simulating a bipolar analog circuit, assure the region parameter on all
transistors and diodes is set correctly.
9. Loosen tolerances, particularly absolute tolerances like `iabstol' (on
options statement). If tolerances are set too tight, they might
preclude convergence.
10. Increase the value of gmin (on options statement).
11. Use numeric pivoting in the sparse matrix factorization by setting
`pivotdc=yes' (on options statement). Sometimes it is also necessary
to increase the pivot threshold to somewhere in the range of 0.1 to 0.5
using `pivrel' (on options statement).
12. Try to simplify the nonlinear component models in order to avoid regions
in the model that may contribute to convergence problems.
13. Divide the circuit into smaller pieces and simulate them individually, but
be careful to assure that the results will be close to what they would
be if the rest of the circuit was present. Use the results to generate
nodesets for the whole circuit.
14. If all else fails, replace the DC analysis with a transient analysis and
modify all the independent sources to start at zero and ramp to their
DC values. Run the transient analysis well beyond the time when all
the sources have reached their final value (remember that transient
analysis is very cheap when all of the signals in the circuit are not
changing) and write the final point to a nodeset file. To make the
transient analysis more efficient set the integration method to
backward Euler (`method=euler') and loosen the local truncation error
criteria by increasing `lteratio', say to 50. Occasionally, this
approach will fail or be very slow because the circuit contains an
oscillator. Often times the oscillation can be eliminated for the sake
of finding the dc solution by setting the minimum capacitance from each
node to ground (`cmin') to a large value.
Analysis `tran' terminated prematurely due to error.
finalTimeOP: writing operating point information to rawfile.
Error found by spectre during DC analysis, during info `finalTimeOP'.
Analysis skipped due to inability to compute operating point.
Analysis `finalTimeOP' terminated prematurely due to error.
modelParameter: writing model parameter values to rawfile.
element: writing instance parameter values to rawfile.
outputParameter: writing output parameter values to rawfile.
designParamVals: writing netlist parameters to rawfile.
primitives: writing primitives to rawfile.
subckts: writing subcircuits to rawfile.
|
|