aboutsummaryrefslogtreecommitdiffstats
path: root/passes
diff options
context:
space:
mode:
authorEddie Hung <eddie@fpgeh.com>2019-06-17 13:20:19 -0700
committerEddie Hung <eddie@fpgeh.com>2019-06-17 13:20:19 -0700
commita474fe937be4882a08887b9f6883fa4bd7078fa7 (patch)
tree1aa84f79a285c6fa4eef775230a457b5d72cdeeb /passes
parent7dd3a7f161d57f8c1f4a26cc5645bbec1c9e687a (diff)
parent63fc879a5f698803d563a57275cc99a3df2d1414 (diff)
downloadyosys-a474fe937be4882a08887b9f6883fa4bd7078fa7.tar.gz
yosys-a474fe937be4882a08887b9f6883fa4bd7078fa7.tar.bz2
yosys-a474fe937be4882a08887b9f6883fa4bd7078fa7.zip
Merge branch 'xaig' into xaig_dff
Diffstat (limited to 'passes')
-rw-r--r--passes/techmap/abc9.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/passes/techmap/abc9.cc b/passes/techmap/abc9.cc
index 40c75159d..2e5ec5e86 100644
--- a/passes/techmap/abc9.cc
+++ b/passes/techmap/abc9.cc
@@ -608,11 +608,12 @@ void abc9_module(RTLIL::Design *design, RTLIL::Module *current_module, std::stri
if (markgroups) cell->attributes["\\abcgroup"] = map_autoidx;
RTLIL::Cell *existing_cell = module->cell(c->name);
if (existing_cell) {
- cell->parameters = std::move(existing_cell->parameters);
- cell->attributes = std::move(existing_cell->attributes);
+ cell->parameters = existing_cell->parameters;
+ cell->attributes = existing_cell->attributes;
}
else {
- cell->parameters = std::move(c->parameters);
+ cell->parameters = c->parameters;
+ cell->attributes = c->attributes;
}
for (auto &conn : c->connections()) {
RTLIL::SigSpec newsig;