3
0
Fork 0
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:
Clifford Wolf 2015-04-27 10:16:07 +02:00
parent 8d4a675f91
commit 794d22969d
3 changed files with 27 additions and 8 deletions

View file

@ -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