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:
parent
c5754d9e8b
commit
9e537a76b5
4 changed files with 41 additions and 18 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue