From 0a8a2e95454bde1888edbca50c3894cac5057c23 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Thu, 23 Apr 2020 17:37:44 +0200 Subject: ghdl.cc: adjust for recent yosys. Fix #107 --- src/ghdl.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- cgit v1.2.3