mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-07 09:55:20 +00:00
12 lines
153 B
Verilog
12 lines
153 B
Verilog
module FlipFlop(clk, cs, ns);
|
|
input clk;
|
|
input [31:0] cs;
|
|
output [31:0] ns;
|
|
integer is;
|
|
|
|
always @(posedge clk)
|
|
is <= cs;
|
|
|
|
assign ns = is;
|
|
endmodule
|