blob: 669b2a5f9a3f633fe294aabbde482e2747b69c8d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
module FlipFlop(clock, cs, ns);
input clock;
input [3:0] cs;
output reg [3:0] ns;
reg [3:0] temp;
always @(posedge clock)
begin
temp = cs;
ns = temp;
end
endmodule
|