I don't see any .asy file. I only see .asc files.----?????
This subcircuit from Bordodynov's "HEF4000.lib" file has a small error in it and probably could use a comment explaining the use of VDD and VSS for the newer users. First the correction:They are behavioral models. You can read read the actual text files that implement them. Besides the logic functions they model propagation delay, rise time, fall time and voltage levels. In some cases they use the LTspice OTA devices and in other cases they use a combination of ideal components with generic parameters. Here is the one for the 4069. It uses two diodes, a resistor, a capacitor, two MOS transistors, one n-channel and one p-channel, and a final capacitor. What do you think?
.subckt HEF4069UB a out VDD VSS params: speed=1
D1 A VDD di
D2 VSS A di
R a o 700
Ca o VSS {10p*M} Rpar=1G
M3 OUT o VSS VSS HEFn
M4 OUT o VDD VDD HEFp
C4 OUT VSS {10p*M} Rpar=1G
.model di d vfwd=0.5 ron={100/M}
.model Hefn vdmos vto=1.3 kp={speed*1.1m*M} lambda=15m rs={50/speed/m} mtriode=2.5
.model Hefp vdmos pchan vto=-1.5 kp={speed*1.1m*M} lambda=45m rs={70/speed/m} mtriode=1
.ENDS
This circuit CANNOT work correctly. It has no ground and the IC statements both have bad syntax.Doesn't work for me. Something I have drawn wrong?
Here is your file back. It doesn't oscillate, but it does run without error.Well, there's definitely something very different between the circuit I drew and the one that eetech drew, because his works just fine.
No problem.Pardon me, I'm pretty green. How do I check the Spice error log?
the raw A devices do not need power connections.This circuit CANNOT work correctly. It has no ground and the IC statements both have bad syntax.
You did not say what error messages you got, but those were the ones I noticed.
no...the ic statements do not have bad syntax...This circuit CANNOT work correctly. It has no ground and the IC statements both have bad syntax.
You did not say what error messages you got, but those were the ones I noticed.
Not in your circuit - in the one that dotneck335 copied from you picture. He used a lower case 'ell' for upper case 'eye' for the inductor initialization and he forgot the 'dot' in front of 'IC' for the capacitor initialization and he had no ground in the circuit which resulted in the usual time step too small error. Not bad for a first timer. I give him credit for his industry.no...the ic statements do not have bad syntax...
I know they don't need power connections but there needs to be a ground somewhere and there did not seem to be one in the one that dotneck335 posted. Rather than throw stones at me why don't you take his file and debug it.the raw A devices do not need power connections.
In addition, if an input pin requires a ground connection, it should be pulled down thru a resistor or another device. And NOT connected directly to ground.
the A devices are not meant to replace an accurately modeled component. They are meant to make it easier to design a model.
but they can also be used as a quick method for”proof of concept”, as I’ve shown in my previous post...