3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2026-02-13 04:13:03 +00:00

Update backends/verilog/verilog_backend.cc

Co-authored-by: Marcelina Kościelnicka <236399+mwkmwkmwk@users.noreply.github.com>
This commit is contained in:
Gus Smith 2026-01-06 09:37:21 -08:00 committed by GitHub
parent 3d738f8657
commit 9635e1f0d4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -397,8 +397,7 @@ void dump_attributes(std::ostream &f, std::string indent, dict<RTLIL::IdString,
void dump_parameter(std::ostream &f, std::string indent, RTLIL::IdString id_string, RTLIL::Const parameter)
{
f << stringf("%sparameter %s", indent.c_str(), id(id_string).c_str());
f << stringf(" = ");
f << stringf("%sparameter %s = ", indent.c_str(), id(id_string).c_str());
dump_const(f, parameter);
f << ";\n";
}