Simulating d flip-flops in LTspice issue

Thread Starter

blahblah123456789

Joined Feb 24, 2025
3
1740375025505.png
This circuit is supposed to divide clk signal by 3. However, when I try to simulate I get this issue:

Analysis: Time step too small; time = 1e-07, timestep = 1.2207e-19: trouble with dflop-instance a5

I've tried changing pulse parameters but nothing seems to work
 

ericgibbs

Joined Jan 29, 2010
21,391
hi blah,
You have Clock frequency of 1megHz, divided giving a frequency of 333,333.33Hz, The ratio of those two frequencies cannot give a 1:1 mark/space result.
E
 

Ian0

Joined Aug 7, 2020
13,097
You could double the frequency, divide by 3 then by 2, but the resulting mark-space ratio is only as good as the input make-space ratio.
 
Top