aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/ghdl.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ghdl.cc b/src/ghdl.cc
index 6dda66d..54fa7e9 100644
--- a/src/ghdl.cc
+++ b/src/ghdl.cc
@@ -567,7 +567,7 @@ static void import_module(RTLIL::Design *design, GhdlSynth::Module m)
}
Param_Idx nbr_params = get_nbr_params(m);
for (Param_Idx idx = 0; idx < nbr_params; idx++) {
- module->avail_parameters.insert(to_str(get_param_name(m, idx)));
+ module->avail_parameters(to_str(get_param_name(m, idx)));
}
module->fixup_ports();