• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Custom IC Design
  3. Error detected in psf library while writing to file `tran...

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 125
  • Views 6413
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Error detected in psf library while writing to file `tran.tran'.

NupurSpectre
NupurSpectre over 7 years ago

Hi,

I am using virtuoso to simulate my 30k gates design and in the process i am saving all the signals along with power signals.

After 2.5ms (2.27 %) of the simulation, i am getting a fatal error "  FATAL (SPECTRE-7035): write error on PSF file: Error detected in psf library while writing to file `tran.tran'." and the simulation gets terminated.

The simulation folder has >200GB memory available and the size of file tran.tran is 1.5GB.

Please suggest how to correct this error.

Thanks in advance.

  • Cancel
  • Saloni Chhabra
    Saloni Chhabra over 7 years ago

    Hi,

    This error typically indicates insufficient diskspace but you mentioned that this shouldn't be an issue. Can you share your simulation log (spectre.out)?

    Regards,

    Saloni

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • sachin2911
    sachin2911 over 4 years ago in reply to Saloni Chhabra

    Hi 

    I also facing the same error .Please tell me how to fix this error and i also not have problem with space.

    6,088,523; 6,101,323; 6,151,698; 6,181,754; 6,260,176; 6,278,964;
    6,349,272; 6,374,390; 6,493,849; 6,504,885; 6,618,837; 6,636,839;
    6,778,025; 6,832,358; 6,851,097; 6,928,626; 7,024,652; 7,035,782;
    7,085,700; 7,143,021; 7,493,240; 7,571,401.

    Includes RSA BSAFE(R) Cryptographic or Security Protocol Software from RSA Security, Inc.

    User: buet Host: cadence HostID: 7F0100 PID: 3597
    Memory available: 559.9395 MB physical: 1.6003 GB
    CPU Type: Intel(R) Core(TM) i3-6100U CPU @ 2.30GHz
    Processor PhysicalID CoreID Frequency
    0 0 0 2304.0
    1 0 1 2304.0
    2 1 0 2304.0
    3 1 1 2304.0


    Simulating `input.scs' on cadence at 10:29:48 AM, Sun Nov 1, 2020 (process id: 3597).
    Current working directory: /home/buet/simulation/inver/spectre/schematic/netlist.
    Command line:
    /home/buet/cadence/MMSIM121/tools.lnx86/spectre/bin/32bit/spectre \
    input.scs +escchars +log ../psf/spectre.out +inter=mpsc \
    +mpssession=spectre0_3343_1 -format psfxl -raw ../psf \
    +lqtimeout 900 -maxw 5 -maxn 5
    spectre pid = 3597

    Loading /home/buet/cadence/MMSIM121/tools.lnx86/cmi/lib/5.0/libinfineon_sh.so ...
    Loading /home/buet/cadence/MMSIM121/tools.lnx86/cmi/lib/5.0/libphilips_o_sh.so ...
    Loading /home/buet/cadence/MMSIM121/tools.lnx86/cmi/lib/5.0/libphilips_sh.so ...
    Loading /home/buet/cadence/MMSIM121/tools.lnx86/cmi/lib/5.0/libsparam_sh.so ...
    Loading /home/buet/cadence/MMSIM121/tools.lnx86/cmi/lib/5.0/libstmodels_sh.so ...
    Reading file: /home/buet/simulation/inver/spectre/schematic/netlist/input.scs
    Reading file: /home/buet/cadence/gpdk090_v4.6/models/spectre/gpdk090.scs
    Reading file: /home/buet/cadence/gpdk090_v4.6/models/spectre/gpdk090_mos.scs
    Reading file: /home/buet/cadence/gpdk090_v4.6/models/spectre/gpdk090_mos_iso.scs
    Reading file: /home/buet/cadence/gpdk090_v4.6/models/spectre/gpdk090_resistor.scs
    Reading file: /home/buet/cadence/gpdk090_v4.6/models/spectre/resd_va.va
    Reading link: /home/buet/cadence/MMSIM121/tools.lnx86/spectre/etc/ahdl/discipline.h
    Reading file: /home/buet/cadence/MMSIM121/tools.lnx86/spectre/etc/ahdl/disciplines.vams
    Reading link: /home/buet/cadence/MMSIM121/tools.lnx86/spectre/etc/ahdl/constants.h
    Reading file: /home/buet/cadence/MMSIM121/tools.lnx86/spectre/etc/ahdl/constants.vams
    Reading file: /home/buet/cadence/gpdk090_v4.6/models/spectre/rnoise_va.va
    Reading file: /home/buet/cadence/gpdk090_v4.6/models/spectre/gpdk090_capacitor.scs
    Reading file: /home/buet/cadence/gpdk090_v4.6/models/spectre/gpdk090_diode.scs
    Reading file: /home/buet/cadence/gpdk090_v4.6/models/spectre/gpdk090_bipolar.scs

    Time for NDB Parsing: CPU = 1.19582 s, elapsed = 2.47833 s.
    Time accumulated: CPU = 1.19582 s, elapsed = 2.47833 s.
    Peak resident memory used = 32.3 Mbytes.


    Time for Elaboration: CPU = 68.99 ms, elapsed = 81.9309 ms.
    Time accumulated: CPU = 1.26581 s, elapsed = 2.56076 s.
    Peak resident memory used = 34.7 Mbytes.


    Time for EDB Visiting: CPU = 5 ms, elapsed = 25.0299 ms.
    Time accumulated: CPU = 1.27181 s, elapsed = 2.58615 s.
    Peak resident memory used = 35 Mbytes.


    Warning from spectre during initial setup.
    WARNING (CMI-2477): PM0: `Rds' = 70.9091 uOhm is less than 0.001. Set to 0.


    Circuit inventory:
    nodes 3
    bsim3v3 2
    vsource 2


    Warning from spectre during initial setup.
    WARNING (CMI-2477): PM0: `Rds' = 70.9091 uOhm is less than 0.001. Set to 0.


    Time for parsing: CPU = 21.996 ms, elapsed = 60.3781 ms.
    Time accumulated: CPU = 1.2938 s, elapsed = 2.64689 s.
    Peak resident memory used = 35.8 Mbytes.

    Entering remote command mode using MPSC service (spectre, ipi, v0.0, spectre0_3343_1, ).

    Warning from spectre.
    WARNING (SPECTRE-16707): Only tran supports psfxl format, result of other analyses will be in psfbin format.


    ******************
    DC Analysis `dcOp'
    ******************
    Important parameter values:
    reltol = 1e-03
    abstol(V) = 1 uV
    abstol(I) = 1 pA
    temp = 27 C
    tnom = 27 C
    tempeffects = all
    gmindc = 1 pS
    Convergence achieved in 6 iterations.
    Total time required for dc analysis `dcOp': CPU = 15.999 ms, elapsed = 52.5451 ms.
    Time accumulated: CPU = 1.3158 s, elapsed = 2.79911 s.
    Peak resident memory used = 36.6 Mbytes.

    dcOpInfo: writing operating point information to rawfile.

    ***********************************************
    Transient Analysis `tran': time = (0 s -> 10 s)
    ***********************************************
    DC simulation time: CPU = 0 s, elapsed = 298.023 us.
    Important parameter values:
    start = 0 s
    outputstart = 0 s
    stop = 10 s
    step = 10 ms
    maxstep = 200 ms
    ic = all
    useprevic = no
    skipdc = no
    reltol = 1e-03
    abstol(V) = 1 uV
    abstol(I) = 1 pA
    temp = 27 C
    tnom = 27 C
    tempeffects = all
    errpreset = moderate
    method = traponly
    lteratio = 3.5
    relref = sigglobal
    cmin = 0 F
    gmin = 1 pS

    tran: time = 1.422 ms (14.2 m%), step = 1.031 ns (10.3 n%)
    tran: time = 2.859 ms (28.6 m%), step = 1.234 ns (12.3 n%)
    tran: time = 4.292 ms (42.9 m%), step = 338.8 ps (3.39 n%)
    tran: time = 5.732 ms (57.3 m%), step = 338.8 ps (3.39 n%)
    tran: time = 7.135 ms (71.4 m%), step = 280 ps (2.8 n%)
    tran: time = 8.322 ms (83.2 m%), step = 139.9 ps (1.4 n%)
    tran: time = 9.79 ms (97.9 m%), step = 137.9 ps (1.38 n%)
    tran: time = 11.18 ms (112 m%), step = 181.2 ps (1.81 n%)
    tran: time = 12.71 ms (127 m%), step = 119.4 ps (1.19 n%)
    tran: time = 14.04 ms (140 m%), step = 114 ps (1.14 n%)
    tran: time = 15.54 ms (155 m%), step = 99.06 ps (991 p%)
    tran: time = 17.02 ms (170 m%), step = 97.99 ps (980 p%)
    tran: time = 18.5 ms (185 m%), step = 515.7 ps (5.16 n%)
    tran: time = 19.99 ms (200 m%), step = 423.9 ps (4.24 n%)
    tran: time = 21.19 ms (212 m%), step = 84.05 ns (841 n%)
    tran: time = 22.6 ms (226 m%), step = 10.51 ns (105 n%)
    tran: time = 24.07 ms (241 m%), step = 280 ps (2.8 n%)
    tran: time = 25.56 ms (256 m%), step = 2.627 ns (26.3 n%)
    tran: time = 27.03 ms (270 m%), step = 100.3 ps (1 n%)
    tran: time = 28.52 ms (285 m%), step = 2.627 ns (26.3 n%)
    tran: time = 29.97 ms (300 m%), step = 423.9 ps (4.24 n%)
    tran: time = 31.64 ms (316 m%), step = 515.7 ps (5.16 n%)
    tran: time = 33.26 ms (333 m%), step = 77.4 ps (774 p%)
    tran: time = 34.8 ms (348 m%), step = 146.6 ps (1.47 n%)
    tran: time = 36.37 ms (364 m%), step = 171.2 ps (1.71 n%)
    tran: time = 37.78 ms (378 m%), step = 1.234 ns (12.3 n%)
    tran: time = 39.06 ms (391 m%), step = 515.7 ps (5.16 n%)
    tran: time = 40.37 ms (404 m%), step = 137.6 ps (1.38 n%)
    tran: time = 41.05 ms (410 m%), step = 248.7 ps (2.49 n%)
    tran: time = 42.56 ms (426 m%), step = 423.9 ps (4.24 n%)
    tran: time = 44.02 ms (440 m%), step = 1.234 ns (12.3 n%)
    tran: time = 45.66 ms (457 m%), step = 84.05 ns (841 n%)
    tran: time = 46.97 ms (470 m%), step = 423.9 ps (4.24 n%)
    tran: time = 48.7 ms (487 m%), step = 119.4 ps (1.19 n%)

    Fatal error found by spectre at time = 49.3713 ms during transient analysis `tran'.
    FATAL (SPECTRE-7035): no error: Error detected in psf library while writing to file `tran.tran'.

    Analysis `tran' was terminated prematurely due to an error.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • ShawnLogan
    ShawnLogan over 4 years ago in reply to sachin2911

    Dear sachin2911,

    The error reported in your spectre.out file (SPECTRE-7035) is characteristic of running out of disk space. Please see the troubleshooting article at URL:

    https://support.cadence.com/apex/ArticleAttachmentPortal?id=a1Od0000000nbGwEAI&pageName=ArticleContent

    I read in your post that disk space did not seem to be an issue in your case. However, you might consider setting the options to monitor available disk space and suspend the simulation until sufficient disk space is available. You can set the threshold at which the simulation will be suspended as well as a feature to automatically restart the simulation. The options can be set through the ADE GUI as detailed at URL:

    Spectre Classic Simulator, Spectre APS, Spectre X, and Spectre XPS User Guide -- Running a Simulation - Suspending a Simulation Automatically When Disk Space is Low

    I use this feature all the time in ADE Assembler/Explorer as well in prior Cadence ADE tools and it works well to avoid the issue your spectre.out appears to show.

    Shawn

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 4 years ago in reply to ShawnLogan

    You should also check your disk quota - maybe that has been exceeded (that might be more restricted than the disk space). Take a look at how big the file that was written was and check quotas with the UNIX quota command, maybe.

    Also, you're using an 8 year old version of the simulator - using a more recent SPECTRE and IC version would also then enable usage of a newer PSF XL version which supports lossless compression, which will make the output data smaller.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information