Keyboard Shortcuts
Likes
- LTspice
- Messages
Search
Re: Flip Flop and NAND gate
On Tue, May 27, 2025 at 09:21 AM, <guilhermesouzam01@...> wrote:
I've uploaded a corrected version.
FlipFlop_SR_Clock_eT.zip
?
Also posted a photo
? |
||
Re: Flip Flop and NAND gate
¿ªÔÆÌåÓýAh! Unexpected ? From: [email protected] <[email protected]>
On Behalf Of Andy I via groups.io
Sent: Tuesday, May 27, 2025 12:41 PM To: [email protected] Subject: EXTERNAL: Re: [LTspice] Flip Flop and NAND gate ? Clk doesn't need to cross 50% of Vcc.? Just needs to cross the ref input voltage of the A-devices, which is 0.5 V unless changed. ? Andy |
||
Re: TL074 model in 24.1.8
¿ªÔÆÌåÓýI hope we will soon get a long-term stable
version, not too many versions ahead. On 2025-05-27 21:16, eetech00 via
groups.io wrote:
--
Best wishes John Woodgate RAYLEIGH Essex OOO-Own Opinions Only If something is true: * as far as we know - it's science *for certain - it's mathematics *unquestionably - it's religion |
||
Re: Flip Flop and NAND gate
Until the first clock edge, the output is undefined, and just oscillates. On Tue, May 27, 2025, 1:44?PM Bell, Dave via <Dave.Bell=[email protected]> wrote:
|
||
TL074 model in 24.1.8
Ok so y'all caught an ancient 5457 model bug, that worked non the less before 24.1.x. Can you tell me what is wrong with the ancient TI TL074 model that has worked (though limited) forever until now?
?
Worked in 24.0.x, does not work in 24.1.8
I have
.include TL074.301 Just like all the other models. I get the error
C:\Users\{USER}\Documents\LTspiceXVII\lib\sub\TL074.301(43): Expected device instantiation or directive here. ^ All other TI included models so far work. Model looks like this * TL074 OPERATIONAL AMPLIFIER "MACROMODEL" SUBCIRCUIT * CREATED USING PARTS RELEASE 4.01 ON 06/16/89 AT 13:08 * (REV N/A) ? ? ?SUPPLY VOLTAGE: +/-15V * CONNECTIONS: ? NON-INVERTING INPUT * ? ? ? ? ? ? ? ?| INVERTING INPUT * ? ? ? ? ? ? ? ?| | POSITIVE POWER SUPPLY * ? ? ? ? ? ? ? ?| | | NEGATIVE POWER SUPPLY * ? ? ? ? ? ? ? ?| | | | OUTPUT * ? ? ? ? ? ? ? ?| | | | | .SUBCKT TL074 ? ?1 2 3 4 5 * ? C1 ? 11 12 3.498E-12 ? C2 ? ?6 ?7 15.00E-12 ? DC ? ?5 53 DX ? DE ? 54 ?5 DX ? DLP ?90 91 DX ? DLN ?92 90 DX ? DP ? ?4 ?3 DX ? EGND 99 ?0 POLY(2) (3,0) (4,0) 0 .5 .5 ? FB ? ?7 99 POLY(5) VB VC VE VLP VLN 0 4.715E6 -5E6 5E6 5E6 -5E6 ? GA ? ?6 ?0 11 12 282.8E-6 ? GCM ? 0 ?6 10 99 8.942E-9 ? ISS ? 3 10 DC 195.0E-6 ? HLIM 90 ?0 VLIM 1K ? J1 ? 11 ?2 10 JX ? J2 ? 12 ?1 10 JX ? R2 ? ?6 ?9 100.0E3 ? RD1 ? 4 11 3.536E3 ? RD2 ? 4 12 3.536E3 ? RO1 ? 8 ?5 150 ? RO2 ? 7 99 150 ? RP ? ?3 ?4 2.143E3 ? RSS ?10 99 1.026E6 ? VB ? ?9 ?0 DC 0 ? VC ? ?3 53 DC 2.200 ? VE ? 54 ?4 DC 2.200 ? VLIM ?7 ?8 DC 0 ? VLP ?91 ?0 DC 25 ? VLN ? 0 92 DC 25 .MODEL DX D(IS=800.0E-18) .MODEL JX PJF(IS=15.00E-12 BETA=270.1E-6 VTO=-1) .ENDS |
||
Re: Flip Flop and NAND gate
¿ªÔÆÌåÓýNO difference, slightly surprisingly to me, because Clk never crosses 50% of Vcc ? From: [email protected] <[email protected]>
On Behalf Of John Woodgate
Sent: Tuesday, May 27, 2025 10:51 AM To: [email protected] Subject: EXTERNAL: Re: [LTspice] Flip Flop and NAND gate ? Try reducing the clock voltage to 1 volt. On 2025-05-27 18:43, Bell, Dave via groups.io wrote:
-- ?
|
||
Re: Flip Flop and NAND gate
¿ªÔÆÌåÓýTry reducing the clock voltage to 1 volt. On 2025-05-27 18:43, Bell, Dave via
groups.io wrote:
--
Best wishes John Woodgate RAYLEIGH Essex OOO-Own Opinions Only If something is true: * as far as we know - it's science *for certain - it's mathematics *unquestionably - it's religion |
||
Re: Flip Flop and NAND gate
¿ªÔÆÌåÓýAfter all of the suggested fixes, the FF is toggling nicely, BUT Clk is running at 100kHz, but Q is outputting a 0-5V triangle wave at 78MHz ? Dave ? From: [email protected] <[email protected]>
On Behalf Of Walter Sjursen via groups.io
Sent: Tuesday, May 27, 2025 9:53 AM To: [email protected] Subject: EXTERNAL: Re: [LTspice] Flip Flop and NAND gate ? also, I see you have a 5V clock signal, but are using 0/1 V levels for S and R signals. A-type elements (i.e., logic gates) default to 0/1 V logic levels.? Read about A-type elements in help. Finally, propagation delay is set with the Td parameter. ? On Tue, May 27, 2025 at 12:40?PM wsjursen via <wsjursen=[email protected]> wrote:
|
||
Re: Flip Flop and NAND gate
also, I see you have a 5V clock signal, but are using 0/1 V levels for S and R signals. A-type elements (i.e., logic gates) default to 0/1 V logic levels.? Read about A-type elements in help. Finally, propagation delay is set with the Td parameter. On Tue, May 27, 2025 at 12:40?PM wsjursen via <wsjursen=[email protected]> wrote:
|
||
Re: Flip Flop and NAND gate
On Tue, May 27, 2025 at 12:21 PM, <guilhermesouzam01@...> wrote:
It looks to me like it's working. ?
You have applied a steady High to the S input, and a Low to the R input.? So the Q output is driven High and Q/ is driven Low.
?
Show us your truth table that says something else.
?
FYI, when building circuits like this using those Digital gates, especially ones with feedback like this, note that you really need to give some delay to some of them.? By default, each gate in the Digital library folder has zero propagation delay, and that can lead to race conditions.? Right-click on each gate and add this:
Td=10n
in the Value attribute line.
?
I'm glad that you commented-out the command ".lib and.asy".? That line made no sense.? An .ASY file is a symbol; it is not a SPICE model and it would be deadly wrong to try to include it in the netlist for any simulation.
?
Andy
? |
||
Flip Flop and NAND gate
Hello All!
?
I¡¯m trying to create an SR flip-flop circuit with a clock in LTspice. To do this, I¡¯m using the AND logic gate available under Component/Digital. I¡¯m assuming it provides two output options: normal and inverted. Therefore, I¡¯m using the inverted output to form a NAND gate. However, it¡¯s not working. My Q output doesn¡¯t match the truth table of this flip-flop. I¡¯ve attached the FlipFlop_SR_Clock circuit in Temp. Thank you! |
||
Re: 24.1,x update woes
On Tue, May 27, 2025 at 10:27 AM, bwolfe58 wrote:
That depends on your browser's screen width.
?
The root cause of the original problem apparently was because the .model line had an errant "+" sign in the middle of it, which should not be there.? My guess is that the .model began life as two lines (with the required "+" continuation character), and someone thought they would be clever by combining both lines, but they forgot to remove the "+" sign - thus introducing improper syntax.
?
Andy
?
|
||
Re: LTspice 24
¿ªÔÆÌåÓýOn 27/05/2025 07:55, suded emmanuel via
groups.io wrote:
You are not very clear about what you have actually done. Did you install LTspice 24 alongside your older existing version of LTspice (presuming V17.x), or did you effectively perform an upgrade over the top of your existing installation? Or did you mean that old schematics created with your previous version still work with the new version? You are also not clear which version 24 you have just installed. I presume you mean V24.1, since that is the latest one available on ADI's website? (There are significant changes between 24.0 and 24.1.) Now we're at 24.1.8 (at the time of writing), most of the initial issues arising have been addressed, but not all of them. Whether you can use auto-generated symbols from your old version depends whether they still exist. Did you back up the old libraries? (BTW, you didn't auto-generate any models, it was the symbols you auto-generated from the models. Or do I completely misunderstand what you mean?) We can't know what you did unless you tell us. I would advise anyway, that you get out of the habit of using auto-generated symbols. There are several issues with them:
Regards, Tony |
||
Re: LTspice 24
¿ªÔÆÌåÓýThere should be no need to regenerate anything
if you mean LTspice's native models. Version 24.1.x uses the
same models and symbols as version 17.x.x, and adds many new
ones. If you have actually found a problem, please explain more
clearly about it. You could look at 'Program Updates' in the FAQ
in the Help. On 2025-05-27 06:55, suded emmanuel via
groups.io wrote:
--
Best wishes John Woodgate RAYLEIGH Essex OOO-Own Opinions Only If something is true: * as far as we know - it's science *for certain - it's mathematics *unquestionably - it's religion |
||
LTspice 24
Hi,
I just installed LTspice 24, I can use both old spice and new, they both work!
I still need to auto generate the models used by old LTspice (to build the symbols) to be able to use them in LTspice 24, is there a way that I can use the models in the new LTspice 24 with out regenerating please?
Regards,
Suded |