flatbuffer base
This commit is contained in:
16
flatbuffers/config/clock.fbs
Normal file
16
flatbuffers/config/clock.fbs
Normal file
@@ -0,0 +1,16 @@
|
||||
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;
|
||||
}
|
||||
Reference in New Issue
Block a user