yosys/tests/hana/test_simulation_always_27_test.v
2013-01-05 11:13:26 +01:00

13 lines
157 B
Verilog

module FlipFlop(clock, cs, ns);
input clock;
input cs;
output reg ns;
reg temp;
always @(posedge clock)
begin
temp <= cs;
ns <= temp;
end
endmodule