Gus Smith
5d5a7ab443
remove unused
2025-11-29 15:08:57 -08:00
Gus Smith
473edd19ed
Undo formatting
2025-11-29 15:06:46 -08:00
Gus Smith
403740428c
Remove unknown change
2025-11-29 15:01:17 -08:00
Gus Smith
ded7c9cb03
More formatting undos'
2025-11-29 14:59:04 -08:00
Gus Smith
9909049d2a
Undo formatting changes
2025-11-29 14:55:55 -08:00
Robert O'Callahan
7e75200b2a
Check that we don't use logging during multithreading
2025-11-29 22:47:23 +00:00
Gus Smith
d603b7bb58
Update ABC
2025-11-29 14:23:51 -08:00
Gus Smith
6fe35fa46c
Merge remote-tracking branch 'origin/main' into gussmith23-rosette-backend-updates
2025-11-29 14:20:36 -08:00
KrystalDelusion
34fa8a4ff7
Merge pull request #3516 from dehekkendekrekker/subcircuit_fix
...
Fixes #3515
2025-11-29 12:51:15 +13:00
Emil J
9525f79d61
Merge pull request #5514 from rocallahan/idstring-safety
...
Make `IdString` thread-safe for read-only access
2025-11-28 23:58:33 +01:00
Emil J. Tywoniak
214d09a8c6
.github: everything that triggers on main or PRs should trigger on merge queue commit
2025-11-27 14:57:02 +01:00
Emil J. Tywoniak
8f627d43fc
newcelltypes: extend testing
2025-11-27 03:32:41 +01:00
Emil J. Tywoniak
b340537796
celltypes: fix absurd eval declarations
2025-11-27 03:32:31 +01:00
Emil J. Tywoniak
105c591bbe
newcelltypes: use unordered_map
2025-11-27 02:53:29 +01:00
Emil J. Tywoniak
43ca5254b8
pyosys: disable test
2025-11-27 01:58:06 +01:00
github-actions[bot]
e4044e1b4a
Bump version
2025-11-27 00:24:24 +00:00
Emil J. Tywoniak
0d13de9595
fixup! register: use newcelltypes
2025-11-27 01:20:52 +01:00
Miodrag Milanović
c43246bba5
Merge pull request #5517 from povik/static
...
Add static library option
2025-11-26 16:11:37 +01:00
Emil J. Tywoniak
ce6cd32065
newcelltypes: fix MSVC build
2025-11-26 13:17:24 +01:00
Emil J. Tywoniak
7f436ecc07
newcelltypes: proper bounds for unit test
2025-11-26 13:15:02 +01:00
Martin Povišer
c1e40e113c
Use $(AR)
2025-11-26 13:02:44 +01:00
Martin Povišer
7cb3a0f830
Add static library option
2025-11-26 12:34:37 +01:00
github-actions[bot]
752d24c0a8
Bump version
2025-11-26 00:24:41 +00:00
Emil J. Tywoniak
e8f7845c5b
register: use newcelltypes
2025-11-26 00:53:01 +01:00
Emil J. Tywoniak
4dddd6fe4b
yosys: use newcelltypes for yosys_celltypes users
2025-11-26 00:50:41 +01:00
Emil J. Tywoniak
46f9e70dce
yosys: use newcelltypes for yosys_celltypes
2025-11-26 00:47:30 +01:00
Emil J. Tywoniak
99cb0483b8
backends: use newcelltypes
2025-11-26 00:32:11 +01:00
Emil J. Tywoniak
ab4fd8c623
drivertools: use newcelltypes
2025-11-26 00:16:07 +01:00
Emil J. Tywoniak
6cd7c5131a
aiger2: add TODO
2025-11-26 00:14:12 +01:00
Emil J. Tywoniak
52d8a3e0cd
abc: use newcelltypes
2025-11-26 00:03:53 +01:00
Emil J. Tywoniak
92543c5bfe
newcelltypes: test against builtin_ff_cell_types
2025-11-26 00:03:43 +01:00
Emil J. Tywoniak
299d64ad9f
newcelltypes: comment
2025-11-25 23:52:30 +01:00
Emil J. Tywoniak
a8509aee48
fixup! consteval: use newcelltypes
2025-11-25 23:51:09 +01:00
Robert O'Callahan
b23dc345ae
Make it safe to access .c_str() for autoidx IDs in a multithreaded context
2025-11-25 22:49:41 +00:00
Emil J. Tywoniak
ce3c23f969
consteval: use newcelltypes
2025-11-25 23:47:56 +01:00
Emil J. Tywoniak
9877d189ce
modtools: use newcelltypes
2025-11-25 23:36:40 +01:00
Emil J. Tywoniak
8c53b706f0
fixup! opt_clean: use newcelltypes
2025-11-25 23:19:26 +01:00
Robert O'Callahan
948001f39f
Merge the two autoidx hashtables into one
...
When something calls `IdString::c_str()` on an autoidx ID, we need to cache the
full string in a thread-safe way. If we need to allocate an entry in some data
structure to do that, it's difficult to do in a thread-safe no-performance-hazard way.
So instead, store the cached string pointer in the same hashtable as the prefix
pointer.
2025-11-25 21:57:46 +00:00
Robert O'Callahan
8f0ecce53f
Forbid creating IdStrings and incrementing autoidx during multithreaded phases, and add dynamic checks for that
...
We could make it safe to increment autoidx during multithreaded passes, but that's
actually undesirable because it would lead to nondeterminism. If/when we need new
IDs during parallel passes, we'll have to figure out how to allocate them in a
deterministic way, and that will depend on the details of what the pass does.
So don't try to tackle that now.
2025-11-25 21:57:46 +00:00
Robert O'Callahan
4c8b537d71
Remove YOSYS_NO_IDS_REFCNT
...
Refcounting is hardly used at all so this option is not that useful.
We might want to have a different option that disables GC if that becomes
a performance issue, but that should be a different option.
2025-11-25 21:57:46 +00:00
Emil J. Tywoniak
4b55e5ff5f
newcelltypes: fix non-cells
2025-11-25 22:48:59 +01:00
Emil J. Tywoniak
746e9f6bcd
newcelltypes: refactor
2025-11-25 22:48:58 +01:00
Emil J. Tywoniak
e2e7e5ef6a
share: use newcelltypes
2025-11-25 22:48:42 +01:00
Emil J. Tywoniak
f4975f27ee
newcelltypes: fix unit test
2025-11-25 22:48:11 +01:00
Emil J. Tywoniak
79619a75e5
newcelltypes: unit test
2025-11-25 22:48:11 +01:00
Emil J. Tywoniak
f6e5ea3027
newcelltypes: bounds check
2025-11-25 22:48:11 +01:00
Emil J. Tywoniak
29453aa053
newcelltypes: wrap design celltypes support
2025-11-25 22:48:11 +01:00
Emil J. Tywoniak
bea80c06b9
newcelltypes: TurboCellTypes -> StaticCellTypes
2025-11-25 22:48:11 +01:00
Emil J. Tywoniak
d1ade01286
opt_expr: use newcelltypes
2025-11-25 22:48:11 +01:00
Emil J. Tywoniak
2e2f9e2469
opt_clean: use newcelltypes
2025-11-25 22:48:11 +01:00