v0.4.4
This is a "minor" bugfix release:
Torii can be installed from the wheel attached or from PyPi
Added
- Handle
Repl
's inValueKey
- Allow for
IntEnum
's inValue.cast
- Added proper testing for the
torii.util.units
module. - Added proper testing for the
torii.util.string
module. - Added support for
name =
in property checks, such asAssert
, etc. - Added exports for
convert
andconvert_fragment
for rtlil, cxxrtl, and verilog into the roottorii.back
module.
Changed
- Updated the copyright years in the license file.
- Hardened the RTLIL backend against generating Yosys reserved port names.
- Removed warning on
IntEnum
's inCat
(meow) - Ensured that files are always are written with Unix
LF
line endings. - Renamed the
_toolchain
module totools
. - Moved the
tool_env_var
fromtorii.tools
intotorii.util.string
. - Renamed nox session names for
flake8
andmypy
intolint
andtypecheck
- Renamed nox session names for
build_dists
andupload_dist
intobuild
andupload
- Added a default help formatter for the built-in CLI stub.
Deprecated
- Deprecated the remote SSH builds.
- Deprecated passing non
Elaboratable
orFragment
objects toFragment.get
.
Removed
- Removed
Shape
andtuple
casts and comparisons. - Removed
UserValue
and associated machinery. - Removed default ports from
rtlil_convert
andverilog_convert
. - Removed
step
fromcore.Simulator
in favor ofadvance
. - Removed support for the
AMARANTH_ENV_*
environment variables. - Removed the
_BuiltinYosys
proxy object and associated bits.
Fixed
- Fixed an issue with the
TORII_
environment variables not being recognized. - Fixed missing f-strings in the
cxxrtl
,ast
, andintel
modules. - Fixed an issue in the
LatticeECP5
platform that would have caused broken SystemVerilog inclusions. - Fixed a bunch of miscellaneous spelling things.
- Fixed an issue where
src
attributes would be added to generated RTLIL even if theemit_src
attribute wasFalse
. - Fixed an issue where the tracer would encounter an unknown opcode and would return None.
- Fixed the
iec_size
utility method to behave a bit better with strange sizes. - Fixed the
tcl_quote
string method that would leave un-escaped"
's causing the TCL script to fail due to invalid syntax. - Fixed an issue in the
LatticeICE40
platform where theIceStorm
toolchain environment variable was not being normalized properly.