3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2026-08-07 06:38:26 +00:00
yosys/kernel
Krystine Sherwin 7c24b69e62
register.cc: Make cmd paths proximate
The CMake refactor changes relative paths to absolute when calling `source_location::current()`.  Use the path to `register.cc` to find the root yosys dir, and use that as the base for other paths.
Includes provisions for when plugins have a valid location; if it's not in the yosys source tree we shouldn't try to make the path relative, and we shouldn't try to auto group by path (since such groups will never be allocated, leaving them as unknown is preferable).
Limited to non wasm (I think that's the only one where we can't (easily) use `<filesystem>`). But where we do use `<filesystem>` we can also simplify the auto group to use `fs::path::parent_path()`.
2026-06-04 20:34:52 +12:00
..
binding.cc
binding.h
bitpattern.h
calc.cc
cellaigs.cc cellaigs: remove some dead code 2026-03-31 09:37:18 +01:00
cellaigs.h
celledges.cc
celledges.h
cellhelp.py Migrate build system to CMake 2026-06-03 08:58:10 +00:00
celltypes.h fix $specrule port naming 2026-04-13 22:34:46 +02:00
CMakeLists.txt Update top-level Python project for CMake compatibility. 2026-06-03 09:03:23 +00:00
compute_graph.h
consteval.h
constids.inc add aiger2_zbuf to constids 2026-05-06 14:03:07 +01:00
cost.cc Refactored uses of log_id() 2026-05-08 20:59:24 -07:00
cost.h
driver.cc Handle unused variable for WIN32 2026-05-13 09:49:39 +02:00
drivertools.cc Refactored uses of log_id() 2026-05-08 20:59:24 -07:00
drivertools.h
ff.cc Refactored uses of log_id() 2026-05-08 20:59:24 -07:00
ff.h
ffinit.h Add FfInitVals::set_parallel() method 2026-03-06 02:03:21 +00:00
ffmerge.cc
ffmerge.h
fmt.cc Bump gcc and clang versions 2026-05-14 10:51:40 +02:00
fmt.h
fstdata.cc Migrate build system to CMake 2026-06-03 08:58:10 +00:00
fstdata.h Add comments to make sure it is clear scale is an exponent of 10 2026-04-23 17:22:14 +01:00
functional.cc Convert RTLIL::unescape_id of IdString to unescape() 2026-05-16 19:49:45 +02:00
functional.h Convert RTLIL::unescape_id of IdString to unescape() 2026-05-16 19:49:45 +02:00
gzip.cc
gzip.h
hashlib.h hashlib: error on unused containers 2026-05-12 12:51:41 +02:00
io.cc Fix Windows portability issues that break MSVC build. 2026-06-03 08:58:11 +00:00
io.h Merge pull request #5882 from YosysHQ/std_cpp20 2026-05-15 13:13:43 +00:00
json.cc
json.h
log.cc Migrate build system to CMake 2026-06-03 08:58:10 +00:00
log.h Make log_error() work in a Multithreaded context. 2026-03-06 02:03:21 +00:00
log_compat.cc
log_help.cc
log_help.h
macc.h
mem.cc Refactored uses of log_id() 2026-05-08 20:59:24 -07:00
mem.h
modtools.h Refactored uses of log_id() 2026-05-08 20:59:24 -07:00
newcelltypes.h newcelltypes: fix $specrule port naming 2026-04-13 22:34:46 +02:00
pattern.h
qcsat.cc
qcsat.h
register.cc register.cc: Make cmd paths proximate 2026-06-04 20:34:52 +12:00
register.h Drop YOSYS_ENABLE_HELP_SOURCE since C++20 is required. 2026-06-03 08:58:11 +00:00
rtlil.cc Remove id2cstr uses in our code base 2026-05-16 19:49:45 +02:00
rtlil.h rtlil: extend SigSpec::extract test 2026-04-24 11:04:19 +02:00
rtlil_bufnorm.cc Refactored uses of log_id() 2026-05-08 20:59:24 -07:00
satgen.cc Refactored uses of log_id() 2026-05-08 20:59:24 -07:00
satgen.h Convert RTLIL::unescape_id of IdString to unescape() 2026-05-16 19:49:45 +02:00
scopeinfo.cc Convert RTLIL::unescape_id of IdString to unescape() 2026-05-16 19:49:45 +02:00
scopeinfo.h Refactored uses of log_id() 2026-05-08 20:59:24 -07:00
sexpr.cc
sexpr.h
sigtools.h
tclapi.cc Update CI scripts for CMake 2026-06-03 08:58:11 +00:00
threading.cc threading: whitespace 2026-05-18 16:26:14 +02:00
threading.h Migrate build system to CMake 2026-06-03 08:58:10 +00:00
timinginfo.h Refactored uses of log_id() 2026-05-08 20:59:24 -07:00
topo_scc.h
utils.h utils: forbid the use of std::less on pointers in TopoSort 2026-04-06 15:09:52 +02:00
version.cc.in Migrate build system to CMake 2026-06-03 08:58:10 +00:00
wallace_tree.h Consolidate Wallace from booth and CSA. 2026-04-13 12:48:05 +02:00
yosys.cc Update top-level Python project for CMake compatibility. 2026-06-03 09:03:23 +00:00
yosys.h
yosys_common.h Migrate build system to CMake 2026-06-03 08:58:10 +00:00
yosys_config.h.in Drop YOSYS_ENABLE_HELP_SOURCE since C++20 is required. 2026-06-03 08:58:11 +00:00
yw.cc
yw.h