3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-09-24 10:21:29 +00:00
yosys/kernel
Jannis Harder d88d6fce87 kernel: Rewrite bufNormalize
This is a complete rewrite of the RTLIL-kernel-side bufnorm code. This
is done to support inout ports and undirected connections as well as to
allow removal of cells while in bufnorm mode.

This doesn't yet update the (experimental) `bufnorm` pass, so to
manually test the new kernel functionality, it is important to only use
`bufnorm -update` and `bufnorm -reset` which rely entirely on the kernel
functionality. Other modes of the `bufnorm` pass may still fail in the
presence of inout ports or undirected connections.
2025-09-17 13:56:46 +02: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 Update kernel to avoid bits() 2025-09-16 03:17:23 +00:00
calc.cc Update kernel to avoid bits() 2025-09-16 03:17:23 +00:00
cellaigs.cc hashlib: hash_eat -> hash_into 2024-12-18 15:09:25 +01:00
cellaigs.h mark all hash_into methods nodiscard 2025-01-14 12:39:15 +01:00
celledges.cc Instead of using builtin_ff_cell_types() directly, go through a method Cell::is_builtin_ff() 2025-09-17 03:24:19 +00:00
celledges.h Fixing old e-mail addresses and deadnames 2021-06-08 00:39:36 +02:00
celltypes.h Add $input_port and $connect cell types 2025-09-17 13:56:46 +02: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 Update kernel to avoid bits() 2025-09-16 03:17:23 +00:00
constids.inc Add windows workaround to constids.inc 2025-09-09 10:04:08 +12:00
cost.cc Instead of using builtin_ff_cell_types() directly, go through a method Cell::is_builtin_ff() 2025-09-17 03:24:19 +00: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 Remove .c_str() calls from log()/log_error() 2025-09-11 20:59:37 +00:00
drivertools.cc Update kernel to avoid bits() 2025-09-16 03:17:23 +00:00
drivertools.h Remove log_str() functions and convert their log_signal() users to return std::string 2025-09-11 04:00:49 +00:00
ff.cc Update kernel to avoid bits() 2025-09-16 03:17:23 +00:00
ff.h ff: improve comments 2024-09-05 11:17:12 +02:00
ffinit.h Update kernel to avoid bits() 2025-09-16 03:17:23 +00:00
ffmerge.cc Instead of using builtin_ff_cell_types() directly, go through a method Cell::is_builtin_ff() 2025-09-17 03:24:19 +00:00
ffmerge.h Compute is_port in AbcPass without iterating through all cells and wires in the module every time we run ABC. 2025-08-14 22:29:45 +00:00
fmt.cc Remove .c_str() from log_cmd_error() and log_file_error() parameters 2025-09-16 22:59:08 +00:00
fmt.h fmt,cxxrtl: add option to group digits in numbers. 2024-04-02 12:13:22 +02:00
fstdata.cc Remove .c_str() calls from log()/log_error() 2025-09-11 20:59:37 +00:00
fstdata.h sim.cc: Move cycle check 2025-05-12 12:48:01 +12:00
functional.cc Instead of using builtin_ff_cell_types() directly, go through a method Cell::is_builtin_ff() 2025-09-17 03:24:19 +00:00
functional.h Remove .c_str() calls from log()/log_error() 2025-09-11 20:59:37 +00:00
gzip.cc Remove .c_str() from log_cmd_error() and log_file_error() parameters 2025-09-16 22:59:08 +00:00
gzip.h gzip: back to pointers 2025-03-19 13:43:44 +01:00
hashlib.h Hash strings 8 bytes at a time 2025-09-16 03:17:24 +00:00
io.cc Remove .c_str() from stringf parameters 2025-09-01 23:34:42 +00:00
io.h Make log() use the FmtString infrastructure. 2025-09-09 15:41:03 +02:00
json.cc Support for BTOR witness to Yosys witness conversion 2023-01-11 18:07:16 +01:00
json.h Reapply "Add groups to command reference" 2025-08-06 13:52:12 +12:00
log.cc Remove .c_str() calls from parameters to log_warning()/log_warning_noprefix() 2025-09-16 23:02:16 +00:00
log.h Remove string_buf by making log_signal() and log_const() return std::string 2025-09-16 03:06:17 +00:00
log_compat.cc Maintain logging ABI compatiblity with YosysHQ Verific Extensions 2025-09-09 15:41:03 +02:00
log_help.cc Remove .c_str() calls from log()/log_error() 2025-09-11 20:59:37 +00:00
log_help.h log_help: Fix mem leaks 2025-08-06 13:52:12 +12:00
macc.h Update kernel to avoid bits() 2025-09-16 03:17:23 +00:00
mem.cc Update kernel to avoid bits() 2025-09-16 03:17:23 +00:00
mem.h Update kernel to avoid bits() 2025-09-16 03:17:23 +00:00
modtools.h mark all hash_into methods nodiscard 2025-01-14 12:39:15 +01:00
qcsat.cc Add coarse-grain $buf buffer cell type 2024-09-17 10:46:20 +02:00
qcsat.h Refactor common parts of SAT-using optimizations into a helper. 2021-08-09 16:54:35 +02:00
register.cc Remove .c_str() calls from parameters to log_warning()/log_warning_noprefix() 2025-09-16 23:02:16 +00:00
register.h kernel/register.h: whitespace 2025-08-06 21:34:37 +01:00
rtlil.cc kernel: Rewrite bufNormalize 2025-09-17 13:56:46 +02:00
rtlil.h kernel: Rewrite bufNormalize 2025-09-17 13:56:46 +02:00
rtlil_bufnorm.cc kernel: Rewrite bufNormalize 2025-09-17 13:56:46 +02:00
satgen.cc Instead of using builtin_ff_cell_types() directly, go through a method Cell::is_builtin_ff() 2025-09-17 03:24:19 +00:00
satgen.h Remove .c_str() from stringf parameters 2025-09-01 23:34:42 +00:00
scopeinfo.cc Add scopeinfo index/lookup utils 2024-02-06 18:01:26 +01:00
scopeinfo.h fix bugs in handling last id in hdlname to scopename conversion 2025-01-16 12:57:08 +01:00
sexpr.cc Remove .c_str() calls from log()/log_error() 2025-09-11 20:59:37 +00: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 Compute is_port in AbcPass without iterating through all cells and wires in the module every time we run ABC. 2025-08-14 22:29:45 +00:00
tclapi.cc Remove .c_str() calls from parameters to log_warning()/log_warning_noprefix() 2025-09-16 23:02:16 +00:00
threading.cc Run ABCs in parallel. 2025-09-15 17:18:42 +02:00
threading.h Use a pool of ABC processes. 2025-09-15 17:22:15 +02:00
timinginfo.h mark all hash_into methods nodiscard 2025-01-14 12:39:15 +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 io: refactor string and file work into new unit 2025-03-19 13:43:42 +01:00
yosys.cc Run ABCs in parallel. 2025-09-15 17:18:42 +02:00
yosys.h driver: allow --no-version still write things like Generated by Yosys 2025-05-07 11:34:23 +02:00
yosys_common.h Use well-known constants in ID macro and make the constant values known at compile time 2025-09-09 09:56:55 +12:00
yw.cc Update kernel to avoid bits() 2025-09-16 03:17:23 +00:00
yw.h mark all hash_into methods nodiscard 2025-01-14 12:39:15 +01:00