LTSPICE 74HC library (from Yahoo LTSpice group)

Discussion in 'General Electronics Chat' started by djsfantasi, Dec 12, 2010.

  1. djsfantasi

    Thread Starter AAC Fanatic!

    Apr 11, 2010
    2,812
    834
    I have downloaded the 74HC library from the Yahoo group and can see it in LTSpice, but when I try to use the components, I get the following error? Can anyone tell me what I am doing wrong?

    [​IMG]
     
  2. sceadwian

    New Member

    Jun 1, 2009
    499
    37
    You didn't include the required subcircuits you just loaded the symbols. You have to include whatever .sub or equivalent file that came with it. Create a new spice directive and use a .include statement that contains the location of the file that has the information
    Symbols are just graphics with labels, it doesn't contain the spice information for the actual model that's what the sub circuit is for.

    Do you really need to simulate the 74HC series? The behavioral logic models that come with LTSpice simulate incredibly fast and are generally fine as long as you're not working near the edge of speed limits or ultra fine timing.
     
  3. SgtWookie

    Expert

    Jul 17, 2007
    22,182
    1,728
    On the LTSpice toolbar, on the far right, click on the .sp icon.

    In the box, type:
    Code ( (Unknown Language)):
    1. .inc 74hc.lib
    Then click the OK button, and drop the line of text near your .tran statement (it can be anywhere in the schematic, but I usually put .inc statements near the .tran statement.)
     
    Last edited: Dec 13, 2010
  4. djsfantasi

    Thread Starter AAC Fanatic!

    Apr 11, 2010
    2,812
    834
    Thanks Sgt. That worked!

    @sceadwian, I want to use some of the advanced 74hc ICs, such as the universal up/down counter...
     
  5. sceadwian

    New Member

    Jun 1, 2009
    499
    37
    <razz> at Wooikie, cause that's the same thing I said to do =)
     
  6. SgtWookie

    Expert

    Jul 17, 2007
    22,182
    1,728
    Yeah, I know. You 'splained what he needed. I 'splained how to do it though. :)
     
  7. djsfantasi

    Thread Starter AAC Fanatic!

    Apr 11, 2010
    2,812
    834
    What Wookie said... :D

    Poor communication on my part. This didn't provide me with any new information, as I already understood this part, and I didn't make that clear in my post.
     
  8. sceadwian

    New Member

    Jun 1, 2009
    499
    37
    Sorry djs, I have a horrible crippling assumption that everyone I respond to has actually read the help files for the software they're using =) It's easy to forget just how uncommon this actually is.

    It's a personal failing of mine I'll likely never gain much ground in combating, I tend to supply to much information and not enough 'how to' then again I learn a little differently than most people.
     
  9. Ron H

    AAC Fanatic!

    Apr 14, 2005
    7,050
    657
    I think Wookie has a very special knack for understanding the experience level of the person he is attempting to help, not to mention the patience of Job.
    Except for the occasional basketweaver.:D
     
  10. sceadwian

    New Member

    Jun 1, 2009
    499
    37
    I have noticed the same thing myself Ron.
     
Loading...