Skip to content

SystemRDL Output

Scott Nellenbach edited this page Jul 14, 2016 · 5 revisions

Ordt will generate SystemRDL output from a jspec input file. The generated rdl is limited to the subset of features/properties available in jspec/rdl source and is intended to assist in translation of existing jspec to rdl. The rdl output is "unrolled", ie no component definitions or dynamic property assigns are generated. Rather, output is a set of nested instances.

Several ordt parameters can be specified to control rdl output. These include:

root_component_is_instanced (type=boolean, default=true): if false, the root rdl component will be output as a component definition rather than an instance.

output_jspec_attributes (type=boolean, default=false): if true, jspec-specified attributes will be output as rdl js_attributes properties. This allows jspec attributes to be retained in a js->rdl->js conversion.

no_root_enum_defs (type=boolean, default=false): if true, enum components defined at root level will not be included in rdl output.

Clone this wiki locally