CD4XXX Library For Spice

Thread Starter

maker_2023

Joined Nov 20, 2023
12

Thread Starter

maker_2023

Joined Nov 20, 2023
12
Ignore post #4.

Per Bordodynov's instructions, I have placed his symbols and sub circuits in the following folders.
Can anyone tell me what my include directive should be. "include cd4000.lib" does not work.

This is where the symbols are.
c:\users\mike\AppData\Local\LTspice\lib\sym\ZZZ\LOGIC\CD4XXX

This is where the sub circuits are.
c:\users\mike\AppData\Local\LTspice\lib\sub\SUB
 
Last edited:

ericgibbs

Joined Jan 29, 2010
18,219
hi maker,
I get the same error using your asc file.

Will try to locate the problem and get back if I have an answer.

I assume you are using Windows
E
 

Thread Starter

maker_2023

Joined Nov 20, 2023
12
Hi maker,

I did this action to replace the symbol in your asc file, it then works.

F2 > ZZZ > LOGIC > CD4xxx > cd40001b

Try that action and run this asc file.

It looks as though you have a 'path' problem?
E
Yes Windows 11. Still doesn't work for me. Yes I am sure it is a path problem but I have tried everything
that I can think of. In post #5 I indicated where the symbols and sub-circuits reside. Maybe Bordodynov
could assist us.
 
Last edited:

Audioguru again

Joined Oct 21, 2019
6,436
In post #10, how can the simulation magically produce an output current of almost 9mA when the supply voltage and LED voltages are unknown? The output current of a CD40xx depends on the supply voltage.
 

ericgibbs

Joined Jan 29, 2010
18,219
Hi agu,
If you look more closely at post 10, you will see it uses the standard CD4000 set, in which the voltage is declares as 5V.
Not the CD4000_v in which the Vcc aka vdd has to be specified.

E
 

eetech00

Joined Jun 8, 2013
3,642
In post #10, how can the simulation magically produce an output current of almost 9mA when the supply voltage and LED voltages are unknown? The output current of a CD40xx depends on the supply voltage.
The supply voltage is specified as one of the symbols' attributes by default (VDD=5), when using the CD4000.lib library.
What is also not displayed is the voltage output level which is extremely low (millivots).
A real part probably would have been damaged.
 
Top