3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2026-03-17 18:43:47 +00:00
yosys/kernel
KrystalDelusion 31b00b4c72
celledges: Use b_width_capped for left shifts
`b_width_capped` already exists for preventing arithmetic overflow, limiting the value of `b_width` to 30.  This just changes the left shifts to also use it.
The caveat of incorrect results for extremely large values of `a_width` still applies, as does the improbability of that actually happening.
This fixes #4844 (or at least, the floating point exception; the circuit still isn't valid but I think that's fine).
2025-01-31 11:03:33 +13:00
..
binding.cc
binding.h
bitpattern.h mark all hash_into methods nodiscard 2025-01-14 12:39:15 +01:00
calc.cc
cellaigs.cc
cellaigs.h mark all hash_into methods nodiscard 2025-01-14 12:39:15 +01:00
celledges.cc celledges: Use b_width_capped for left shifts 2025-01-31 11:03:33 +13:00
celledges.h
celltypes.h
compute_graph.h
consteval.h macc: Stop using the B port 2025-01-08 13:03:35 +01:00
constids.inc
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
driver.cc
drivertools.cc
drivertools.h mark all hash_into methods nodiscard 2025-01-14 12:39:15 +01:00
ff.cc
ff.h
ffinit.h
ffmerge.cc
ffmerge.h
fmt.cc
fmt.h
fstdata.cc
fstdata.h
functional.cc
functional.h mark all hash_into methods nodiscard 2025-01-14 12:39:15 +01:00
hashlib.h hashlib: simplify loopback. NFC 2025-01-20 16:15:48 +01:00
json.cc
json.h Support for BTOR witness to Yosys witness conversion 2023-01-11 18:07:16 +01:00
log.cc
log.h
macc.h macc: Stop using the B port 2025-01-08 13:03:35 +01:00
mem.cc
mem.h
modtools.h mark all hash_into methods nodiscard 2025-01-14 12:39:15 +01:00
qcsat.cc
qcsat.h
register.cc Copyright year update 2025-01-21 08:48:29 +01:00
register.h
rtlil.cc
rtlil.h hashlib: merge hash_ops with hash_top_ops for plugin compat 2025-01-14 21:41:33 +01:00
satgen.cc macc: Stop using the B port 2025-01-08 13:03:35 +01:00
satgen.h
scopeinfo.cc
scopeinfo.h fix bugs in handling last id in hdlname to scopename conversion 2025-01-16 12:57:08 +01:00
sexpr.cc
sexpr.h
sigtools.h mark all hash_into methods nodiscard 2025-01-14 12:39:15 +01:00
tclapi.cc
timinginfo.h mark all hash_into methods nodiscard 2025-01-14 12:39:15 +01:00
topo_scc.h
utils.h
yosys.cc Copyright year update 2025-01-21 08:48:29 +01:00
yosys.h
yosys_common.h mark all hash_into methods nodiscard 2025-01-14 12:39:15 +01:00
yw.cc
yw.h mark all hash_into methods nodiscard 2025-01-14 12:39:15 +01:00