Skip to content

Commit

Permalink
Remove deprecated GUI settings
Browse files Browse the repository at this point in the history
  • Loading branch information
ravikiranchollangi committed Dec 1, 2024
1 parent 7883129 commit 0c83249
Show file tree
Hide file tree
Showing 2 changed files with 61 additions and 10 deletions.
69 changes: 60 additions & 9 deletions etc/settings/settings_test.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,17 +59,57 @@
"auto",
"none"
],
"arg": "carry"
"arg": "carry",
"default":"Auto"
},
"no_dsp_checkbox": {
"label": "No DSP Blocks",
"widgetType": "checkbox",
"arg": "no_dsp"
"netlist_lang_dropdown": {
"label": "Pnr netlist language",
"widgetType": "dropdown",
"options": [
"Blif",
"EBlif",
"Edif",
"Verilog",
"VHDL"
],
"optionsLookup": [
"blif",
"eblif",
"edif",
"verilog",
"vhdl"
],
"default": "Verilog",
"arg": "netlist_lang"
},
"no_bram_checkbox": {
"label": "No Block Ram",
"widgetType": "checkbox",
"arg": "no_bram"
"inferred_io": {
"label": "Inferred IO",
"widgetType": "dropdown",
"options": [
"Auto",
"None"
],
"optionsLookup": [
"auto",
"none"
],
"arg": "inferred_io"
},
"bram_spinbox_ex": {
"label": "Block RAM limit",
"widgetType": "spinbox",
"minVal": 0,
"maxVal": 0,
"stepVal": 1,
"arg": "bram_limit"
},
"carry_chain_spinbox_ex": {
"label": "Carry length limit",
"widgetType": "spinbox",
"minVal": 0,
"maxVal": 0,
"stepVal": 1,
"arg": "carry_chain_limit"
},
"no_sat_checkbox": {
"label": "No Sat",
Expand All @@ -81,6 +121,17 @@
"widgetType": "checkbox",
"arg": "fast"
},
"no_flatten": {
"label": "No flatten",
"widgetType": "checkbox",
"arg": "no_flatten"
},
"keep_tribuf": {
"label": "Keep Tribuf",
"widgetType": "checkbox",
"arg": "keep_tribuf",
"default": "checked"
},
"_META_": {
"hidden": false,
"isSetting": true,
Expand Down
2 changes: 1 addition & 1 deletion src/Compiler/CompilerRS.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ std::string CompilerRS::FinishSynthesisScript(const std::string &script) {
no_sat = "-no_sat";
}

std::string init_registers = std::string("-init_registers ") + std::to_string(SynthInitRegisters) + std::string(" ");
std::string init_registers = std::string("-init_registers ") + std::to_string(SynthInitRegisters()) + std::string(" ");

std::string limits;
limits += std::string("-max_lut ") + std::to_string(MaxDeviceLUTCount()) +
Expand Down

0 comments on commit 0c83249

Please sign in to comment.