1
0
mirror of synced 2026-05-04 23:27:07 +00:00

Const parameter in function (backends/firrtl/firrtl.cc)

Co-Authored-By: Alberto Gonzalez <61295559+boqwxp@users.noreply.github.com>
This commit is contained in:
Sahand Kashani-Akhavan
2020-03-23 08:56:28 +01:00
committed by GitHub
parent 21492914a2
commit 566e08485a

View File

@@ -96,7 +96,7 @@ void dump_const(std::ostream &f, const RTLIL::Const &data, int width = -1, int o
}
}
std::string getFileinfo(dict<RTLIL::IdString, RTLIL::Const> attributes)
std::string getFileinfo(const dict<RTLIL::IdString, RTLIL::Const> &attributes)
{
std::ostringstream fileinfo;
for (auto &it : attributes) {