Verilog Tutorial: begin-end and fork-join :: ElectroSifts.com

Verilog Tutorial: begin-end and fork-join :: ElectroSifts.com

瀏覽:603
日期:2025-06-16
module forkjoin(clk, a, b); input clk; output a; output b; reg a, b; initial begin a = 0; b = 0; end always @(posedge clk) fork #2 a = 1; #1 b = 1; join endmodule module forkjoin1(clk, a, b); input clk; output a; output b; reg a, b; initial begin a = 0; b...看更多