¦Ë??? > ? > >
Verilog HDL???¡¤
? ?2013-11-3 17:29:37 ?
ifrst == 1’b0 Dout <= 1’b0;
else Dout <= Din; //D
1§µ??clock??Dout???Din?¦Ë????Dout??0????¡¤§µ??¡Â??“<=”always???¡ê»Ç
2?¦ËD2
wire Din;
wire clock,rst;
reg Dout;
always @ posedge clock or negedge rst //?¦Ë
ifrst == 1’b0 out <= 1’b0;
else begin
Dout <= Din; //D???
Dout <= 1’b1; //D????
End //D?1
2§µDout???Din?Dout??§Ù??Dout???1?Dout??????always??Dout?????Dout??1
??¡¤§µalways?????????§Þ?¨´?“or”?»Ç
always @posedge clock or posedge reset begin //?always
…
end
??????¦Ë??
always @posedge clock1 or posedge clock2 or posedge reset begin
//3?always
…
end
?????¦Ë??
?????¡¤??ý—????
?????
- ?? ????????
- ?? Verilog HDL???