Clock J K Qn+1
0 X X Qn
1 0 0 Qn Hold State(Store previous data)
1 0 1 0 Reset State(Reset the flip-flop to zero(low))
1 1 0 1 Set State (Set the flip-flop to One(High))
1 1 1 !Qn Toggle State(Complement previous data)
Characteristic Table
J K Qn Qn+1
0 0 0 0
0 0 1 1
0 1 0 0
0 1 1 0
1 0 0 1
1 0 1 1
1 1 0 1
1 1 1 0
Note:
How to initialize it?
use toggle swithes named as Jack(J) and Kilby(K)
there are two state of input 0 and 1 using toggle switch we can initialize any one of the value at a time.
For J=1 K=1 we need see toogle state to get the toggle set simulation time is set to infinity=inf then once we run it we can see the uput led lamp toggle.
Use this kind of flip-flop state to slow real world problems
Thank You
引用格式
Dr. Madhusudhan M (2024). Virtual simulation and Understanding of J-K FLIP FLOP (https://www.mathworks.com/matlabcentral/fileexchange/123995-virtual-simulation-and-understanding-of-j-k-flip-flop), MATLAB Central File Exchange. 检索来源 .
MATLAB 版本兼容性
创建方式
R2018a
兼容任何版本
平台兼容性
Windows macOS Linux标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0 |