Could some Bgspice guru please help ? I have a simple decade
counter with 4 JK flip-flops and Level 3 MOSFETs. THe JK flip-flop
works fine on its own = but when cascaded in series. The netlist
and error message are listed below. Thanks in advance for your
help.
If you look at node 22, then you will see that this is only connected
to the "K" input of you JKFF. In other words, it is undriven and dangling in mid air.
You need to fix your circuit,
Regards,
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You should add the models that you are using (I added the ones you supplied in a previous posting.)
I agree that the circuit does not converge for the decade counter,
and that it should.
BTW: The "decade counter" won't do anything because all the
J and K inputs are "0". The clk is distributed in a way that you probably
did not intend.
-marcel
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks yo each of you for your help. In practice, some pins of
some devices are often left dangling, and circuit works fine. I
did not realize that the SPICE solver wants all unused pins to
be grounded.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
In practice, some pins of
some devices are often left dangling, and circuit works fine.
Yes, but some percentage of the circuits that are build this way
will fail to work.
On the other hand, that the circuit works in SPICE with default
parameters does not mean that 100% of the actually build circuits
work in the real world.
-marcel
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Could some Bgspice guru please help ? I have a simple decade
counter with 4 JK flip-flops and Level 3 MOSFETs. THe JK flip-flop
works fine on its own = but when cascaded in series. The netlist
and error message are listed below. Thanks in advance for your
help.
ERROR MESSAGE:
Doing analysis at TEMP = 27.000000 and TNOM = 27.000000
Note: Starting dynamic gmin stepping
Warning: Dynamic gmin stepping failed
Note: Starting source stepping
<snip>
Supplies reduced to 0.1000% Warning: singular matrix: check nodes 22 and 22
Supplies reduced to 0.0000% Warning: singular matrix: check nodes 22 and 22
Warning: source stepping failed
Transient solution failed -
<snip>
doAnalyses: iteration limit reached
run simulation(s) aborted
Last edit: Robert Larice 2017-07-10
Hello Amal,
ngspice said "check node 22"-
If you look at node 22, then you will see that this is only connected
to the "K" input of you JKFF. In other words, it is undriven and dangling in mid air.
You need to fix your circuit,
Regards,
You should add the models that you are using (I added the ones you supplied in a previous posting.)
I agree that the circuit does not converge for the decade counter,
and that it should.
BTW: The "decade counter" won't do anything because all the
J and K inputs are "0". The clk is distributed in a way that you probably
did not intend.
-marcel
When Robert's reply is not explicit enough --
The circuit runs fine when modified as follows
(all J and K inputs grounded instead of left floating):
-marcel
Last edit: marcel hendrix 2017-07-10
Thanks yo each of you for your help. In practice, some pins of
some devices are often left dangling, and circuit works fine. I
did not realize that the SPICE solver wants all unused pins to
be grounded.
On 2017-07-11 07:55, Amal Banerjee wrote:
Yes, but some percentage of the circuits that are build this way
will fail to work.
On the other hand, that the circuit works in SPICE with default
parameters does not mean that 100% of the actually build circuits
work in the real world.
-marcel
Amal.
This is not true. If you ground a low impedance node - as you did in your
previous example, the circuit will not function.
High impedance nodes, in SPICE and in reality must be terminated properly.
--
Kind regards,
Justin Fisher.
Sent from my phone.