3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2026-07-19 13:45:48 +00:00
Commit graph

2349 commits

Author SHA1 Message Date
Stan Lee
29f8c13ab7 greptile 2026-04-20 13:57:36 -07:00
Stan Lee
608ed37a6d N-dimensional regs 2026-04-20 13:42:08 -07:00
Stan Lee
39b36fa5f5 update autoscoping to ahndle fork scopes 2026-04-20 12:40:59 -07:00
Stan Lee
a92a086a0d remove VCD parse method for fork scopes, handle on frontend side 2026-04-20 12:02:35 -07:00
Petter Reinholdtsen
89d360aa4a Rewrote Linux edition of proc_self_dirname() to handle any symlink length.
This make sure the method work also when the program is located in
deep or long file paths, longer than both PATH_MAX and "getconf
PATH_MAX .".  Use the same code on GNU Hurd, where it now work.

I am not sure how to test this in a platform independent way.
2026-04-19 20:56:05 +02:00
Emil J. Tywoniak
0b3d03e69c newcelltypes: fix $specrule port naming 2026-04-13 22:34:46 +02:00
Emil J. Tywoniak
3e45f9729e fix $specrule port naming 2026-04-13 22:34:46 +02:00
nella
a02c238874 Consolidate Wallace from booth and CSA. 2026-04-13 12:48:05 +02:00
Lofty
d51a5535c7
Merge pull request #5798 from rocallahan/hashtable-destruction-race
Avoid racing accesses to shards[0] in ShardedHashtable parallel destruction
2026-04-11 10:25:58 +00:00
nella
a54bca5493
Merge pull request #5794 from rocallahan/dispatch-pool-destruction
Fix data race in ParallelDispatchThreadPool destruction
2026-04-09 09:57:25 +00:00
Robert O'Callahan
1f6559a5cf Avoid racing accesses to shards[0] in ShardedHashtable parallel destruction 2026-04-08 21:56:36 +00:00
Emil J
b485173428
Merge pull request #5792 from YosysHQ/emil/toposort-stability
toposort: avoid run to run variance caused by pointer sensitivity
2026-04-08 08:51:47 +00:00
Robert O'Callahan
d586af0074 Fix data race in ParallelDispatchThreadPool destruction 2026-04-07 23:21:17 +00:00
Emil J. Tywoniak
41b41fefb3 utils: forbid the use of std::less on pointers in TopoSort 2026-04-06 15:09:52 +02:00
Emil J. Tywoniak
2033df5958 utils: refactor TopoSort 2026-04-06 15:09:52 +02:00
Stan Lee
91345c2283 warning msg and address spaces 2026-04-01 09:21:02 -07:00
Stan Lee
b6f118091c Support for N-dimensional arrays in simulation 2026-03-31 12:50:36 -07:00
Lofty
162eeea29a cellaigs: remove some dead code 2026-03-31 09:37:18 +01:00
Stan Lee
d2cd4d2cc8 Merge branch 'main' of github.com:silimate/yosys into sim 2026-03-30 14:48:34 -07:00
Stan Lee
857f356f1f remove ambiguity in implementation 2026-03-30 12:26:44 -07:00
Stan Lee
01f0fd751f fixes for arrays 2026-03-30 12:13:50 -07:00
Robert O'Callahan
290fb0556d Prevent race on num_active_worker_threads_.
The core issue here is that we need to ensure `num_active_worker_threads_`
is read before incrementing `done_workers`. See the comments
added in this PR to explain why, and why the resulting code is
race-free.
2026-03-24 22:20:18 +00:00
Akash Levy
0ed1f1bfa4 Smallfixes 2026-03-23 03:51:49 -07:00
Akash Levy
91739e79cb Safe parameter extraction in mem_from_cell 2026-03-23 03:30:55 -07:00
Emil J
7b2ab9b245
Merge pull request #5763 from YosysHQ/emil/c-slow-init
genrtlil: fast memory initialization
2026-03-23 10:21:21 +00:00
Akash Levy
fc320a7e8e
Merge pull request #123 from Silimate/accessor_helpers
adding more fast Cell accessors and small refactoring to reduce code dup
2026-03-19 17:40:18 -04:00
nella
ee0461eb00 Change time log format. 2026-03-19 14:38:22 +01:00
nella
d6ab610622 Implement wall clock time meas. 2026-03-19 14:38:22 +01:00
Emil J. Tywoniak
ea11453cef rtlil: faster remove2 2026-03-18 23:33:35 +01:00
Akash Levy
00e67a30d0
Merge pull request #121 from Silimate/autoscope
dump the number of scopes/signals in the search space
2026-03-16 13:33:40 -07:00
Stan Lee
e5d3bb954e correction 2026-03-16 12:05:27 -07:00
tondapusili
29b182fd9b adding more fast Cell accessors and small refactoring to reduce code dup 2026-03-16 10:47:54 -07:00
Emil J
c8f715fed8
Merge pull request #5664 from rocallahan/parallel-opt-clean
Parallelize `opt_clean` pass
2026-03-16 09:52:34 +00:00
tondapusili
5d25ae4db6 rtlil: add fast Cell accessors and SigSpec::const_ratio() 2026-03-13 15:56:55 -07:00
Drew Lewis
4251cd69ed Fix missing return in NDEBUG case
Signed-off-by: Drew Lewis <cannada@google.com>
2026-03-13 19:51:49 +00:00
Stan Lee
bcf71dea85 dump the number of scopes/signals in the search space 2026-03-13 11:15:46 -07:00
Akash Levy
168d64ab19
Merge pull request #120 from Silimate/is_mostly_const_param
rtlil: parameterize SigSpec::is_mostly_const
2026-03-06 18:37:18 -08:00
tondapusili
e394197bc5 rtlil: parameterize SigSpec::is_mostly_const 2026-03-06 15:51:58 -08:00
Stan Lee
b7984f12f8 greptile 2026-03-06 12:19:17 -08:00
Stan Lee
1592125e71 fix err 2026-03-06 10:36:29 -08:00
Stan Lee
69145403df more updates 2026-03-06 10:32:28 -08:00
Stan Lee
c9330dc36f oop 2026-03-06 10:30:49 -08:00
Stan Lee
20c1f3212f cleaner with warning 2026-03-06 10:23:31 -08:00
Stan Lee
cb3853fca0 improvements to autoscope 2026-03-06 09:51:45 -08:00
Emil J
2f1cdc2df9
Merge pull request #5728 from povik/tcl-set-result
Replace deprecated Tcl API to fix use-after-free
2026-03-06 13:36:48 +00:00
Martin Povišer
167c6c4585 Replace deprecated Tcl API to fix use-after-free
Under Tcl 9.0 the Tcl_SetResult utility is a macro:

	#define Tcl_SetResult(interp, result, freeProc) \
		do { \
		    const char *__result = result; \
		    Tcl_FreeProc *__freeProc = freeProc; \
		    Tcl_SetObjResult(interp, Tcl_NewStringObj(__result, -1)); \
		    if (__result != NULL && __freeProc != NULL && __freeProc != TCL_VOLATILE) { \
			if (__freeProc == TCL_DYNAMIC) { \
			    Tcl_Free((char *)__result); \
			} else { \
			    (*__freeProc)((char *)__result); \
			} \
		    } \
		} while(0)

Temporaries constructed as part of the 'result' expression will be
dropped before the 'result' pointer is used. What was safe when
Tcl_SetResult was a function isn't safe with the macro definition.
Transition away from deprecated SetResult to calling
SetObjResult/MewStringObj directly.
2026-03-06 11:52:17 +01:00
Robert O'Callahan
ac55935a68 Add unit-tests for ParallelDispatchThread and friends 2026-03-06 02:20:08 +00:00
Robert O'Callahan
b42bb05b63 Parallelize Design::check() 2026-03-06 02:03:21 +00:00
Robert O'Callahan
e2166c4684 Parallelize collect_garbage() 2026-03-06 02:03:21 +00:00
Robert O'Callahan
5ff7d344c9 Add FfInitVals::set_parallel() method
We'll use this later in the PR.
2026-03-06 02:03:21 +00:00