amaranth/nmigen/back
whitequark 2606ee33ad back.pysim: simplify.
Remove _EvalContext, which was a level of indirection serving almost
no purpose. (The only case where it would be useful is repeatedly
resetting a simulation that, each time it is reset, would create new
signals to communicate with between coroutine processes. In that case
the signal states would not be persisted in _SimulatorState, but
would be removed with the _EvalContext that is recreated each time
the simulation is reset. But this could be solved with a weak map
instead.)

This regresses simulator startup time by 10-15% for unknown reasons
but is necessary to align pysim and future cxxsim.
2020-06-28 05:04:16 +00:00
..
__init__.py Initial commit. 2018-12-12 03:18:44 +00:00
cxxrtl.py back.cxxrtl: allow injecting black boxes. 2020-06-14 09:25:54 +00:00
pysim.py back.pysim: simplify. 2020-06-28 05:04:16 +00:00
rtlil.py back.rtlil: handle signed and large Instance parameters correctly. 2020-05-19 23:33:14 +00:00
verilog.py back.verilog: refactor Yosys script generation. NFCI. 2020-06-14 09:38:32 +00:00