mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-06 06:03:23 +00:00
Added simplemap $lut support
This commit is contained in:
parent
8d4a675f91
commit
794d22969d
3 changed files with 27 additions and 8 deletions
|
@ -451,15 +451,9 @@ endmodule
|
|||
// --------------------------------------------------------
|
||||
|
||||
`ifndef NOLUT
|
||||
(* techmap_simplemap *)
|
||||
(* techmap_celltype = "$lut" *)
|
||||
module _90_lut (A, Y);
|
||||
parameter WIDTH = 1;
|
||||
parameter LUT = 0;
|
||||
|
||||
input [WIDTH-1:0] A;
|
||||
output Y;
|
||||
|
||||
assign Y = LUT[A];
|
||||
module _90_lut;
|
||||
endmodule
|
||||
`endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue