diff options
author | Marcin KoĆcielnicki <mwk@0x04.net> | 2020-03-18 20:58:36 +0100 |
---|---|---|
committer | Marcelina KoĆcielnicka <mwk@0x04.net> | 2020-03-19 18:51:21 +0100 |
commit | e91368a5f423b0e4188c13512816e0ecaf09a0d9 (patch) | |
tree | b2a517943f1f8ba49e554a3a9549496fdf7407fe /passes | |
parent | d46259becd74e976e95e86106eaa648ac87b5584 (diff) | |
download | yosys-e91368a5f423b0e4188c13512816e0ecaf09a0d9.tar.gz yosys-e91368a5f423b0e4188c13512816e0ecaf09a0d9.tar.bz2 yosys-e91368a5f423b0e4188c13512816e0ecaf09a0d9.zip |
fsm_extract: Initialize celltypes with full design.
Fixes #1781.
Diffstat (limited to 'passes')
-rw-r--r-- | passes/fsm/fsm_extract.cc | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/passes/fsm/fsm_extract.cc b/passes/fsm/fsm_extract.cc index a85c3bec0..0f7b4d106 100644 --- a/passes/fsm/fsm_extract.cc +++ b/passes/fsm/fsm_extract.cc @@ -422,11 +422,7 @@ struct FsmExtractPass : public Pass { log_header(design, "Executing FSM_EXTRACT pass (extracting FSM from design).\n"); extra_args(args, 1, design); - CellTypes ct; - ct.setup_internals(); - ct.setup_internals_mem(); - ct.setup_stdcells(); - ct.setup_stdcells_mem(); + CellTypes ct(design); for (auto &mod_it : design->modules_) { |