mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-23 09:05:32 +00:00
fixup! hashlib: redo interface for flexibility
This commit is contained in:
parent
b6981d329e
commit
4ef0829f08
1 changed files with 0 additions and 2 deletions
|
@ -148,7 +148,6 @@ struct OptMergeWorker
|
|||
for (auto it : hash_conn_strings)
|
||||
hash_string += it;
|
||||
|
||||
log("hashed string %s\n", hash_string.c_str());
|
||||
return std::hash<std::string>{}(hash_string);
|
||||
}
|
||||
|
||||
|
@ -277,7 +276,6 @@ struct OptMergeWorker
|
|||
continue;
|
||||
|
||||
uint64_t hash = hash_cell_parameters_and_connections(cell);
|
||||
log("cell %s: hash %lX\n", cell->name.c_str(), hash);
|
||||
auto r = sharemap.insert(std::make_pair(hash, cell));
|
||||
if (!r.second) {
|
||||
if (compare_cell_parameters_and_connections(cell, r.first->second)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue