Emil J. Tywoniak
6349b3629c
gowin: lower LUT count sensitivity
2025-11-19 11:34:05 +01:00
Emil J. Tywoniak
7b3edefacc
verilog: fix case location
2025-11-19 11:34:05 +01:00
Emil J. Tywoniak
0d151dc09d
rtlil: replace SigSig actions with new type SyncAction
2025-11-19 11:34:05 +01:00
github-actions[bot]
9aa2dde7ef
Bump version
2025-11-18 00:24:34 +00:00
Emil J
b8012086a3
Merge pull request #5485 from YosysHQ/emil/remove-cells-lib
...
techlibs: remove cells.lib
2025-11-17 14:57:31 +01:00
Miodrag Milanović
cfa9c8bfc8
Merge pull request #5489 from rocallahan/fix-counter-reset
...
Fix `reset_auto_counter_id` to correctly detect `_NNN_` patterns
2025-11-17 14:26:57 +01:00
Miodrag Milanovic
58d4e2c38e
ignore generated file
2025-11-17 13:35:38 +01:00
Miodrag Milanović
725a1c3a4b
Merge pull request #5488 from rocallahan/sigspec-at
...
Implement at() methods on SigSpec so that SigSpec::bits().at() continues to work as it did
2025-11-17 12:11:14 +01:00
Robert O'Callahan
b870693393
Fix reset_auto_counter_id to correctly detect _NNN_ patterns
...
This fixes a regression caused by commit c4c389fdd7 .
2025-11-17 09:21:59 +00:00
Robert O'Callahan
261a0ae9e1
Implement at() methods on SigSpec so that SigSpec::bits().at() continues to work as it did
...
Fixes a regression caused by commit 745222fa3b , which caused some
third-party code to fail to build, e.g.:
5d7aa035c6/lib/Transforms/YosysOptimizer/RTLILImporter.cpp (L229)
2025-11-17 09:15:55 +00:00
github-actions[bot]
677bf21947
Bump version
2025-11-15 00:23:54 +00:00
Emil J
84adc82fad
Merge pull request #5484 from YosysHQ/emil/idstring-simpler-final-gc
...
driver: move IdString collection to yosys_shutdown
2025-11-15 00:10:12 +01:00
Emil J. Tywoniak
f47540b950
techlibs: remove cells.lib
2025-11-14 15:40:14 +01:00
Emil J. Tywoniak
c497b3b24c
Revert "rtlil: make tracing optional in IdString garbage collection"
...
This reverts commit 8c76f93fce .
2025-11-14 15:32:10 +01:00
Emil J. Tywoniak
65d7d70507
driver: move IdString collection to yosys_shutdown
2025-11-14 15:31:45 +01:00
Miodrag Milanović
ba99c05902
Merge pull request #5482 from rocallahan/newid-namespace
...
Add missing `YOSYS_NAMESPACE_PREFIX` to fix callers of `NEW_ID` that aren't in the Yosys namespace
2025-11-14 14:06:15 +01:00
Miodrag Milanović
4bfdc62f65
Merge pull request #5472 from Anhijkt/arst-fsm-handling
...
fsm_detect: add adff detection
2025-11-14 13:47:08 +01:00
Anhijkt
b08195a9cf
typo
2025-11-14 13:34:58 +02:00
Anhijkt
a75b999f13
fsm_detect: fix test
2025-11-14 13:25:51 +02:00
github-actions[bot]
abc78f0424
Bump version
2025-11-14 00:25:00 +00:00
Miodrag Milanović
b91dbc7324
Merge pull request #5481 from YosysHQ/micko/pyosys_ci
...
Build pyosys on CI
2025-11-13 21:06:05 +01:00
Miodrag Milanovic
40bbb84766
Enable pyosys install in out of tree builds
2025-11-13 16:17:53 +01:00
Miodrag Milanovic
10b49f3a91
Update generator to reflect IdString changes
2025-11-13 16:17:53 +01:00
Miodrag Milanovic
5e0bc3fd9f
Build pyosys on CI
2025-11-13 16:17:53 +01:00
Emil J
1929956fd7
Merge pull request #5483 from YosysHQ/emil/idstring-memory-safety
...
Resolve IdString memory leaks
2025-11-13 16:14:38 +01:00
Emil J. Tywoniak
f2263642a4
xilinx: fix IdString memory leak
2025-11-13 14:10:52 +01:00
Emil J. Tywoniak
a915143768
ice40: fix IdString memory leak
2025-11-13 14:10:52 +01:00
Emil J. Tywoniak
c48bc56f4a
driver: fix timing data divison by zero when no passes run
2025-11-13 14:10:52 +01:00
Emil J. Tywoniak
1dd5b150e5
driver: garbage collect IdStrings without tracing at exit
2025-11-13 14:10:52 +01:00
Emil J. Tywoniak
bc3fc21248
microchip: fix IdString memory leak
2025-11-13 14:10:52 +01:00
github-actions[bot]
04135ba3e4
Bump version
2025-11-13 00:24:44 +00:00
Robert O'Callahan
ead0f922e1
Add missing YOSYS_NAMESPACE_PREFIX to fix callers of NEW_ID that aren't in the Yosys namespace
2025-11-12 22:29:54 +00:00
Emil J. Tywoniak
8c76f93fce
rtlil: make tracing optional in IdString garbage collection
2025-11-12 20:22:30 +01:00
Emil J. Tywoniak
1ee4fc9d27
fix YOSYS_XTRACE_GET_PUT
2025-11-12 20:20:51 +01:00
Emil J. Tywoniak
50bfb5c5c9
constids: add $input_port and $connect
2025-11-12 20:19:42 +01:00
Emil J
d93039a194
Merge pull request #5417 from rocallahan/idstring-gc
...
Implement garbage collection of `IdString`s
2025-11-12 13:43:53 +01:00
Emil J. Tywoniak
ae281720cf
tests: remove unstable FPGA synthesis result checks
2025-11-12 11:52:04 +01:00
Robert O'Callahan
578d658871
Add timing stats for IdString garbage collection
2025-11-12 11:52:04 +01:00
Robert O'Callahan
8c2984dc5f
Fix AbcModuleState::remap_name() to avoid calling IdString::c_str()
2025-11-12 11:52:04 +01:00
Robert O'Callahan
c4c389fdd7
Fix verilog backend to avoid IdString::c_str()
2025-11-12 11:52:04 +01:00
Robert O'Callahan
325b27f43a
Avoid calling IdString::c_str() in opt_clean
2025-11-12 11:52:04 +01:00
Robert O'Callahan
df8444c5e7
Optimize IdString operations to avoid calling c_str()
2025-11-12 11:52:04 +01:00
Robert O'Callahan
e95ed7bbab
Make NEW_ID create IDs whose string allocation is delayed
2025-11-12 11:52:04 +01:00
Robert O'Callahan
8895757364
Ensure that new_id(_suffix)() cannot create collisions with existing IdStrings.
2025-11-12 11:52:04 +01:00
Robert O'Callahan
9577a028c8
Make new_id/new_id_suffix taking string_view to avoid allocating strings
2025-11-12 11:52:04 +01:00
Robert O'Callahan
b3f3f42577
Remove StaticIdString and just use IdString now that we can make it constexpr
2025-11-12 11:52:04 +01:00
Robert O'Callahan
b0e2d75dbe
Make IdString refcounts a hashtable containing only the nonzero refcounts
...
This saves space and doesn't cost very much since we hardly ever have nonzero refcounts any more.
It also allows for IdStrings with negative indexes, which we're going to add.
2025-11-12 11:52:04 +01:00
Robert O'Callahan
54bde15329
Implement IdString garbage collection instead of refcounting.
2025-11-12 11:52:04 +01:00
Robert O'Callahan
5133b4bdea
Create RTLIL::OwningIdString and use it in a few places
2025-11-12 11:52:04 +01:00
Robert O'Callahan
d28f97e9da
Remove YOSYS_USE_STICKY_IDS
2025-11-12 11:52:04 +01:00