diff options
author | Marcelina KoĆcielnicka <mwk@0x04.net> | 2021-10-02 01:23:43 +0200 |
---|---|---|
committer | Marcelina KoĆcielnicka <mwk@0x04.net> | 2021-10-02 21:01:21 +0200 |
commit | e7d89e653c9d295d3cc9547b83660658e4d1c95b (patch) | |
tree | a9065acd5252b3ad0271f8a198a7acbfe0921628 /backends/smv/smv.cc | |
parent | ba0723cad77a327653c080da84dda9f6ef12fad1 (diff) | |
download | yosys-e7d89e653c9d295d3cc9547b83660658e4d1c95b.tar.gz yosys-e7d89e653c9d295d3cc9547b83660658e4d1c95b.tar.bz2 yosys-e7d89e653c9d295d3cc9547b83660658e4d1c95b.zip |
Hook up $aldff support in various passes.
Diffstat (limited to 'backends/smv/smv.cc')
-rw-r--r-- | backends/smv/smv.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/smv/smv.cc b/backends/smv/smv.cc index f4723d2a6..7bace6912 100644 --- a/backends/smv/smv.cc +++ b/backends/smv/smv.cc @@ -578,7 +578,7 @@ struct SmvWorker log_error("Unsupported cell type %s for cell %s.%s -- please run `dffunmap` before `write_smv`.\n", log_id(cell->type), log_id(module), log_id(cell)); } - if (cell->type.in(ID($adff), ID($adffe), ID($dffsr), ID($dffsre)) || cell->type.str().substr(0, 5) == "$_DFF") { + if (cell->type.in(ID($adff), ID($adffe), ID($aldff), ID($aldffe), ID($dffsr), ID($dffsre)) || cell->type.str().substr(0, 5) == "$_DFF" || cell->type.str().substr(0, 7) == "$_ALDFF") { log_error("Unsupported cell type %s for cell %s.%s -- please run `async2sync; dffunmap` or `clk2fflogic` before `write_smv`.\n", log_id(cell->type), log_id(module), log_id(cell)); } |