summaryrefslogtreecommitdiff
path: root/techlibs/common
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2015-04-27 10:16:07 +0200
committerClifford Wolf <clifford@clifford.at>2015-04-27 10:16:07 +0200
commit794d22969dae1a31af36719574351cf75e4fe033 (patch)
treee779b534c6ececb285d55886c67601dacbde7aa4 /techlibs/common
parent8d4a675f91b67d6ce87cb2af19526410cf4c6d36 (diff)
Added simplemap $lut support
Diffstat (limited to 'techlibs/common')
-rw-r--r--techlibs/common/techmap.v10
1 files changed, 2 insertions, 8 deletions
diff --git a/techlibs/common/techmap.v b/techlibs/common/techmap.v
index e0ecf0c4..f67e3658 100644
--- a/techlibs/common/techmap.v
+++ b/techlibs/common/techmap.v
@@ -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