yosys/tests/hana/test_simulation_always_27_t...

14 lines
157 B
Coq
Raw Normal View History

2013-01-05 04:13:26 -06:00
module FlipFlop(clock, cs, ns);
input clock;
input cs;
output reg ns;
reg temp;
always @(posedge clock)
begin
temp <= cs;
ns <= temp;
end
endmodule