Juniper / open-register-design-tool

Tool to generate register RTL, models, and docs using SystemRDL or JSpec input
Apache License 2.0
195 stars 69 forks source link

RDL UDP in top-level component is silently dropped in XML output #47

Closed amykyta3 closed 6 years ago

amykyta3 commented 6 years ago

Given the following RDL input:

property my_rdl_udp {
    type=boolean;
    component=addrmap | regfile;
};

addrmap my_top_addrmap {
    my_rdl_udp;
    reg {} a;
} top;

The entry for the user-defined property is missing from XML export. This seems to only occur if the property assignment occurs in the top-level component. The following XML I would expect is missing:

<user_properties>
  <my_rdl_udp>true</my_rdl_udp>
</user_properties>
sdnellen commented 6 years ago

fix committed in 180430.01. will be picked up in next rls.

amykyta3 commented 6 years ago

Confirmed fix in pre-release 180502.01