Visualizzazione dei risultati da 1 a 2 su 2
  1. #1
    Utente di HTML.it
    Registrato dal
    May 2008
    Messaggi
    475

    ngspice non crea il file .raw di output

    Ciao a tutti,

    sto avendo un problema curioso con ngspice...

    Il programma sembra essere installato correttamente, si avvia e non segnala nessun errore.
    Per testarlo ho scritto il semplice file che vedete qui:

    codice:
    * HELLO NGSPICE
    
    * this is a very basic and useless circuit
    VIN		1	0	12
    R1		1	2	2
    R2		2	0	10
    
    .END
    Al che, provo ad aprire ngspice dandogli come argomento solo il file, do il comando run, e lui mi stampa il messaggio "Doing simulation at..." etc.

    Ma il punto č che non crea il file .raw, nč se č per questo sembra dare alcun risultato a parte quella scritta.

    Se provo a lanciarlo con il comando:
    codice:
    ngspice -b --rawfile="result.raw" --output="log.out" dumbcir.cir
    Ottengo questo output, sul file log.out
    codice:
    Circuit: * hello ngspice
    
    Doing analysis at TEMP = 27.000000 and TNOM = 27.000000
    
    CPU time since last call: 0.010 seconds.
    
    Total CPU time: 0.010 seconds.
    
    Total DRAM available = 3710.347656 MB.
    DRAM currently available = 937.652344 MB.
    Total ngspice program size = 19.248047 MB.
    Resident set size = 809.000 kB.
    Shared ngspice pages = 607.000 kB.
    Text (code) pages = 1.947266 MB.
    Stack = 0 bytes.
    Library pages = 5.931641 MB.
    Mentre il file rawfile.raw semplicemente non esiste.

    Ma che diavolo succede?
    "Let him who has understanding reckon the number of the beast, for it is a human number.
    Its number is rw-rw-rw-."

  2. #2
    Utente di HTML.it
    Registrato dal
    May 2008
    Messaggi
    475
    So che bumpare non č bello ma lo faccio lo stesso...

    O in alternativa, qualcuno sa un altro software che possa usare per rimpiazzare pspice?
    Vedo dai forum che far funzionare pspice su wine č una menata...
    "Let him who has understanding reckon the number of the beast, for it is a human number.
    Its number is rw-rw-rw-."

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2026 vBulletin Solutions, Inc. All rights reserved.