Adding models/components to LTSPICE

Discussion in 'Electronics Resources' started by djsfantasi, Nov 16, 2010.

  1. djsfantasi

    Thread Starter AAC Fanatic!

    Apr 11, 2010
    2,810
    834
    I am trying to figure out how to add digital components to LTSPICE?

    I have only been able to find library (.lib) files. My understanding is that I need .asy and .sub definitions.

    I have also read about including a directive, but have not figured out where/how to do this?

    I did read the suggested links. I have poked around, but have been unsuccessful. Does anyone have any advice?
     
  2. Kermit2

    AAC Fanatic!

    Feb 5, 2010
    3,795
    949
    Go here and scroll down to the Third topic. "adding components to LTspice"

    follow the directions and it will walk you through adding a component. It confused me the first time I tried, and I'm still a little unsure of how to do it completely on my own, but this definately helps you understand "what" to do, if not why.

    http://www.ltspicelabs.blogspot.com/
     
  3. SgtWookie

    Expert

    Jul 17, 2007
    22,182
    1,728
    The Yahoo! LTSpice Users' Group has a number of CD4000 series and 74HC series IC's in the library as .zip files. They contain .lib files, which are a collection of subcircuits that belong in the lib\sub directory, and .asy files that go in the lib\sym subdirectory under CD4000 and 74HC respectively.

    You need to use an .INC or .LIB SPICE statement for either or both, like:
    .INC cd4000.lib
    or
    .LIB 74HC.lib
     
  4. djsfantasi

    Thread Starter AAC Fanatic!

    Apr 11, 2010
    2,810
    834
    @Sgt

    The Yahoo group is where I got my 74HC series lib file, but didn't see the .asy files; will try again tonight!
     
Loading...