fabulous: remove legacy `-vpr` option

Signed-off-by: Leo Moser <leomoser99@gmail.com>
This commit is contained in:
Leo Moser 2026-06-24 13:59:01 +02:00
parent 32bd3e5418
commit d671de97e9
1 changed files with 2 additions and 11 deletions

View File

@ -55,9 +55,6 @@ struct SynthPass : public ScriptPass
log(" -lut <k>\n"); log(" -lut <k>\n");
log(" perform synthesis for a k-LUT architecture (default 4).\n"); log(" perform synthesis for a k-LUT architecture (default 4).\n");
log("\n"); log("\n");
log(" -vpr\n");
log(" perform synthesis for the FABulous VPR flow (using slightly different techmapping).\n");
log("\n");
log(" -plib <primitive_library.v>\n"); log(" -plib <primitive_library.v>\n");
log(" use the specified Verilog file as a primitive library.\n"); log(" use the specified Verilog file as a primitive library.\n");
log("\n"); log("\n");
@ -118,7 +115,7 @@ struct SynthPass : public ScriptPass
string top_module, json_file, blif_file, plib, fsm_opts, memory_opts, carry_mode; string top_module, json_file, blif_file, plib, fsm_opts, memory_opts, carry_mode;
std::vector<string> extra_plib, extra_map; std::vector<string> extra_plib, extra_map;
bool autotop, forvpr, noalumacc, nofsm, noshare, noregfile, iopad, complexdff, flatten; bool autotop, noalumacc, nofsm, noshare, noregfile, iopad, complexdff, flatten;
int lut; int lut;
void clear_flags() override void clear_flags() override
@ -127,7 +124,6 @@ struct SynthPass : public ScriptPass
plib.clear(); plib.clear();
autotop = false; autotop = false;
lut = 4; lut = 4;
forvpr = false;
noalumacc = false; noalumacc = false;
nofsm = false; nofsm = false;
noshare = false; noshare = false;
@ -170,10 +166,6 @@ struct SynthPass : public ScriptPass
} }
continue; continue;
} }
if (args[argidx] == "-vpr") {
forvpr = true;
continue;
}
if (args[argidx] == "-auto-top") { if (args[argidx] == "-auto-top") {
autotop = true; autotop = true;
continue; continue;
@ -371,8 +363,7 @@ struct SynthPass : public ScriptPass
} }
if (check_label("map_cells")) { if (check_label("map_cells")) {
if (!forvpr) run(stringf("techmap -D LUT_K=%d -map +/fabulous/cells_map.v", lut));
run(stringf("techmap -D LUT_K=%d -map +/fabulous/cells_map.v", lut));
run("clean"); run("clean");
} }
if (check_label("check")) { if (check_label("check")) {