What kind of circuit may be described by using the following statement? [code]ASSERT NOT (s=’1’ and r = ‘1’) REPORT ‘’INVALID! S and R

Thanh Hoan

New member
What kind of circuit may be described by using the following statement?
Code:
ASSERT NOT (s=’1’ and r = ‘1’) REPORT ‘’INVALID! S and R both can’t be 1” SEVERITY ERROR
A. Flip flop
B. Multiplexer
C. Decoder
D. Counter
 
Answer: a
Explanation: This can be a code for SR flip flop. Because the inputs S and R can’t be high at the same time in case of SR flip flop. It is invalid. ASSERT statement is used to show the same. When the condition is false then the message will be printed.
 

Tìm kiếm

Back
Top