mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-24 01:25:33 +00:00
Added $ff and $_FF_ cell types
This commit is contained in:
parent
4a981a3bd8
commit
8ebba8a35f
12 changed files with 118 additions and 19 deletions
|
@ -1383,6 +1383,19 @@ endmodule
|
|||
`endif
|
||||
// --------------------------------------------------------
|
||||
|
||||
module \$ff (D, Q);
|
||||
|
||||
parameter WIDTH = 0;
|
||||
|
||||
input [WIDTH-1:0] D;
|
||||
output [WIDTH-1:0] Q;
|
||||
|
||||
assign D = Q;
|
||||
|
||||
endmodule
|
||||
|
||||
// --------------------------------------------------------
|
||||
|
||||
module \$dff (CLK, D, Q);
|
||||
|
||||
parameter WIDTH = 0;
|
||||
|
|
|
@ -64,7 +64,7 @@ module _90_simplemap_various;
|
|||
endmodule
|
||||
|
||||
(* techmap_simplemap *)
|
||||
(* techmap_celltype = "$sr $dff $dffe $adff $dffsr $dlatch" *)
|
||||
(* techmap_celltype = "$sr $ff $dff $dffe $adff $dffsr $dlatch" *)
|
||||
module _90_simplemap_registers;
|
||||
endmodule
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue