1 2 3 4 5 6 7 8 9 10 11
module FlipFlop(clk, cs, ns); input clk; input [7:0] cs; output [7:0] ns; integer is; always @(posedge clk) is <= cs; assign ns = is; endmodule