mirror of
https://github.com/YosysHQ/yosys
synced 2026-06-05 16:40:53 +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:
parent
9ad7aed4a5
commit
1ede98797f
1 changed files with 1 additions and 2 deletions
|
|
@ -423,8 +423,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)
|
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("%sparameter %s = ", indent.c_str(), id(id_string).c_str());
|
||||||
f << stringf(" = ");
|
|
||||||
dump_const(f, parameter);
|
dump_const(f, parameter);
|
||||||
f << ";\n";
|
f << ";\n";
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue