1
0
mirror of synced 2026-05-05 15:45:07 +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