KrystalDelusion
c61b2bc1bc
Merge pull request #4794 from YosysHQ/krys/cygwin_compat
...
Fix Cygwin compatibility
2024-12-05 09:16:18 +13:00
KrystalDelusion
c96d02b204
Merge pull request #4784 from YosysHQ/krys/reduce_warnings
...
Reduce number of warnings
2024-12-05 09:16:06 +13:00
Emil J
d78086480f
Merge pull request #4770 from YosysHQ/emil/autoidx-option
...
driver: add --autoidx
2024-12-04 16:43:40 +01:00
Martin Povišer
59a96470df
Merge pull request #4773 from povik/wrapcell
...
wrapcell: Add new command
2024-12-04 11:49:51 +01:00
Martin Povišer
14ee5ce800
Merge pull request #4787 from povik/booth-macc
...
booth: Map simple `$macc` instances too
2024-12-04 11:49:34 +01:00
Emil J
3b8e8ee012
Merge pull request #4797 from YosysHQ/emil/multiple-liberty
...
Allow multiple -liberty args in dfflibmap and clockgate
2024-12-04 11:18:52 +01:00
Martin Povišer
384c191192
Merge pull request #4775 from povik/dont_map
...
techmap: Add `-dont_map` for selective disabling of rules
2024-12-03 20:21:47 +01:00
Martin Povišer
1c7bb700c9
techmap: Rephrase help
2024-12-03 20:20:00 +01:00
Emil J. Tywoniak
6edf9c86cb
libparse: add LibertyMergedCells, enable multiple -liberty args for dfflibmap and clockgate
2024-12-03 17:36:00 +01:00
Emil J. Tywoniak
60fb241cb3
clockgate: clean up argument parsing
2024-12-03 17:35:10 +01:00
Emil J
52336369fa
Merge pull request #4783 from YosysHQ/emil/blockrom-driver-conflict
...
tests: fix blockrom.v driver conflict
2024-12-03 16:29:43 +01:00
Martin Povišer
109d97bb40
Merge pull request #4706 from povik/keep_hierarchy-adjustalgo
...
Adjust `keep_hierarchy` behavior
2024-12-03 12:18:28 +01:00
Emil J
61a6567b9f
Merge pull request #4789 from YosysHQ/emil/sklansky-adder
...
Add a Sklansky option for `$lcu` mapping
2024-12-03 11:33:13 +01:00
Martin Povišer
6ad4918121
Account for pre-existing `keep_hierarchy` in cost sum
2024-12-03 11:11:59 +01:00
Martin Povišer
c33f7b92f7
Fix typo
2024-12-03 11:11:02 +01:00
Martin Povišer
f81dbf2433
Update `gate_cost_equivalent` help
2024-12-03 11:09:15 +01:00
Krystine Sherwin
e634e9c26b
aiger2: Resolve warnings
...
- Remove unused statics CONST_FALSE and CONST_TRUE (which appear to have been folded into the `Index` declaration as CFALSE and CTRUE).
- Assign default value of EMPTY_LIT to `a` and `b` for comparison ops.
- Tag debug only variables with YS_MAYBE_UNUSED, don't assign unused variables (but continue to call the function because it moves the file pointer).
2024-12-03 14:01:57 +13:00
KrystalDelusion
889894a6d2
Merge pull request #4790 from YosysHQ/emil/clockgate-warnings
...
clockgate: reduce build warnings
2024-12-03 13:25:52 +13:00
Krystine Sherwin
7d8140ddea
kernel/mem: Fix Cygwin compat
...
Avoid error:
```
kernel/mem.cc:1683:7: error: conflicting declaration ‘using addr_t = using addr_t = uint32_t’
1683 | using addr_t = MemContents::addr_t;
| ^~~~~~
In file included from /usr/include/sys/types.h:222,
from /usr/include/pthread.h:11,
from /usr/lib/gcc/x86_64-pc-cygwin/12/include/c++/x86_64-pc-cygwin/bits/gthr-default.h:35,
from /usr/lib/gcc/x86_64-pc-cygwin/12/include/c++/x86_64-pc-cygwin/bits/gthr.h:148,
from /usr/lib/gcc/x86_64-pc-cygwin/12/include/c++/ext/atomicity.h:35,
from /usr/lib/gcc/x86_64-pc-cygwin/12/include/c++/bits/cow_string.h:37,
from /usr/lib/gcc/x86_64-pc-cygwin/12/include/c++/bits/basic_string.h:51,
from /usr/lib/gcc/x86_64-pc-cygwin/12/include/c++/string:53,
from ./kernel/yosys_common.h:27,
from ./kernel/yosys.h:42,
from ./kernel/mem.h:23,
from kernel/mem.cc:20:
/usr/include/machine/types.h:63:15: note: previous declaration as ‘typedef char* addr_t’
63 | typedef char *addr_t;
```
According to IntelliSense, only the return types need to be prefixed with `MemContents::`, the rest are automagically using the class definition and highlight as `using Yosys::MemContents::addr_t = uint32_t`.
2024-12-03 13:15:33 +13:00
Krystine Sherwin
16a595004c
libs/fst: Fix Cygwin compat
2024-12-03 12:48:48 +13:00
Emil J. Tywoniak
c26966e3db
tests: fix blockrom.v driver conflict
2024-12-02 16:56:42 +01:00
Martin Povišer
a8a65db0bc
Merge pull request #4791 from YosysHQ/lofty/demote-dfflibmap-warnings
...
dfflibmap: demote some warnings to debug
2024-12-02 16:29:54 +01:00
Miodrag Milanovic
912b38eedb
verific: Handle crash when using empty box option
2024-12-02 15:45:12 +01:00
Lofty
fd05f73d50
dfflibmap: demote some warnings to debug
2024-12-02 14:17:51 +00:00
Martin Povišer
3c67d9f779
Merge pull request #4788 from YosysHQ/emil/han-carlson-proc
...
techlibs: add _TECHMAP_DO_ to Han-Carlson adder
2024-12-02 11:37:47 +01:00
Emil J. Tywoniak
fe64a714a9
techmap: add a Sklansky option for `$lcu` mapping
2024-12-02 11:34:58 +01:00
Emil J. Tywoniak
6b006e5f61
clockgate: reduce build warnings
2024-12-02 10:07:01 +01:00
Emil J. Tywoniak
ebd7f2b366
techlibs: add _TECHMAP_DO_ to Han-Carlson adder
2024-12-02 09:54:24 +01:00
Martin Povišer
1ded817beb
booth: Map simple `$macc` instances too
2024-12-01 16:00:04 +01:00
github-actions[bot]
f04b899721
Bump version
2024-11-30 00:21:43 +00:00
Emil J
e436cc053f
Merge pull request #4779 from YosysHQ/emil/han-carlson-adder
...
Add a Han-Carlson option for `$lcu` mapping
2024-11-29 10:13:39 +01:00
Krystine Sherwin
1de5d98ae2
Reduce comparisons of size_t and int
...
`Const::size()` returns int, so change iterators that use it to `auto` instead of `size_t`.
For cases where size is being explicitly cast to `int`, use the wrapper that we already have instead: `Yosys::GetSize()`.
2024-11-29 12:53:29 +13:00
Emil J. Tywoniak
3ebc714dbc
techmap: test consistently with other equiv_make tests
2024-11-29 00:15:02 +01:00
Emil J. Tywoniak
91844968fd
techmap: wrap builtin $lcu as golden module in PPA tests
2024-11-29 00:13:21 +01:00
Emil J. Tywoniak
a41ef0271c
techmap: remove ppa.nomatch by purging internal signals
2024-11-29 00:03:49 +01:00
Emil J. Tywoniak
4bf3677640
techmap: set Han-Carlson adder priority consistent with Kogge-Stone
2024-11-28 23:54:00 +01:00
Emil J. Tywoniak
3f078d9afa
tests: rework Kogge-Stone test consistently with Han-Carlson
2024-11-28 15:33:21 +01:00
Emil J. Tywoniak
1a562f9605
techmap: add TCL test for Han-Carlson adder
2024-11-28 15:33:21 +01:00
Emil J. Tywoniak
289673a807
tests: add support for tcl tests
2024-11-28 15:33:21 +01:00
Emil J. Tywoniak
6c78bd3637
techmap: add a Han-Carlson option for `$lcu` mapping
2024-11-28 15:33:21 +01:00
KrystalDelusion
6f3376cbe6
Merge pull request #4730 from YosysHQ/krys/downstream-docs
...
Improvements for downstream-distro maintainability.
2024-11-28 14:35:16 +13:00
github-actions[bot]
87742fa688
Bump version
2024-11-28 01:26:26 +00:00
Martin Povišer
646c5a19a8
Merge pull request #4776 from YosysHQ/krys/get_blackbox_attribute
...
Move get_blackbox_attribute method to Module instead of AttrObject
2024-11-28 00:25:16 +01:00
Martin Povišer
1717a0b9c0
Merge pull request #4721 from ldoolitt/main
...
kernel/drivertools.h: avoid maybe-uninitialized compile warnings
2024-11-28 00:09:43 +01:00
Martin Povišer
956313efe8
Merge pull request #4742 from YosysHQ/hierarchy_notify_top_attr
...
Print a note about finding attribute (* top *) in hierarchy
2024-11-28 00:07:18 +01:00
Martin Povišer
3bab837bc9
Merge pull request #4765 from georgerennie/george/rtlil_case_rule
...
read_rtlil: Warn on assigns after switches in case rules
2024-11-28 00:01:21 +01:00
KrystalDelusion
698c464109
Merge pull request #4767 from YosysHQ/krys/latest-compilers
...
test-compile: Use newer clang and gcc versions
2024-11-28 11:51:38 +13:00
KrystalDelusion
f428163252
Move get_blackbox_attribute method to Module instead of AttrObject
2024-11-28 11:19:16 +13:00
Martin Povišer
2962f8fa88
techmap: Add `-dont_map` for selective disabling of rules
2024-11-27 15:54:37 +01:00
Martin Povišer
79e9258a31
wrapcell: Add new command
2024-11-27 14:01:00 +01:00