diff options
author | Anonymous Maarten <anonymous.maarten@gmail.com> | 2020-06-17 13:53:57 +0200 |
---|---|---|
committer | Anonymous Maarten <anonymous.maarten@gmail.com> | 2020-06-17 16:20:52 +0200 |
commit | 60fb9cabcfad985a4f35acaa74fd6e63b45081bc (patch) | |
tree | e523c5428ab51e9dc2b8f54f2fe5587670c28968 | |
parent | 504f22061995d5b0ad6549e360ee1dded0e86116 (diff) | |
download | yosys-60fb9cabcfad985a4f35acaa74fd6e63b45081bc.tar.gz yosys-60fb9cabcfad985a4f35acaa74fd6e63b45081bc.tar.bz2 yosys-60fb9cabcfad985a4f35acaa74fd6e63b45081bc.zip |
msvc does not support designated initializers in structs
-rw-r--r-- | passes/techmap/extract_counter.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/passes/techmap/extract_counter.cc b/passes/techmap/extract_counter.cc index 68b338143..77a4bc0b6 100644 --- a/passes/techmap/extract_counter.cc +++ b/passes/techmap/extract_counter.cc @@ -795,11 +795,11 @@ struct ExtractCounterPass : public Pass { pool<RTLIL::IdString> _parallel_cells; CounterExtractionSettings settings { - .parallel_cells = _parallel_cells, - .maxwidth = 64, - .minwidth = 2, - .allow_arst = true, - .allowed_dirs = 0, + _parallel_cells, // parallel_cells + 64, // maxwidth + 2, // minwidth + true, // allow_arst + 0, // allowed_dirs }; size_t argidx; |