Connect with us

Spice File with mod. extension?

Discussion in 'Electronic Design' started by amdx, Mar 2, 2007.

Scroll to continue with content
  1. amdx

    amdx Guest

  2. amdx

    amdx Guest

  3. Genome

    Genome Guest

    The extension does not really matter. It is a text file with the standard
    spice subcircuit definition.....

    ..SUBCKT ZVN4306A 3 4 5
    *NODES: DRAIN GATE SOURCE
    M1 3 2 5 5 MOD1
    RG 4 2 108
    RL 3 5 6E6
    C1 2 5 224.5E-12
    C2 3 2 10.5E-12
    D1 5 3 DIODE1
    *
    ..MODEL MOD1 NMOS VTO=2.634 RS=0.2762 RD=0.0 IS=1E-15 KP=9.77
    +CBD=405E-12 PB=1 LAMBDA=0
    ..MODEL DIODE1 D IS=6.19E-13 N=1.0043 RS=0.065
    ..ENDS ZVN4306A


    Place an nmos symbol CTRL right click on it. Change the prefix to X and the
    value to ZVN4306A.

    Add a spice directive .include c:\wherethefileis\ZVN4306A.mod

    DNA
     
  4. Jim Thompson

    Jim Thompson Guest

    *.mod seems to be the convention in SE Asia for a single device model
    file.

    While we gurus ;-) tend to use *.sub or *.lib.

    Not that it matters... a .LIB statement will load any old file name
    you give it.

    ...Jim Thompson
     
  5. amdx

    amdx Guest

    Thanks DNA, When I tried to open it my media player loaded.

    Mike
     
  6. Genome

    Genome Guest

    Harumphh... sometimes right click|open with|choose program works or just
    rename it as .txt.

    DNA
     
  7. amdx

    amdx Guest

    I changed mod. to txt. and life is good.
    Thanks, Mike
     
  8. Jim Thompson

    Jim Thompson Guest

    But to join the big boys, change it to .lib or .sub ;-)

    ...Jim Thompson
     
  9. Genome

    Genome Guest

    Thus spake Timothy Thompson who would have all spice file extensions named
    ..tim

    In fact, given the extreme posibility of his imminent death .tim should
    become the accepted extension for all spice text files.

    Obviously there will be a transition between .jim and .tim during the
    changeover period.

    Yo, If you posted your pictures right and you're not getting burnt (or even
    if you are) are you getting a coffin with a 'power bulge' on it?

    DNA
     
  10. Jim Thompson

    Jim Thompson Guest

    Sno-o-o-ort! How did you get "tim" from "Jim"... too much liquid
    refreshment ?:)

    I will not have a coffin, I WILL be "burnt"... and scattered upon this
    lovely hillside where I presently live.

    My late son's ashes were surreptitiously scattered at PIR per his
    wishes ;-)

    ...Jim Thompson
     
  11. Genome

    Genome Guest

    I worked backwards. Jim sounds like a cool dude name for someone who had
    parents who thought Timothy was a cool dude name for a person who wasn't
    going to be like James Dean........ Who was probably called Timothy Dean.

    Last time my dad died the front end involved a coffin. He took a journey
    through the curtains and got burnt.

    Best I know is he got rendered for cat food and the coffin went to the next
    dead person.........

    Burble burble.

    DNA
     
  12. Jim Thompson

    Jim Thompson Guest

    Ah, yes! "Rebel Without a Cause". Love that movie. I have "The
    Complete James Dean Collection" on DVD.
    In Mesa, AZ, they caught some funeral director doing just that :-(

    Except he had this fascination with certain male parts and cut them
    off and put them in jars of Formaldehyde ;-)

    Of course Mesa, AZ, is the town where they caught the fireman "doing"
    a neighbor's sheep ;-)

    ...Jim Thompson
     
  13. Genome

    Genome Guest

    I think I meant to say, whilst the moment of clarity remains, you did your
    son right.

    DNA
     
  14. amdx

    amdx Guest

    Thanks DNA, When I tried to open it my media player loaded.
    Mom doesn't let me play with the big boys yet, but when I can,
    if I change it to lib. is it installed into the program so I can click on
    "pick new mosfet" and find the part I got the file of? (ZVN4306A)
    If not, is it possible to do that?
    Mike
    PS. I just picked up the LTspice users manual from Office Max, I had them
    print and bind the pdf. file. A $26.00 manual for a free program. hmmm.
    I find it much easier to read in book form. And I can make notes.
     
  15. Jim Thompson

    Jim Thompson Guest

    I bought an ibico punch and binder many years ago so I can create my
    own manuals for design reviews, etc.

    ...Jim Thompson
     
  16. Jim Thompson

    Jim Thompson Guest

    [snip]

    I don't know how LTspice handles libraries.

    PSpice can do it two ways....

    Add the library name in "Library and Include Files", and it'll be
    permanently available in all schematics.

    But since I have at least 66 bipolar, CMOS, and BiCMOS process
    libraries I just add a .LIB statement onto the second page of the
    schematic to avoid device naming confusions.

    ...Jim Thompson
     
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day

-