diff options
author | Clifford Wolf <clifford@clifford.at> | 2019-03-11 20:12:28 +0100 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2019-03-11 20:12:28 +0100 |
commit | 20c6a8c9b0abb384517c4cc6f58cd29a90bda6ff (patch) | |
tree | da5cb7ac07229a9a577177171ec3f1eb77c928c6 /kernel/rtlil.cc | |
parent | d9bb5f3637634ea214194b612aee4bb0c62d7a5c (diff) | |
download | yosys-20c6a8c9b0abb384517c4cc6f58cd29a90bda6ff.tar.gz yosys-20c6a8c9b0abb384517c4cc6f58cd29a90bda6ff.tar.bz2 yosys-20c6a8c9b0abb384517c4cc6f58cd29a90bda6ff.zip |
Improve determinism of IdString DB for similar scripts
Signed-off-by: Clifford Wolf <clifford@clifford.at>
Diffstat (limited to 'kernel/rtlil.cc')
-rw-r--r-- | kernel/rtlil.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/rtlil.cc b/kernel/rtlil.cc index d4aebcda9..7f1816190 100644 --- a/kernel/rtlil.cc +++ b/kernel/rtlil.cc @@ -33,6 +33,8 @@ std::vector<int> RTLIL::IdString::global_refcount_storage_; std::vector<char*> RTLIL::IdString::global_id_storage_; dict<char*, int, hash_cstr_ops> RTLIL::IdString::global_id_index_; std::vector<int> RTLIL::IdString::global_free_idx_list_; +int RTLIL::IdString::last_created_idx_[8]; +int RTLIL::IdString::last_created_idx_ptr_; RTLIL::Const::Const() { |