Re-exports§
pub use ir_value::IrBits;pub use ir_value::IrSBits;pub use ir_value::IrUBits;pub use ir_builder::BValue;pub use ir_builder::FnBuilder;pub use ir_package::IrFunction;pub use ir_package::IrFunctionJit;pub use ir_package::IrPackage;pub use ir_package::IrType;pub use ir_package::RunResult;pub use ir_value::IrValue;pub use xlsynth_error::XlsynthError;
Modules§
- dslx
- APIs that wrap the “DSL X” (DSL) facilities inside of XLS.
- dslx_
bridge - Library for generating Rust code that reflects the types and callables in a DSLX module subtree.
- ir_
builder - ir_
package - ir_
value - rust_
bridge_ builder - Builder that creates Rust type definitions from DSLX type definitions.
- sv_
bridge_ builder - Builder that creates SystemVerilog type definitions from DSLX type definitions.
- vast
- APIs that wrap the Verilog AST building facilities inside of XLS.
- vast_
helpers - vast_
helpers_ options - xlsynth_
error
Structs§
Enums§
- Dslx
Calling Convention - Indicates the calling convention used by a DSLX function for mangling.
Functions§
- convert_
dslx_ to_ ir - Converts DSLX source text into an IR package.
- convert_
dslx_ to_ ir_ text - Converts a DSLX module’s source text into an IR package. Returns the IR text.
- dslx_
path_ to_ module_ name - mangle_
dslx_ name - mangle_
dslx_ name_ with_ calling_ convention - Mangles a DSLX function name according to the given calling convention.
This wraps
mangle_dslx_nameand applies the implicit-token prefix whenDslxCallingConvention::ImplicitTokenis specified. - mangle_
dslx_ name_ with_ env - Full-featured DSLX name mangling API variant that accepts a prebuilt ParametricEnv.
- optimize_
ir - Optimizes an IR package – this produces a new IR package with the optimized IR contents.
- schedule_
and_ codegen - x_
path_ to_ rs_ bridge - Converts a DSLX module (i.e.
.xfile) into its corresponding Rust bridge code, and emits that Rust code to a corresponding filename in theout_dir. - x_
path_ to_ rs_ bridge_ via_ env - xls_
parse_ typed_ value