diff options
author | Clifford Wolf <clifford@clifford.at> | 2014-07-30 22:04:30 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2014-07-30 22:04:30 +0200 |
commit | 254148910556d057ec296e4f8c44e92bdb8c09a3 (patch) | |
tree | fc1ec2ce6e6c0c17bf042e7f0fe44022518600db /techlibs | |
parent | 7daad40ca408732786d46fee8b5485bf45595807 (diff) | |
download | yosys-254148910556d057ec296e4f8c44e92bdb8c09a3.tar.gz yosys-254148910556d057ec296e4f8c44e92bdb8c09a3.tar.bz2 yosys-254148910556d057ec296e4f8c44e92bdb8c09a3.zip |
Added techmap CONSTMAP feature
Diffstat (limited to 'techlibs')
-rw-r--r-- | techlibs/common/stdcells.v | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/techlibs/common/stdcells.v b/techlibs/common/stdcells.v index a2fce1313..7ee2771e6 100644 --- a/techlibs/common/stdcells.v +++ b/techlibs/common/stdcells.v @@ -152,7 +152,8 @@ output [Y_WIDTH-1:0] Y; localparam WIDTH = `MAX(A_WIDTH, Y_WIDTH); localparam BB_WIDTH = `MIN($clog2(shift_left ? Y_WIDTH : A_SIGNED ? WIDTH : A_WIDTH) + 1, B_WIDTH); -wire [1023:0] _TECHMAP_DO_ = "proc; opt_muxtree; opt_const -mux_undef -mux_bool -fine;;;"; +wire [1023:0] _TECHMAP_DO_00_ = "proc;;"; +wire [1023:0] _TECHMAP_DO_01_ = "CONSTMAP; opt_muxtree; opt_const -mux_undef -mux_bool -fine;;;"; integer i; reg [WIDTH-1:0] buffer; @@ -198,7 +199,8 @@ localparam WIDTH = `MAX(A_WIDTH, Y_WIDTH) + (B_SIGNED ? 2**(BB_WIDTH-1) : 0); parameter _TECHMAP_CELLTYPE_ = ""; localparam extbit = _TECHMAP_CELLTYPE_ == "$shift" ? 1'b0 : 1'bx; -wire [1023:0] _TECHMAP_DO_ = "proc; opt_muxtree; opt_const -mux_undef -mux_bool -fine;;;"; +wire [1023:0] _TECHMAP_DO_00_ = "proc;;"; +wire [1023:0] _TECHMAP_DO_01_ = "CONSTMAP; opt_muxtree; opt_const -mux_undef -mux_bool -fine;;;"; integer i; reg [WIDTH-1:0] buffer; |