diff options
author | Clifford Wolf <clifford@clifford.at> | 2015-04-27 10:16:07 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2015-04-27 10:16:07 +0200 |
commit | 794d22969dae1a31af36719574351cf75e4fe033 (patch) | |
tree | e779b534c6ececb285d55886c67601dacbde7aa4 /techlibs | |
parent | 8d4a675f91b67d6ce87cb2af19526410cf4c6d36 (diff) | |
download | yosys-794d22969dae1a31af36719574351cf75e4fe033.tar.gz yosys-794d22969dae1a31af36719574351cf75e4fe033.tar.bz2 yosys-794d22969dae1a31af36719574351cf75e4fe033.zip |
Added simplemap $lut support
Diffstat (limited to 'techlibs')
-rw-r--r-- | techlibs/common/techmap.v | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/techlibs/common/techmap.v b/techlibs/common/techmap.v index e0ecf0c48..f67e36584 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 |