diff options
author | Eddie Hung <eddie@fpgeh.com> | 2019-08-15 10:05:08 -0700 |
---|---|---|
committer | Eddie Hung <eddie@fpgeh.com> | 2019-08-15 10:05:08 -0700 |
commit | 9f98241010481588d643c6d4e24d7b9af2b37c2f (patch) | |
tree | 234a3d4424286615e8afa2ebba8d693ba2773489 /passes/techmap/lut2mux.cc | |
parent | 4cfefae21e872bb5a4dc13473316352da2b7a916 (diff) | |
download | yosys-9f98241010481588d643c6d4e24d7b9af2b37c2f.tar.gz yosys-9f98241010481588d643c6d4e24d7b9af2b37c2f.tar.bz2 yosys-9f98241010481588d643c6d4e24d7b9af2b37c2f.zip |
Transform "$.*" to ID("$.*") in passes/techmap
Diffstat (limited to 'passes/techmap/lut2mux.cc')
-rw-r--r-- | passes/techmap/lut2mux.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/passes/techmap/lut2mux.cc b/passes/techmap/lut2mux.cc index a4ed79550..27c8175dd 100644 --- a/passes/techmap/lut2mux.cc +++ b/passes/techmap/lut2mux.cc @@ -81,7 +81,7 @@ struct Lut2muxPass : public Pass { for (auto module : design->selected_modules()) for (auto cell : module->selected_cells()) { - if (cell->type == "$lut") { + if (cell->type == ID($lut)) { IdString cell_name = cell->name; int count = lut2mux(cell); log("Converted %s.%s to %d MUX cells.\n", log_id(module), log_id(cell_name), count); |