yosys/kernel
Mohamed Gaber 738b5eef0b
Add dirname of script file to sys.path
This matches the behavior of running a Python interpreter, where the
first element of sys.path is the dirname of the script being run.

This allows importing of files and modules in the same directory without
messing with PYTHONPATH or similar.
2024-09-11 21:45:51 +03:00
..
binding.cc Generate an RTLIL representation of bind constructs 2021-08-13 17:11:35 -06:00
binding.h Generate an RTLIL representation of bind constructs 2021-08-13 17:11:35 -06:00
bitpattern.h Fixing old e-mail addresses and deadnames 2021-06-08 00:39:36 +02:00
calc.cc Add bitwise `$bweqx` and `$bwmux` cells 2022-11-30 18:24:35 +01:00
cellaigs.cc cellaigs: Drop initializer list in call to `IdString::in` 2023-08-14 11:42:19 +02:00
cellaigs.h Fixing old e-mail addresses and deadnames 2021-06-08 00:39:36 +02:00
celledges.cc celledges: Register async FF paths 2024-03-11 10:45:36 +01:00
celledges.h Fixing old e-mail addresses and deadnames 2021-06-08 00:39:36 +02:00
celltypes.h Add builtin celltype $scopeinfo 2024-02-06 17:51:24 +01:00
compute_graph.h convert class FunctionalIR to a namespace Functional, rename functionalir.h to functional.h, rename functional.h to compute_graph.h 2024-08-21 11:04:08 +01:00
consteval.h Remove set but unused variable 2022-05-27 12:37:03 +02:00
constids.inc techmap: Support dynamic cell types 2024-05-03 13:33:28 +02:00
cost.cc cost: add model for techmapped cell count, keep_hierarchy pass with -min_cost parameter 2024-07-29 10:26:02 +02:00
cost.h cost: add model for techmapped cell count, keep_hierarchy pass with -min_cost parameter 2024-07-29 10:26:02 +02:00
driver.cc Add dirname of script file to sys.path 2024-09-11 21:45:51 +03:00
drivertools.cc fix bugs in drivertools 2024-08-21 11:01:09 +01:00
drivertools.h drivertools: fix C++20 "incomplete type" error by moving constructors below other definitions 2024-08-22 10:40:56 +01:00
ff.cc Add the $anyinit cell and the formalff pass 2022-08-16 13:37:30 +02:00
ff.h ff: improve comments 2024-09-05 11:17:12 +02:00
ffinit.h Add new helper class for merging FFs into cells, use for memory_dff. 2021-05-23 14:46:59 +02:00
ffmerge.cc Fix a regression from #3035. 2021-10-08 15:44:07 +02:00
ffmerge.h Add new helper class for merging FFs into cells, use for memory_dff. 2021-05-23 14:46:59 +02:00
fmt.cc Address warnings 2024-08-16 04:30:31 +12:00
fmt.h fmt,cxxrtl: add option to group digits in numbers. 2024-04-02 12:13:22 +02:00
fstdata.cc Fixes for some of clang scan-build detected issues 2023-01-17 12:58:08 +01:00
fstdata.h Start restoring memory state from VCD/FST 2022-05-04 10:41:04 +02:00
functional.cc functional backend: rename "type" to either "kind" or "sort" to make the terminology consistent 2024-08-28 12:39:41 +01:00
functional.h functional backend: rename "type" to either "kind" or "sort" to make the terminology consistent 2024-08-28 12:39:41 +01:00
hashlib.h add optional header and hashlib implementation for optional 2024-08-21 11:04:11 +01:00
json.cc Support for BTOR witness to Yosys witness conversion 2023-01-11 18:07:16 +01:00
json.h Support for BTOR witness to Yosys witness conversion 2023-01-11 18:07:16 +01:00
log.cc kernel/log: Add log_str helper for custom log_* functions/overloads 2024-08-21 10:58:39 +01:00
log.h kernel/log: Add log_str helper for custom log_* functions/overloads 2024-08-21 10:58:39 +01:00
macc.h Fixing old e-mail addresses and deadnames 2021-06-08 00:39:36 +02:00
mem.cc silence some more warnings, undo mistaken addition 2024-08-21 11:04:11 +01:00
mem.h silence some warnings 2024-08-21 11:04:11 +01:00
modtools.h remove template declaration that stops function from being used 2023-01-11 16:09:05 +01:00
qcsat.cc Add $bmux and $demux cells. 2022-01-28 23:34:41 +01:00
qcsat.h Refactor common parts of SAT-using optimizations into a helper. 2021-08-09 16:54:35 +02:00
register.cc Merge branch 'origin/master' into krys/docs 2024-03-18 10:39:30 +13:00
register.h kernel: Avoid including files outside include guards 2024-04-02 16:53:56 +02:00
rtlil.cc kernel/rtlil: Add `SigBit operator[](int offset)` to `SigChunk` 2024-08-21 10:58:39 +01:00
rtlil.h kernel/rtlil: Add `SigBit operator[](int offset)` to `SigChunk` 2024-08-21 10:58:39 +01:00
satgen.cc Address warnings 2024-08-16 04:30:31 +12:00
satgen.h sat: Add -set-def-formal option to force defined $any* outputs 2022-11-28 14:50:52 +01:00
scopeinfo.cc Add scopeinfo index/lookup utils 2024-02-06 18:01:26 +01:00
scopeinfo.h Add scopeinfo index/lookup utils 2024-02-06 18:01:26 +01:00
sexpr.cc factor out SExpr/SExprWriter classes out of smtlib backend, and also tidy them up/document them 2024-08-21 11:03:27 +01:00
sexpr.h factor out SExpr/SExprWriter classes out of smtlib backend, and also tidy them up/document them 2024-08-21 11:03:27 +01:00
sigtools.h sigmap: comments 2024-07-18 16:02:11 +02:00
timinginfo.h sta: very crude static timing analysis pass 2021-11-25 17:20:27 +01:00
topo_scc.h functional backend: topological sort starts with the output and next states nodes, other nodes get deleted 2024-08-21 11:03:29 +01:00
utils.h convert class FunctionalIR to a namespace Functional, rename functionalir.h to functional.h, rename functional.h to compute_graph.h 2024-08-21 11:04:08 +01:00
yosys.cc Simplified run_frontend by using a lambda function for file extension checks and combining blif and eblif into a single condition. 2024-07-23 17:55:04 +02:00
yosys.h kernel: Avoid including files outside include guards 2024-04-02 16:53:56 +02:00
yosys_common.h add optional header and hashlib implementation for optional 2024-08-21 11:04:11 +01:00
yw.cc Remove a statement without effect. 2023-04-17 10:53:05 -07:00
yw.h sim/formalff: Clock handling for yw cosim 2023-01-11 18:07:16 +01:00