Circuits--Sequential Logic--Latches and Flip-Flops--Exams/2014 q4a
网址:https://hdlbits.01xz.net/wiki/Exams/2014_q4amoduletop_module(inputclk,inputw,R,E,L,outputQ);wiretemp1,temp2;assigntemp1=E?w:Q;assigntemp2=L?R:temp1;//与上题类似,不做赘述always@(posedgeclk)beginQ<=temp2;ende