Expand description
§InfMachine Config
The configuration module for the Infinite Machine. The library provides basic interface
for the configuration for the Infinite Machine. The library provides serialization and
deserialization by serde crate.
Configuration is very simple structure with 3 fields:
- state_len - state length.
- data_part_len - data part length. Length of parts for the memory address and the temp buffer.
- cell_len_bits - length of length of the main memory cell.
The library provides structures:
InfParMachineConfig- machine configuration.InfParInterfaceConfig- machine configuration used by generators.InfParEnvConfig- machine configuration and environment configuration.InfParMachineData- machine data contains config, environment config and circuit.
Re-exports§
pub use toml;
Structs§
- InfPar
EnvConfig - Structure describes an execution environment for machine.
- InfPar
Interface Config - Structure describes machine configuration that can be used by generator of machines. It doesn’t provide state length.
- InfPar
Machine Config - Main structure that describes machine configuration. It describes general features that doesn’t includes specific implementation configuration.
- InfPar
Machine Data - Structure describes same machine. It contains machine configuration, execution environment configuration and circuit that describes behavior of the machine.
Enums§
- Valid
Error - Error that describe all errors of configuration and environment of machine.
Type Aliases§
- InfPar
Machine Data16 - Type for circuit with 16-bit length type.
- InfPar
Machine Data32 - Type for circuit with 32-bit length type.
- InfPar
Machine Data Sys - Type for circuit with system (usize) length type.