3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-08-30 23:10:09 +00:00

Move $dffe to dffs.{v,ys}

This commit is contained in:
Eddie Hung 2019-08-22 12:20:18 -07:00
parent c5754d9e8b
commit 9e537a76b5
4 changed files with 41 additions and 18 deletions

View file

@ -22,16 +22,6 @@ module adffn
q <= d;
endmodule
module dffe
( input d, clk, en, output reg q );
initial begin
q = 0;
end
always @( posedge clk )
if ( en )
q <= d;
endmodule
module dffsr
( input d, clk, pre, clr, output reg q );
initial begin