amaranth/amaranth/sim
Mrmaxmeier c4be739d48 sim._pyrtl: work around Python's new integer-string conversion limits
Formatting large ints to decimal raises an ValueError in Python versions
that include a mitigation for CVE-2020-10735. Formatting to hexadecimal
instead avoids the algorithmic complexity and is not impacted by the
new conversion limits.

Note that the simulator already rejects very large values, but the
integer-string conversion limits trigger in cases that previously
worked.
2022-09-24 07:40:15 +00:00
..
__init__.py Rename nMigen to Amaranth HDL. 2021-12-10 10:34:13 +00:00
_base.py Rename nMigen to Amaranth HDL. 2021-12-10 10:34:13 +00:00
_pyclock.py sim: represent time internally as 1ps units 2021-12-13 08:15:11 +00:00
_pycoro.py sim: represent time internally as 1ps units 2021-12-13 08:15:11 +00:00
_pyrtl.py sim._pyrtl: work around Python's new integer-string conversion limits 2022-09-24 07:40:15 +00:00
core.py sim: Fix clock phase in add_clock having to be specified in ps. 2022-02-04 16:46:52 +00:00
pysim.py sim.pysim: use "bench" as a top level root for testbench signals. 2021-12-16 15:46:05 +00:00