Trinity-SciData / chips /yosys /tests /asicworld /code_tidbits_nonblocking.v
STAR-future's picture
add chips/yosys (part 7)
055c19b verified
Raw History Blame Contribute Delete
159 Bytes
module nonblocking (clk,a,c);
input clk;
input a;
output c;
wire clk;
wire a;
reg c;
reg b;
always @ (posedge clk )
begin
b <= a;
c <= b;
end
endmodule