Pull Request - Added async reset option to JK flip-flop#2
Pull Request - Added async reset option to JK flip-flop#2Krb686 wants to merge 6 commits intohausen:masterfrom
Conversation
Added Asynchronous reset to JK Flip flop
fix-add (
|
Also, the reset pin is on the right side of the flip-flop instead of the "traditional" bottom, just to keep the overall size at 2x3. |
…hod usage, other stuff
Conflicts: src/CirSim.java
-Added several generated serialization UIDs -Commented unused vars with tag #unused -several other small fixes
|
Thanks! But adding a new input to an already existing element will cause incompatibility issues. |
|
I wouldn't mind doing it, but I'm a little confused about what you mean with incompatibility issues. The reset pin is optional. Any previous design that makes use of the JK flip-flop will behave exactly as before when the pin is not enabled. In addition, the pin is located at the only free spot on the JK flip-flop, at the center right. When it is enabled, it doesn't move any other pins around. I don't really see how it would cause any issues. Or are you are referring to saving and loading of circuit files? Old files not specifying a value for the new class changes? |
Playing around with some JK flip flops today and noticed I needed this option, so I pulled the code and added it in.