17 lines
500 B
Plaintext
17 lines
500 B
Plaintext
namespace hmmmm.config;
|
|
|
|
// Global emulator clock constraints.
|
|
table ClockConfig {
|
|
// Maximum emulated ticks per real second.
|
|
// 0 = unlimited (run as fast as possible).
|
|
limiter: uint64;
|
|
}
|
|
|
|
// Clock source and frequency relationship for one device.
|
|
// Devices form a clock tree: each node derives its frequency from its src.
|
|
table DeviceClockConfig {
|
|
src: string; // id of the parent device; empty = root clock
|
|
divider: uint32 = 1;
|
|
multiplier: uint32 = 1;
|
|
}
|