mirror of
https://github.com/YosysHQ/yosys
synced 2025-05-06 15:25:47 +00:00
100%
This commit is contained in:
parent
eeb15ea2a2
commit
65d50db4ef
13 changed files with 74 additions and 67 deletions
|
@ -141,9 +141,10 @@ struct BlifDumper
|
|||
return "subckt";
|
||||
}
|
||||
|
||||
void dump_params(const char *command, dict<IdString, Const> ¶ms)
|
||||
template <typename SmellsLikeDict>
|
||||
void dump_params(const char *command, SmellsLikeDict ¶ms)
|
||||
{
|
||||
for (auto ¶m : params) {
|
||||
for (auto param : params) {
|
||||
f << stringf("%s %s ", command, log_id(param.first));
|
||||
if (param.second.flags & RTLIL::CONST_FLAG_STRING) {
|
||||
std::string str = param.second.decode_string();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue