1.

Which of the following line is correct for detecting positive edge of a clock?

A. if (clk’event and clk = ‘0’)
B. if (clk’event and clk = ‘1’)
C. if (clk’event or clk = ‘0’)
D. if (clk’event or clk = ‘1’)
Answer» C. if (clk’event or clk = ‘0’)


Discussion

No Comment Found