3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-07-18 18:36:43 +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 Generate an RTLIL representation of bind constructs 2021-08-13 17:11:35 -06:00
binding.h
bitpattern.h
calc.cc Reduce comparisons of size_t and int 2024-11-29 12:53:29 +13:00
cellaigs.cc
cellaigs.h
celledges.cc
celledges.h
celltypes.h
compute_graph.h
consteval.h
constids.inc read_liberty: Set area capacitance attributes 2024-11-12 13:26:38 +01:00
cost.cc
cost.h
driver.cc
drivertools.cc
drivertools.h
ff.cc
ff.h
ffinit.h
ffmerge.cc rtlil: represent Const strings as std::string 2024-10-14 06:28:12 +02:00
ffmerge.h
fmt.cc
fmt.h
fstdata.cc
fstdata.h
functional.cc
functional.h
hashlib.h
json.cc
json.h
log.cc log: Never silence log_cmd_error 2024-09-24 17:47:46 +02:00
log.h
macc.h
mem.cc kernel/mem: Fix Cygwin compat 2024-12-03 13:15:33 +13:00
mem.h
modtools.h
qcsat.cc
qcsat.h
register.cc
register.h
rtlil.cc hashlib: acc -> eat 2024-12-18 15:09:25 +01:00
rtlil.h
satgen.cc
satgen.h
scopeinfo.cc
scopeinfo.h
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
sigtools.h
tclapi.cc
timinginfo.h
topo_scc.h
utils.h
yosys.cc Copyright year update 2025-01-21 08:48:29 +01:00
yosys.h
yosys_common.h
yw.cc
yw.h