include "device.fbs"; include "mem_config.fbs"; include "clock.fbs"; namespace hmmmm.config; // Top-level emulation configuration sent by the client via ConfigCtrlMessage. // Contains the root composite device and simulation parameters. table EmulationConfig { sim_rate_limit: uint64; // max virtual-seconds per real-second (0 = unlimited) root_id: string; // ID of the root compose device root: ComposeDeviceConfig; // the root device tree mem_setup: [MemSetup]; // firmware / memory init instructions } // Legacy: flat system configuration for standalone config files. table SystemConfig { devices: [DeviceEntry]; clock: ClockConfig; projections: [Projection]; intercepts: [Intercept]; mem_setup: [MemSetup]; } root_type EmulationConfig;