3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2026-05-13 13:45:28 +00:00
yosys/tests/techmap/clockgate_wide.v
2026-05-07 16:08:55 +02:00

8 lines
No EOL
166 B
Verilog

module dffe_wide_11( input clk, input [1:0] en,
input [3:0] d1, output reg [3:0] q1,
);
always @( posedge clk ) begin
if ( en[0] )
q1 <= d1;
end
endmodule