yosys/tests/asicworld/code_tidbits_nonblocking.v

18 lines
165 B
Verilog
Raw Permalink Normal View History

2013-01-05 04:13:26 -06:00
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