• 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. RF Design
  3. Facing problem during simulation using external .txt file...

Stats

  • Locked Locked
  • Replies 8
  • Subscribers 63
  • Views 17326
  • 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

Facing problem during simulation using external .txt file as stimulus

Analog Design
Analog Design over 14 years ago

 Hi ,

     I am giving two column (time/voltage ) .txt file  as  stimulus in spectre  . But during simulation the error coming as like below 

"Error  found by spectre during circuit read in" .  

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 14 years ago

    I suspect it said more than that - that's usually the summary error message - after a specific error. Please show the line in the netlist with the vsource component which is referencing the file (if it's a small example, post the entire netlist; presumably you could do this with a simple circuit which just had the source and (say) a resistor to show the problem). Please give the version of spectre used. Please also show the contents of the file too.

    You've given so little information, that it's very hard to know what to suggest.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Analog Design
    Analog Design over 14 years ago

     Hi,

       I am using ADE spectre(5.10.41_USR4.54.77) .

    I have include external .txt stimulus file in spectre-> setup->simulation files-> stimulus file =path of .txt file

    I  am using vsource component from analoglib and seted attribute of vsourc= pwl and file(.txt) input path .

    I have attached the both netlist and spectre.out file contets in Options . 

    • spectre.txt
    • View
    • Hide
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 14 years ago
    I can't check the attachments, but the obvious error is that you've specified the text file via the stimulus files in ADE. That's wrong. A stimulus file should be a spectre netlist, not a file containing time-voltage pairs. As a result, spectre would be trying to interpret the text file as a spectre netlist, which it isn't.

    You would give the path to the file on the vsource component only (sounds as if you've done that).

    I'll check your attachments when I am in the office and can access a web browser.

    Regards,

    Andrew
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Analog Design
    Analog Design over 14 years ago
    Hi,
    I am using ADE spectre(5.10.41_USR4.54.77) .
    I have include external .txt stimulus file in spectre-> setup->simulation
    files->
    stimulus file =path of .txt file
    I am using vsource component from analoglib and seted attribute of
    vsourc= pwl and
    file(.txt) input path .
    I have attached the both netlist and spectre.out file contets
    • spectre.txt
    • View
    • Hide
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 14 years ago

    Managed to look at your attachment. You included the netlist rather than the input.scs (sorry, I probably should have made that clear) and as such I can't see the erroneous "include" statement of your text file (i.e. the stimulus file), but that would definitely cause this problem. The full error message pinpoints that:

    Error found by spectre during circuit read-in.
    "/home/mudassar/simulation/test_1/spectre/schematic/netlist/stimuli/text.txt" 1: Unexpected numeric value "0.000000000000".

     It's complaining about reading the file during "circuit read-in" and the numeric value is clearly indicating that it's your time-voltage file. 

     So remove the stimulus file setting in ADE, and then it should work. Not sure why you thought you needed to set that (I didn't say that you should do that in my previous replies)?

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Analog Design
    Analog Design over 14 years ago

    I removed the stimulus file setting from ADE Spectre  . Only I have given  .txt (time/voltage) file path in vsource attribute . But still it is flushing error like below

    "unable to open wavwform file . No such file or directre found " 

    I have also attached .txt(input) file and error file contents. 

    • error .txt
    • View
    • Hide
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 14 years ago

    Looking at the log file, it is very clear that it cannot access the file (it says no such file or directory, which is pretty clear and obvious). The chances are that you either have the path to the file incorrect; it's not permissions because it would have said "Permission denied" otherwise. The error message is a low level OS error, so it's not something that is spectre specific.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Analog Design
    Analog Design over 14 years ago

    Thank you . I found the fault . That was path problem .

    • 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