configuration-structure
configuration-structure copied to clipboard
Questions or clarifications on configuration structure yaml and schema
Hi,
There are a few questions/issues formulating the configuration structure yaml.
-
The schema has a TODO against trace actions 2-4. The intention is to use traceOnSupported, traceOffSupported, traceNotifySupported. Can you let us know if this is alright?
-
The schema has icount, itrigger, etrigger and mcontrol6 to be optional. Not mentioning any of these would mean its not supported?
-
haltGroupCount and resumeGroupCount support values of integer 1 to 31 in the schema. Absence of halt group and resume group would need them to be 0. Is it a schema issue?
-
How do we imply that the Quick Access Command is not supported in the yaml? I see in the schema that QuickAccessCommand ::= SEQUENCE { supported = NULL, …}
-
If the dscratch registers are not implemented, the hartinfo will have nscratch to be 0 and dataaccess in yaml to be none: NULL. Does that sound right?
Thanks in advance for your help.
Regards, Swaraj
configuration-structure is not yet ratified, and might see dramatic changes before that happens. I would caution against implementing it already, but feedback is still appreciated.
- You can't add your own guesses to the schema that you yourself use. Unless you happen to guess exactly what will be in the future spec, it will be incompatible. Having said that, your suggestion makes sense, and if you make a PR for the change I'll probably merge it.
- Yes. In general for the schema, things that aren't mentioned are not supported.
- These values are optional, so when they're not supported then they are omitted from the description.
- quickAccessCommand is an optional sequence, so you can omit it altogether.
- Yes, that sounds right.