3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-09-13 13:11:27 +00:00
Commit graph

11 commits

Author SHA1 Message Date
Robert O'Callahan
a57b7dfd2e Make Const::as_string work without reducing packed bits to vector<State> 2025-09-01 02:45:58 +00:00
Robert O'Callahan
c2ad2a407a Optimize Const::hash_into to hash packed bits efficiently 2025-09-01 02:45:57 +00:00
Robert O'Callahan
ec52d6c649 Fast path for Const::operator== 2025-09-01 02:45:57 +00:00
Robert O'Callahan
60099e5005 Make Const::as_bool and Const::as_int work with packed bits without decaying to vector<State> 2025-09-01 02:45:57 +00:00
Robert O'Callahan
e206b059f6 Make Const::Const(long long) constructor use packed bits internally if possible 2025-09-01 02:45:57 +00:00
Robert O'Callahan
f9ee5e4c31 Update tests to avoid bits() 2025-09-01 02:45:57 +00:00
Robert O'Callahan
e151fbc5df Update Const API with alternatives to direct use of bits()
In particular, `Const::resize()`, `Const::set()`, and `Const::iterator`.
2025-09-01 02:44:23 +00:00
Robert O'Callahan
4657768506 Fix const_iterator postincrement behavior 2025-08-31 23:42:53 +00:00
Jannis Harder
7cd822b7f5 rtlil: Add {from,to}_hdl_index methods to Wire
In the past we had the occasional bug due to some place not handling all
4 combinations of upto/downto and zero/nonzero start_offset correctly.
2025-02-18 17:08:45 +01:00
Emil J. Tywoniak
785bd44da7 rtlil: represent Const strings as std::string 2024-10-14 06:28:12 +02:00
rodrigosiqueira
e0152319f5 Added required structure to implement unit tests
Added modifications inside the main Makefile to refers the unit test Makefile.
Added separated Makefile only for compiling unit tests.
Added simple example of unit test.

Signed-off-by: Charles Oliveira <18oliveira.charles@gmail.com>
Signed-off-by: Pablo Alejandro <pabloabur@usp.br>
Signed-off-by: Rodrigo Siqueira <siqueira@ime.usp.br>
2016-12-04 11:34:27 -02:00