synth_xilinx to call bitblast_shiftx

This commit is contained in:
Eddie Hung 2019-04-25 17:11:18 -07:00
parent eec314e262
commit feff976454
1 changed files with 4 additions and 1 deletions

View File

@ -126,6 +126,7 @@ struct SynthXilinxPass : public Pass
log("\n"); log("\n");
log(" map_cells:\n"); log(" map_cells:\n");
log(" pmux2shiftx (without '-nosrl' and '-nomux' only)\n"); log(" pmux2shiftx (without '-nosrl' and '-nomux' only)\n");
log(" bitblast_shiftx (without '-nosrl' and '-nomux' only)\n");
log(" simplemap t:$dff t:$dffe (without '-nosrl' only)\n"); log(" simplemap t:$dff t:$dffe (without '-nosrl' only)\n");
log(" opt_expr -mux_undef (without '-nosrl' only)\n"); log(" opt_expr -mux_undef (without '-nosrl' only)\n");
log(" shregmap -tech xilinx -minlen 3 (without '-nosrl' only)\n"); log(" shregmap -tech xilinx -minlen 3 (without '-nosrl' only)\n");
@ -309,8 +310,10 @@ struct SynthXilinxPass : public Pass
// cells for identifying variable-length shift registers, // cells for identifying variable-length shift registers,
// so attempt to convert $pmux-es to the former // so attempt to convert $pmux-es to the former
// Also: wide multiplexer inference benefits from this too // Also: wide multiplexer inference benefits from this too
if (!nosrl || !nomux) if (!nosrl || !nomux) {
Pass::call(design, "pmux2shiftx"); Pass::call(design, "pmux2shiftx");
Pass::call(design, "bitblast_shiftx");
}
if (!nosrl) { if (!nosrl) {
// shregmap operates on bit-level flops, not word-level, // shregmap operates on bit-level flops, not word-level,