mirror of https://github.com/YosysHQ/yosys.git
8 lines
122 B
Verilog
8 lines
122 B
Verilog
|
module sdff( input d, clk, rst, output reg q );
|
||
|
always @( posedge clk)
|
||
|
if (rst)
|
||
|
q <= 0;
|
||
|
else
|
||
|
q <= d;
|
||
|
endmodule
|