Tydi is an open specification for complex data structures over hardware streams.
This crate implements a library that helps to work with the constructs defined within the Tydi specification.
It also contains features that enable users to generate hardware component declarations based on the specification.
tydi crate provides the following modules.
physical: for physical stream types as described in the Tydi specification.
logical: for logical stream types as described in the Tydi specification.
design: for constructs that are not (yet) described in the Tydi specification, such as streamlets.
tydi crate supports the following (non-default) features:
clicommand-line-interface generator tool.
generatormodule for generation of HDL templates.
parsermodule with parser for Streamlet Definition Files.
tydi command-line-interface provides easy access to the available
tools in this crate. It can be easily installed from source using
cargo install tydi
To show CLI help, use:
To generate VHDL sources in the current directory from all *.sdf files in the current directory, use:
tydi generate vhdl <project name>
Constructs that are used to generate hardware designs, that are not part of the specification (yet).
Generator methods and implementations for Tydi types.
Parser methods and implementations for Tydi types.
Concatenate stuff using format with an underscore in between. Useful if the separator ever changes.
Type-safe wrapper for valid names.
Type-safe path for names.
Error variants used in this crate.
Construct reversed items.
Result type with