diff options
author | Eddie Hung <eddie@fpgeh.com> | 2019-07-02 12:21:03 -0700 |
---|---|---|
committer | Eddie Hung <eddie@fpgeh.com> | 2019-07-02 12:21:03 -0700 |
commit | 69f4c039ce615c6a6c788e7b0da53e37467d32f6 (patch) | |
tree | 6d4362bd127b1a3152797cce6ffb11c27a6281e3 | |
parent | a31e17182d7f9437fb78f5018dfccbd66d9704ea (diff) | |
download | yosys-69f4c039ce615c6a6c788e7b0da53e37467d32f6.tar.gz yosys-69f4c039ce615c6a6c788e7b0da53e37467d32f6.tar.bz2 yosys-69f4c039ce615c6a6c788e7b0da53e37467d32f6.zip |
Safe side: all flops have different mergeability class
-rw-r--r-- | backends/aiger/xaiger.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/aiger/xaiger.cc b/backends/aiger/xaiger.cc index 19e6c8369..632a5c8d5 100644 --- a/backends/aiger/xaiger.cc +++ b/backends/aiger/xaiger.cc @@ -843,7 +843,7 @@ struct XAigerWriter write_r_buffer(ff_bits.size()); int mergeability_class = 1; for (auto cell : ff_bits) - write_r_buffer(mergeability_class); + write_r_buffer(mergeability_class++); f << "r"; buffer_str = r_buffer.str(); |