kunal1514
Full Member level 1
Hi All,
Can anybody tell me How this code will avoid race conditions ?
//------ AXI CLOCK GENERATION ------
initial
begin
#20; //------ This is to avoid race condition between "initial" and "always" block
axi_clk = 1'b0;
forever
begin
#(AXI_CLK/2) = 1;
#(AXI_CLK/2) = 0;
end
end
Regard's
Kunal Mishra
Can anybody tell me How this code will avoid race conditions ?
//------ AXI CLOCK GENERATION ------
initial
begin
#20; //------ This is to avoid race condition between "initial" and "always" block
axi_clk = 1'b0;
forever
begin
#(AXI_CLK/2) = 1;
#(AXI_CLK/2) = 0;
end
end
Regard's
Kunal Mishra