3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-07-19 10:52:03 +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 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 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.h
driver.cc driver: add --hash-seed 2024-12-18 14:58:29 +01:00
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
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 hashlib: acc -> eat 2024-12-18 15:09:25 +01:00
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