Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
Hi,
Do you know how to make the attached LTspice of a d type flip flop work?
The output is just stuck high
Woops sorry...it is workign, pse delete this post if you wish
Don't delete. This question comes up often. How does logic work in LT Spice.
I changed the clock source to 0/4V so it will show better in the output.
Changed DFF to divide by 2 counter.
Right click on the DFF and a window will open. Ref=2.5 Below 2.5=0 and above 2.5=1, Vhigh and Vlow sets the output pin's voltage.
Any unconnected pin = 0
Hope this helps the next person.
RonSimpson
--------------------
Prefix A
InstName A6
SpiceModel DFLOP
Value Ref=2.5
Value2 Vhigh=5 Vlow=0
SpiceLine Td=2n Trise=10n Tfall=10n
SpiceLine2 tripdt=5n
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.