diff options
author | Clifford Wolf <clifford@clifford.at> | 2014-08-02 18:58:40 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2014-08-02 18:58:40 +0200 |
commit | 04727c7e0fb4c00b38999da192e4ada2a6f9474a (patch) | |
tree | 5cedd8807a1d846d5bd6790bfde555b70b8c283b /passes/techmap | |
parent | 768eb846c4473040dc07bf62ce631c8a21474ae8 (diff) | |
download | yosys-04727c7e0fb4c00b38999da192e4ada2a6f9474a.tar.gz yosys-04727c7e0fb4c00b38999da192e4ada2a6f9474a.tar.bz2 yosys-04727c7e0fb4c00b38999da192e4ada2a6f9474a.zip |
No implicit conversion from IdString to anything else
Diffstat (limited to 'passes/techmap')
-rw-r--r-- | passes/techmap/extract.cc | 4 | ||||
-rw-r--r-- | passes/techmap/techmap.cc | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/passes/techmap/extract.cc b/passes/techmap/extract.cc index 06af2923b..985d51e50 100644 --- a/passes/techmap/extract.cc +++ b/passes/techmap/extract.cc @@ -240,8 +240,8 @@ namespace if (sig_bit_ref.count(bit) == 0) { bit_ref_t &bit_ref = sig_bit_ref[bit]; - bit_ref.cell = cell->name; - bit_ref.port = conn.first; + bit_ref.cell = cell->name.str(); + bit_ref.port = conn.first.str(); bit_ref.bit = i; } diff --git a/passes/techmap/techmap.cc b/passes/techmap/techmap.cc index 374fa9bf2..c639cc48d 100644 --- a/passes/techmap/techmap.cc +++ b/passes/techmap/techmap.cc @@ -155,7 +155,7 @@ struct TechmapWorker if (!flatten_mode) for (auto &it : tpl->cells_) if (it.first == "\\_TECHMAP_REPLACE_") { - orig_cell_name = cell->name; + orig_cell_name = cell->name.str(); module->rename(cell, stringf("$techmap%d", autoidx++) + cell->name.str()); break; } |