单项选择题
A.always@(posedge LOCK)if (LOCK)REGL<=DB.always@(posedg……
ADC 0809采样结束后需要通过LOCK向锁存器LATCH发出锁存信号,以便将输出口的D[7:0]8位数据锁存起来,下列程序当中能够实现数据锁存功能的是()。
A.always@(posedge LOCK)if (LOCK)REGL<=D
B.always@(posedge LOCK)if (!LOCK)REGL<=D
C.always@(posedge RST)if (!LOCK)REGL<=D
D.always@(posedge RST or posedge LOCK )if (!LOCK)REGL<=D