What is control of Single Flip-Flops?

Computer ArchitectureComputer ScienceNetwork

Flip flops are an application of logic gates. A flip-flop is a basic memory element that can save one bit of data. Flip flop has two stable states. One of the stable states is called SET or 1. The other stable state is known as RESET, CLEAR, or 0.

A flip-flop circuit can stay in a binary state continually (as long as power is transferred to the circuit) before conducted by an input signal to switch states. The control gates for the seven flip-flops can be determined similarly. For example, the table shows that IEN may change as a result of the two instructions ION and IOF.

R′T0:AR ← PC
R′T2:AR ← IR(0 − 11)
D′7IT3 :AR ← M[AR]
RT0:AR ← 0
D5T4:AR ← AR + 1

pB7: IEN ← 1

pB6: IEN ← 0

where p = D7IT3 B7 and B6 and are bits 7 and 6 of lR, respectively. Moreover, at the end of the interrupt cycle, lEN is cleared to 0.

RT2 : IEN ← 0

If we use a JK flip-flip for IEN, the control gate logic will be as shown in the figure.

IEN refers to interrupt enable flag.

For the first two inputs, the value is considered as Input/output instruction. The third input is an interrupt.

Updated on 24-Jul-2021 09:50:25