diff options
author | Sahand Kashani-Akhavan <sahand.kashani@gmail.com> | 2020-03-23 08:56:28 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-23 08:56:28 +0100 |
commit | 566e08485a93c07d9db2162250a56ab6952a06e3 (patch) | |
tree | b5bf8a73efb1bd0661ce71f837d1023e5d5d0638 | |
parent | 21492914a29a8cbd9ccae6ad275c9ee2f1d98957 (diff) | |
download | yosys-566e08485a93c07d9db2162250a56ab6952a06e3.tar.gz yosys-566e08485a93c07d9db2162250a56ab6952a06e3.tar.bz2 yosys-566e08485a93c07d9db2162250a56ab6952a06e3.zip |
Const parameter in function (backends/firrtl/firrtl.cc)
Co-Authored-By: Alberto Gonzalez <61295559+boqwxp@users.noreply.github.com>
-rw-r--r-- | backends/firrtl/firrtl.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/firrtl/firrtl.cc b/backends/firrtl/firrtl.cc index a6cb9cfbe..a4bfe8549 100644 --- a/backends/firrtl/firrtl.cc +++ b/backends/firrtl/firrtl.cc @@ -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) { |