Re-exports§
pub use ir_value::IrBits;pub use ir_value::IrSBits;pub use ir_value::IrUBits;pub use aot_lib::AotCompiled;pub use aot_lib::AotEntrypointMetadata;pub use aot_lib::AotResult;pub use aot_runner::AotEntrypointDescriptor;pub use aot_runner::AotRunResult;pub use aot_runner::AotRunner;pub use ir_analysis::Interval;pub use ir_analysis::IntervalSet;pub use ir_analysis::IrAnalysis;pub use ir_analysis::IrAnalysisLevel;pub use ir_analysis::KnownBits;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_package::TraceMessage;pub use ir_value::IrValue;pub use xlsynth_error::XlsynthError;
Modules§
- aot_
builder - Build-script helpers that compile XLS IR to AOT artifacts and generate Rust wrappers.
- aot_
entrypoint_ metadata - Parsing and validation helpers for XLS AOT entrypoint metadata protos.
- aot_lib
- AOT compilation and execution-context helpers built on the
xlsynth_sysFFI. - aot_
runner - Runtime support for invoking XLS AOT entrypoints via the trampoline ABI.
- 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_
analysis - 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